From a3e7ce5e0af6511dc7e56d8d4edcea0bf7ece09f Mon Sep 17 00:00:00 2001 From: Carsten Hammer Date: Sun, 24 Mar 2024 20:20:01 +0100 Subject: [PATCH] fix branch --- .../ui/tests/quickfix/Java9CleanUpTest.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sandbox_platform_helper_test/src/org/sandbox/jdt/ui/tests/quickfix/Java9CleanUpTest.java b/sandbox_platform_helper_test/src/org/sandbox/jdt/ui/tests/quickfix/Java9CleanUpTest.java index 421b8d66..3fd2a514 100644 --- a/sandbox_platform_helper_test/src/org/sandbox/jdt/ui/tests/quickfix/Java9CleanUpTest.java +++ b/sandbox_platform_helper_test/src/org/sandbox/jdt/ui/tests/quickfix/Java9CleanUpTest.java @@ -88,7 +88,7 @@ public void testPlatformStatusParametrized(PlatformStatusPatterns test) throws C @ParameterizedTest @EnumSource(PlatformStatusPatternsDontTouch.class) public void testPlatformStatus_donttouch(PlatformStatusPatternsDontTouch test) throws CoreException { - 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 }); @@ -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 }); +// } }