Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2007-03-14 17:28:47 +0000
committeratikhomirov2007-03-14 17:28:47 +0000
commit8dd9f2616af0745bfc93cec16442007bc9bcf980 (patch)
tree0e234e35c5e7aba5085a4254b6038073f78b75b7
parent0d29769c35a8b5809577e5e0e5fa4055b9202467 (diff)
downloadorg.eclipse.gmf-tooling-8dd9f2616af0745bfc93cec16442007bc9bcf980.tar.gz
org.eclipse.gmf-tooling-8dd9f2616af0745bfc93cec16442007bc9bcf980.tar.xz
org.eclipse.gmf-tooling-8dd9f2616af0745bfc93cec16442007bc9bcf980.zip
forgot to increment variable with that new for loop
-rw-r--r--tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/gen/AuditHandcodedTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/gen/AuditHandcodedTest.java b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/gen/AuditHandcodedTest.java
index 6b16070a9..756289fa2 100644
--- a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/gen/AuditHandcodedTest.java
+++ b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/gen/AuditHandcodedTest.java
@@ -110,6 +110,7 @@ public class AuditHandcodedTest extends ConfiguredTestCase {
String ctxID = audit.getTarget().getClientContextID();
s = JavaConventions.validateIdentifier(ctxID, javaLevel, javaLevel);
assertTrue("Context ID must be a valid java identifier", s.getSeverity() != IStatus.ERROR); //$NON-NLS-1$
+ i++;
}
assertTargetedModels(targets);
@@ -119,6 +120,7 @@ public class AuditHandcodedTest extends ConfiguredTestCase {
int i = 1;
for (GenAuditRule nextAudit : root.getRules()) {
assertEquals("Adapter" + i, nextAudit.getConstraintAdapterLocalClassName()); //$NON-NLS-1$
+ i++;
}
}

Back to the top