Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2011-05-10 23:29:32 +0000
committerStephan Herrmann2011-05-10 23:29:32 +0000
commita9c0cd7d2d12e99104bcb830a54cdd2543faaf8e (patch)
treef93e4346c36c3516ee4c445a03d23e646293ada2 /org.eclipse.jdt.core.tests.compiler
parent228bb917278e2c5cbca8eb5c3fe340fe3286ae13 (diff)
downloadorg.eclipse.objectteams-a9c0cd7d2d12e99104bcb830a54cdd2543faaf8e.tar.gz
org.eclipse.objectteams-a9c0cd7d2d12e99104bcb830a54cdd2543faaf8e.tar.xz
org.eclipse.objectteams-a9c0cd7d2d12e99104bcb830a54cdd2543faaf8e.zip
Experiment for Bug 337413 - [otjld][compiler] consider changing LiftingFailedException to a checked exception.
Diffstat (limited to 'org.eclipse.jdt.core.tests.compiler')
-rw-r--r--org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/CompilerInvocationTests.java3
1 files changed, 3 insertions, 0 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 30aa80c57..dbb6ed743 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
@@ -888,6 +888,8 @@ public void _test011_problem_categories() {
expectedProblemAttributes.put("NonPublicFieldOfExternalizedRole", new ProblemAttributes(CategorizedProblem.CAT_TYPE));
expectedProblemAttributes.put("ExternalizedCallToNonPublicMethod", new ProblemAttributes(CategorizedProblem.CAT_TYPE));
+ expectedProblemAttributes.put("AmbiguousLiftingMayBreakClients", new ProblemAttributes(CategorizedProblem.CAT_CODE_STYLE));
+
expectedProblemAttributes.put("BaseCallOutsideMethod", new ProblemAttributes(CategorizedProblem.CAT_TYPE));
// general method binding related issues:
expectedProblemAttributes.put("CalloutMappingInNonRole", new ProblemAttributes(CategorizedProblem.CAT_MEMBER));
@@ -1711,6 +1713,7 @@ public void test012_compiler_problems_tuning() {
expectedProblemAttributes.put("GenericMethodTypeArgumentMismatchRoleBound", SKIP);
expectedProblemAttributes.put("RoleBindingPotentiallyAmbiguous", SKIP);
expectedProblemAttributes.put("DefiniteLiftingAmbiguity", SKIP);
+ expectedProblemAttributes.put("AmbiguousLiftingMayBreakClients", SKIP);
expectedProblemAttributes.put("QualifiedUseOfLiftingConstructor", SKIP);
expectedProblemAttributes.put("LiftCtorArgNotAllocation", SKIP);
expectedProblemAttributes.put("BaseCtorInWrongMethod", SKIP);

Back to the top