From 927b94a6e05277d6f2e5ce5aa97dcc2fb2c3dbca Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Fri, 11 Jan 2019 15:09:36 +0300 Subject: [PATCH] Regenerate FIR test --- .../idea/fir/FirMultiModuleResolveTestGenerated.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/idea/tests/org/jetbrains/kotlin/idea/fir/FirMultiModuleResolveTestGenerated.java b/idea/tests/org/jetbrains/kotlin/idea/fir/FirMultiModuleResolveTestGenerated.java index 0caa5153b63..8a77615500a 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/fir/FirMultiModuleResolveTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/idea/fir/FirMultiModuleResolveTestGenerated.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ @@ -21,13 +21,16 @@ import java.util.regex.Pattern; @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public class FirMultiModuleResolveTestGenerated extends AbstractFirMultiModuleResolveTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath); + } + public void testAllFilesPresentInMultiModule() throws Exception { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/fir/multiModule"), Pattern.compile("^([^\\.]+)$"), TargetBackend.ANY, false); } @TestMetadata("basic") public void testBasic() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("idea/testData/fir/multiModule/basic/"); - doTest(fileName); + runTest("idea/testData/fir/multiModule/basic/"); } }