@@ -0,0 +1,2221 @@
+/*%0A * Copyright 2019 The Bazel Authors. All rights reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *    http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.google.idea.testing;%0A%0Aimport com.intellij.testFramework.fixtures.CodeInsightTestFixture;%0Aimport com.intellij.testFramework.fixtures.IdeaProjectTestFixture;%0Aimport com.intellij.testFramework.fixtures.IdeaTestFixtureFactory;%0Aimport com.intellij.testFramework.fixtures.TestFixtureBuilder;%0Aimport com.intellij.testFramework.fixtures.impl.LightTempDirTestFixtureImpl;%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Rule;%0A%0A/** Base test class for integration tests. */%0Apublic abstract class AbstractIntegrationTestCase %7B%0A%0A  @Rule public final IntellijTestSetupRule intellijTestSetupRule = new IntellijTestSetupRule();%0A  @Rule public final EdtRule edtRule = new EdtRule();%0A%0A  protected CodeInsightTestFixture testFixture;%0A%0A  @Before%0A  public void setUp() throws Exception %7B%0A    IdeaTestFixtureFactory testFixtureFactory = IdeaTestFixtureFactory.getFixtureFactory();%0A    TestFixtureBuilder%3CIdeaProjectTestFixture%3E testFixtureBuilder =%0A        testFixtureFactory.createLightFixtureBuilder();%0A    testFixture =%0A        testFixtureFactory.createCodeInsightFixture(%0A            testFixtureBuilder.getFixture(), new LightTempDirTestFixtureImpl(true));%0A    testFixture.setUp();%0A%0A    verifyRequiredPluginsEnabled();%0A  %7D%0A%0A  @After%0A  public void tearDown() throws Exception %7B%0A    testFixture.tearDown();%0A    testFixture = null;%0A  %7D%0A%0A  private static void verifyRequiredPluginsEnabled() %7B%0A    String requiredPlugins = System.getProperty(%22idea.required.plugins.id%22);%0A    if (requiredPlugins != null) %7B%0A      VerifyRequiredPluginsEnabled.runCheck(requiredPlugins.split(%22,%22));%0A    %7D%0A  %7D%0A%7D%0A

Move AbstractIntegrationTestCase to com.google.idea.testing.