Skip to content

Commit f74c6e1

Browse files
committed
tests: "if (notYetImplemented()) return" for the failing tests
1 parent b7c83d2 commit f74c6e1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/org.eclipse.dltk.javascript.core.tests/src/org/eclipse/dltk/javascript/core/tests/validation/TypeInfoValidationTests.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
import org.eclipse.dltk.compiler.problem.IProblem;
2222
import org.eclipse.dltk.core.builder.IBuildParticipant;
23-
import org.eclipse.dltk.core.tests.Skip;
2423
import org.eclipse.dltk.core.tests.TestSupport;
2524
import org.eclipse.dltk.core.tests.util.StringList;
2625
import org.eclipse.dltk.internal.javascript.validation.ValidationMessages;
@@ -2557,8 +2556,10 @@ public void testThisAnnotationValid() {
25572556
final List<IProblem> problems = validate(code.toString());
25582557
assertEquals(problems.toString(), 0, problems.size());
25592558
}
2560-
2559+
25612560
public void testJavaScriptDynamicArrayAcces() {
2561+
if (notYetImplemented())
2562+
return;
25622563
final StringList code = new StringList();
25632564
code.add("var x = new Array();");
25642565
code.add("x['test']();");
@@ -2567,8 +2568,10 @@ public void testJavaScriptDynamicArrayAcces() {
25672568
final List<IProblem> problems = validate(code.toString());
25682569
assertEquals(problems.toString(), 0, problems.size());
25692570
}
2570-
2571+
25712572
public void testJavaObjectDynamicArrayAcces() {
2573+
if (notYetImplemented())
2574+
return;
25722575
final StringList code = new StringList();
25732576
code.add("exampleForms['test']();");
25742577
final List<IProblem> problems = validate(code.toString());

0 commit comments

Comments
 (0)