diff options
author | Stephan Herrmann | 2021-09-21 18:31:09 +0000 |
---|---|---|
committer | Stephan Herrmann | 2021-09-21 18:31:09 +0000 |
commit | 73e26a671d47440633335a54f58db4705f0af5cd (patch) | |
tree | 768413d8f443f7423930dbe7d9e28939cd1d0223 /org.eclipse.jdt.core.tests.compiler/src/org/eclipse | |
parent | 50324433524e352422acd72ec81067d3b58214d7 (diff) | |
download | org.eclipse.objectteams-73e26a671d47440633335a54f58db4705f0af5cd.tar.gz org.eclipse.objectteams-73e26a671d47440633335a54f58db4705f0af5cd.tar.xz org.eclipse.objectteams-73e26a671d47440633335a54f58db4705f0af5cd.zip |
Update jdt.core to Y20210914-0800 (before removal of beta disclaimer)
Diffstat (limited to 'org.eclipse.jdt.core.tests.compiler/src/org/eclipse')
-rw-r--r-- | org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/CompilerInvocationTests.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/CompilerInvocationTests.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/CompilerInvocationTests.java index a657031b6..43d219122 100644 --- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/CompilerInvocationTests.java +++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/CompilerInvocationTests.java @@ -1387,14 +1387,14 @@ public void _test011_problem_categories() { expectedProblemAttributes.put("SealedSuperTypeDisallowed", new ProblemAttributes(CategorizedProblem.CAT_PREVIEW_RELATED)); expectedProblemAttributes.put("SafeVarargsOnSyntheticRecordAccessor", new ProblemAttributes(true)); expectedProblemAttributes.put("DiscouragedValueBasedTypeSynchronization", new ProblemAttributes(true)); - expectedProblemAttributes.put("SwitchPatternConstantWithPatternIncompatible", new ProblemAttributes(true)); + expectedProblemAttributes.put("ConstantWithPatternIncompatible", new ProblemAttributes(true)); expectedProblemAttributes.put("IllegalFallthroughToPattern", new ProblemAttributes(true)); - expectedProblemAttributes.put("SwitchPatternOnlyOnePatternCaseLabelAllowed", new ProblemAttributes(true)); - expectedProblemAttributes.put("SwitchPatternBothPatternAndDefaultCaseLabelsNotAllowed", new ProblemAttributes(true)); - expectedProblemAttributes.put("SwitchPatternBothNullAndNonTypePatternNotAllowed", new ProblemAttributes(true)); + expectedProblemAttributes.put("OnlyOnePatternCaseLabelAllowed", new ProblemAttributes(true)); + expectedProblemAttributes.put("CannotMixPatternAndDefault", new ProblemAttributes(true)); + expectedProblemAttributes.put("CannotMixNullAndNonTypePattern", new ProblemAttributes(true)); expectedProblemAttributes.put("PatternDominated", new ProblemAttributes(true)); expectedProblemAttributes.put("IllegalTotalPatternWithDefault", new ProblemAttributes(true)); - expectedProblemAttributes.put("EnhancedSwitchMissingDefaultCase", new ProblemAttributes(true)); + expectedProblemAttributes.put("EnhancedSwitchMissingDefault", new ProblemAttributes(true)); expectedProblemAttributes.put("DuplicateTotalPattern", new ProblemAttributes(true)); expectedProblemAttributes.put("UnexpectedTypeinSwitchPattern", new ProblemAttributes(true)); @@ -3085,14 +3085,14 @@ public void test012_compiler_problems_tuning() { expectedProblemAttributes.put("LocalReferencedInGuardMustBeEffectivelyFinal", SKIP); expectedProblemAttributes.put("SafeVarargsOnSyntheticRecordAccessor", SKIP); expectedProblemAttributes.put("DiscouragedValueBasedTypeSynchronization", SKIP); - expectedProblemAttributes.put("SwitchPatternConstantWithPatternIncompatible", SKIP); + expectedProblemAttributes.put("ConstantWithPatternIncompatible", SKIP); expectedProblemAttributes.put("IllegalFallthroughToPattern", SKIP); - expectedProblemAttributes.put("SwitchPatternOnlyOnePatternCaseLabelAllowed", SKIP); - expectedProblemAttributes.put("SwitchPatternBothPatternAndDefaultCaseLabelsNotAllowed", SKIP); - expectedProblemAttributes.put("SwitchPatternBothNullAndNonTypePatternNotAllowed", SKIP); + expectedProblemAttributes.put("OnlyOnePatternCaseLabelAllowed", SKIP); + expectedProblemAttributes.put("CannotMixPatternAndDefault", SKIP); + expectedProblemAttributes.put("CannotMixNullAndNonTypePattern", SKIP); expectedProblemAttributes.put("PatternDominated", SKIP); expectedProblemAttributes.put("IllegalTotalPatternWithDefault", SKIP); - expectedProblemAttributes.put("EnhancedSwitchMissingDefaultCase", SKIP); + expectedProblemAttributes.put("EnhancedSwitchMissingDefault", SKIP); expectedProblemAttributes.put("DuplicateTotalPattern", SKIP); expectedProblemAttributes.put("UnexpectedTypeinSwitchPattern", SKIP); |