Tests: use JsTestUtils#successOnEcma5 instead of EnumSet#of.

Uncomment test which succeded on ecma5.
This commit is contained in:
Pavel V. Talanov
2012-08-13 16:08:33 +04:00
parent de3ebf9baa
commit 235aed0131
@@ -22,7 +22,6 @@ import org.jetbrains.k2js.config.EcmaVersion;
import org.jetbrains.k2js.test.SingleFileTranslationTest;
import org.jetbrains.k2js.test.utils.JsTestUtils;
import java.util.EnumSet;
import java.util.List;
/**
@@ -81,7 +80,7 @@ public final class PropertyAccessTest extends SingleFileTranslationTest {
}
public void testInitInstanceProperties() throws Exception {
fooBoxTest(EnumSet.of(EcmaVersion.v5));
fooBoxTest(JsTestUtils.successOnEcmaV5());
}
public void testEnumerable() throws Exception {
@@ -89,8 +88,7 @@ public final class PropertyAccessTest extends SingleFileTranslationTest {
}
public void testOverloadedOverriddenFunctionPropertyName() throws Exception {
//fooBoxTest(JsTestUtils.successOnEcmaV5());
//fooBoxTest();
fooBoxTest(JsTestUtils.successOnEcmaV5());
}
@Override