Skip to content

Commit

Permalink
fix branch
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenartur committed Mar 24, 2024
1 parent 7346554 commit a3e7ce5
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void testPlatformStatusParametrized(PlatformStatusPatterns test) throws C
@ParameterizedTest
@EnumSource(PlatformStatusPatternsDontTouch.class)
public void testPlatformStatus_donttouch(PlatformStatusPatternsDontTouch test) throws CoreException {

Check warning

Code scanning / PMD

The JUnit 5 test method name 'testXMLCleanup_donttouch' doesn't match '[a-z][a-zA-Z0-9]*' Warning test

The JUnit 5 test method name 'testPlatformStatus_donttouch' doesn't match '[a-z][a-zA-Z0-9]*'

Check warning

Code scanning / Pmd (reported by Codacy)

The JUnit 5 test method name 'testPlatformStatus_donttouch' doesn't match '[a-z][a-zA-Z0-9]*' Warning test

The JUnit 5 test method name 'testPlatformStatus_donttouch' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice

Code scanning / Pmd (reported by Codacy)

JUnit tests should include assert() or fail() Note test

JUnit tests should include assert() or fail()
IPackageFragment pack= context.fSourceFolder.createPackageFragment("test1", false, null);
IPackageFragment pack= context.getfSourceFolder().createPackageFragment("test1", false, null);
ICompilationUnit cu= pack.createCompilationUnit("E1.java", test.given, false, null);
context.enable(MYCleanUpConstants.SIMPLIFY_STATUS_CLEANUP);
context.assertRefactoringHasNoChange(new ICompilationUnit[] { cu });
Expand Down Expand Up @@ -161,12 +161,12 @@ enum PlatformStatusPatternsDontTouch {
String given;
}

@ParameterizedTest
@EnumSource(PlatformStatusPatternsDontTouch.class)
public void testPlatformStatus_donttouch(PlatformStatusPatternsDontTouch test) throws CoreException {
IPackageFragment pack= context.getfSourceFolder().createPackageFragment("test1", false, null);
ICompilationUnit cu= pack.createCompilationUnit("E2.java", test.given, false, null);
context.enable(MYCleanUpConstants.SIMPLIFY_STATUS_CLEANUP);
context.assertRefactoringHasNoChange(new ICompilationUnit[] { cu });
}
// @ParameterizedTest
// @EnumSource(PlatformStatusPatternsDontTouch.class)
// public void testPlatformStatus_donttouch(PlatformStatusPatternsDontTouch test) throws CoreException {
// IPackageFragment pack= context.getfSourceFolder().createPackageFragment("test1", false, null);
// ICompilationUnit cu= pack.createCompilationUnit("E2.java", test.given, false, null);
// context.enable(MYCleanUpConstants.SIMPLIFY_STATUS_CLEANUP);
// context.assertRefactoringHasNoChange(new ICompilationUnit[] { cu });
// }
}

0 comments on commit a3e7ce5

Please sign in to comment.