/* * Copyright 2010-2017 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.kotlin.search; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; import java.io.File; import java.util.regex.Pattern; /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */ @SuppressWarnings("all") @TestMetadata("idea/testData/search/annotations") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public class AnnotatedMembersSearchTestGenerated extends AbstractAnnotatedMembersSearchTest { public void testAllFilesPresentInAnnotations() throws Exception { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/search/annotations"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true); } @TestMetadata("annotationAliased.kt") public void testAnnotationAliased() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/search/annotations/annotationAliased.kt"); doTest(fileName); } @TestMetadata("testAmbiguousNestedNonAnnotationClass.kt") public void testTestAmbiguousNestedNonAnnotationClass() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/search/annotations/testAmbiguousNestedNonAnnotationClass.kt"); doTest(fileName); } @TestMetadata("testAmbiguousNestedPrivateAnnotationClass.kt") public void testTestAmbiguousNestedPrivateAnnotationClass() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/search/annotations/testAmbiguousNestedPrivateAnnotationClass.kt"); doTest(fileName); } @TestMetadata("testAnnotationsOnClass.kt") public void testTestAnnotationsOnClass() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/search/annotations/testAnnotationsOnClass.kt"); doTest(fileName); } @TestMetadata("testAnnotationsOnFunction.kt") public void testTestAnnotationsOnFunction() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/search/annotations/testAnnotationsOnFunction.kt"); doTest(fileName); } @TestMetadata("testAnnotationsWithParameters.kt") public void testTestAnnotationsWithParameters() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/search/annotations/testAnnotationsWithParameters.kt"); doTest(fileName); } @TestMetadata("testDefaultImport.kt") public void testTestDefaultImport() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/search/annotations/testDefaultImport.kt"); doTest(fileName); } @TestMetadata("testNestedClassAsAnnotation.kt") public void testTestNestedClassAsAnnotation() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/search/annotations/testNestedClassAsAnnotation.kt"); doTest(fileName); } @TestMetadata("testNestedPrivateAnnotationClass.kt") public void testTestNestedPrivateAnnotationClass() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/search/annotations/testNestedPrivateAnnotationClass.kt"); doTest(fileName); } @TestMetadata("testTypeAlias.kt") public void testTestTypeAlias() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/search/annotations/testTypeAlias.kt"); doTest(fileName); } }