98 lines
3.5 KiB
Java
98 lines
3.5 KiB
Java
/*
|
|
* Copyright 2010-2014 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.jet.completion;
|
|
|
|
import junit.framework.Test;
|
|
import junit.framework.TestSuite;
|
|
import org.jetbrains.jet.JetTestUtils;
|
|
import org.jetbrains.jet.test.InnerTestClasses;
|
|
import org.jetbrains.jet.test.TestMetadata;
|
|
|
|
import java.io.File;
|
|
import java.util.regex.Pattern;
|
|
|
|
/** This class is generated by {@link org.jetbrains.jet.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
|
|
@SuppressWarnings("all")
|
|
@TestMetadata("idea/testData/completion/injava")
|
|
@InnerTestClasses({})
|
|
public class KotlinSourceInJavaCompletionTestGenerated extends AbstractKotlinSourceInJavaCompletionTest {
|
|
public void testAllFilesPresentInInjava() throws Exception {
|
|
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/completion/injava"), Pattern.compile("^(.+)\\.java$"), true);
|
|
}
|
|
|
|
@TestMetadata("Class.java")
|
|
public void testClass() throws Exception {
|
|
doTest("idea/testData/completion/injava/Class.java");
|
|
}
|
|
|
|
@TestMetadata("ClassMembers.java")
|
|
public void testClassMembers() throws Exception {
|
|
doTest("idea/testData/completion/injava/ClassMembers.java");
|
|
}
|
|
|
|
@TestMetadata("ClassObject.java")
|
|
public void testClassObject() throws Exception {
|
|
doTest("idea/testData/completion/injava/ClassObject.java");
|
|
}
|
|
|
|
@TestMetadata("ClassesFromNamespace.java")
|
|
public void testClassesFromNamespace() throws Exception {
|
|
doTest("idea/testData/completion/injava/ClassesFromNamespace.java");
|
|
}
|
|
|
|
@TestMetadata("EnumConstants.java")
|
|
public void testEnumConstants() throws Exception {
|
|
doTest("idea/testData/completion/injava/EnumConstants.java");
|
|
}
|
|
|
|
@TestMetadata("Nested.java")
|
|
public void testNested() throws Exception {
|
|
doTest("idea/testData/completion/injava/Nested.java");
|
|
}
|
|
|
|
@TestMetadata("NestedObjectInstance.java")
|
|
public void testNestedObjectInstance() throws Exception {
|
|
doTest("idea/testData/completion/injava/NestedObjectInstance.java");
|
|
}
|
|
|
|
@TestMetadata("ObjectInstance.java")
|
|
public void testObjectInstance() throws Exception {
|
|
doTest("idea/testData/completion/injava/ObjectInstance.java");
|
|
}
|
|
|
|
@TestMetadata("Subpackage.java")
|
|
public void testSubpackage() throws Exception {
|
|
doTest("idea/testData/completion/injava/Subpackage.java");
|
|
}
|
|
|
|
@TestMetadata("TopLevelMembers.java")
|
|
public void testTopLevelMembers() throws Exception {
|
|
doTest("idea/testData/completion/injava/TopLevelMembers.java");
|
|
}
|
|
|
|
@TestMetadata("TraitMember.java")
|
|
public void testTraitMember() throws Exception {
|
|
doTest("idea/testData/completion/injava/TraitMember.java");
|
|
}
|
|
|
|
public static Test suite() {
|
|
TestSuite suite = new TestSuite("KotlinSourceInJavaCompletionTestGenerated");
|
|
suite.addTestSuite(KotlinSourceInJavaCompletionTestGenerated.class);
|
|
return suite;
|
|
}
|
|
}
|