summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Rennie2013-08-21 10:49:09 (EDT)
committer Mike Rennie2013-08-21 10:49:09 (EDT)
commitcecf4753174784bcde2b1c490733cd7e77202b9e (patch)
tree43cd4e64d95d4abebb567078e184318f0fae6076
parent544164355471771a7310be8d28781203feb13fd1 (diff)
downloadeclipse.pde.ui-cecf4753174784bcde2b1c490733cd7e77202b9e.zip
eclipse.pde.ui-cecf4753174784bcde2b1c490733cd7e77202b9e.tar.gz
eclipse.pde.ui-cecf4753174784bcde2b1c490733cd7e77202b9e.tar.bz2
Bug 409428 - Consistently handle implicitly public members - test source
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/builder/tests/tags/InvalidAnnotationTagTests.java6
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test15.java1
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test16.java1
-rw-r--r--apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test17.java1
4 files changed, 4 insertions, 5 deletions
diff --git a/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/builder/tests/tags/InvalidAnnotationTagTests.java b/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/builder/tests/tags/InvalidAnnotationTagTests.java
index 5451afc..c44aa48 100644
--- a/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/builder/tests/tags/InvalidAnnotationTagTests.java
+++ b/apitools/org.eclipse.pde.api.tools.tests/src/org/eclipse/pde/api/tools/builder/tests/tags/InvalidAnnotationTagTests.java
@@ -318,9 +318,10 @@ public class InvalidAnnotationTagTests extends TagTest {
* Tests for an invalid @noreference tag on a non-visible member annotation
*/
private void x15(boolean inc) {
- setExpectedProblemIds(getDefaultProblemSet(1));
+ setExpectedProblemIds(getDefaultProblemSet(2));
setExpectedMessageArgs(new String[][] {
{"@noreference", BuilderMessages.TagValidator_annotation_not_visible},
+ {"@noreference", BuilderMessages.TagValidator_annotation_not_visible}
});
String typename = "test15.java";
deployTagTest(typename, inc, true);
@@ -358,9 +359,10 @@ public class InvalidAnnotationTagTests extends TagTest {
* Tests for an invalid @noreference tag on a non-visible member annotation
*/
private void x17(boolean inc) {
- setExpectedProblemIds(getDefaultProblemSet(1));
+ setExpectedProblemIds(getDefaultProblemSet(2));
setExpectedMessageArgs(new String[][] {
{"@noreference", BuilderMessages.TagValidator_annotation_not_visible},
+ {"@noreference", BuilderMessages.TagValidator_annotation_not_visible}
});
String typename = "test17.java";
deployTagTest(typename, inc, true);
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test15.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test15.java
index 9109a72..d55792f 100644
--- a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test15.java
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test15.java
@@ -8,7 +8,6 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
-package a.b.c;
/**
*
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test16.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test16.java
index e1453fc..f626b3a 100644
--- a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test16.java
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test16.java
@@ -8,7 +8,6 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
-package a.b.c;
/**
*
diff --git a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test17.java b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test17.java
index 813c707..811526d 100644
--- a/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test17.java
+++ b/apitools/org.eclipse.pde.api.tools.tests/test-builder/tags/annotation/test17.java
@@ -8,7 +8,6 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
-package a.b.c;
/**
*