From fd96e9b9c03852aab3dadc3aa1754abebd5fbc9e Mon Sep 17 00:00:00 2001 From: "Pavel V. Talanov" Date: Thu, 19 Jul 2012 18:41:42 +0400 Subject: [PATCH] StdLibIteratorsTest: some tests passing. Also more test passing in StdLibListTest. --- .../test/semantics/StdLibIteratorsTest.java | 33 +++++++++++++++++++ .../k2js/test/semantics/StdLibListTest.java | 4 +-- 2 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibIteratorsTest.java diff --git a/js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibIteratorsTest.java b/js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibIteratorsTest.java new file mode 100644 index 00000000000..df4c6b4ed1f --- /dev/null +++ b/js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibIteratorsTest.java @@ -0,0 +1,33 @@ +/* + * Copyright 2010-2012 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.jetbrains.k2js.test.semantics; + +import junit.framework.Test; + +/** + * @author Pavel Talanov + */ +//NOTE: well, it has tests +@SuppressWarnings("JUnitTestCaseWithNoTests") +public final class StdLibIteratorsTest extends JsUnitTestBase { + public static Test suite() throws Exception { + return createTestSuiteForFile("libraries/stdlib/test/iterators/IteratorsTest.kt", + "IteratorsTest.requireNoNulls", + "IteratorsTest.plus", + "IteratorsTest.plusCollection"); + } +} diff --git a/js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibListTest.java b/js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibListTest.java index 8ff754e2c9d..b028dce8cf1 100644 --- a/js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibListTest.java +++ b/js/js.tests/test/org/jetbrains/k2js/test/semantics/StdLibListTest.java @@ -25,8 +25,6 @@ import junit.framework.Test; @SuppressWarnings("JUnitTestCaseWithNoTests") public final class StdLibListTest extends JsUnitTestBase { public static Test suite() throws Exception { - return createTestSuiteForFile("libraries/stdlib/test/ListTest.kt", - "ListTest.withIndices", - "ListTest.tail"); + return createTestSuiteForFile("libraries/stdlib/test/ListTest.kt"); } }