Skip to content

Commit 141cb77

Browse files
authored
fix: sync junit 6 status to ui (#1821)
1 parent a4f782c commit 141cb77

File tree

1 file changed

+1
-1
lines changed
  • java-extension/com.microsoft.java.test.plugin/src/main/java/com/microsoft/java/test/plugin/util

1 file changed

+1
-1
lines changed

java-extension/com.microsoft.java.test.plugin/src/main/java/com/microsoft/java/test/plugin/util/TestItemUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static String parseFullName(IJavaElement element, TestLevel level, TestKi
4747
return type.getFullyQualifiedName();
4848
case METHOD:
4949
final IMethod method = (IMethod) element;
50-
if (kind == TestKind.JUnit5 || kind == TestKind.TestNG) {
50+
if (kind == TestKind.JUnit5 || kind == TestKind.JUnit6 || kind == TestKind.TestNG) {
5151
final String className = method.getDeclaringType().getFullyQualifiedName();
5252
// Generics don't come through in the test results, so we need to strip
5353
// them out now.

0 commit comments

Comments
 (0)