// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root.

package com.microsoft.alm.plugin.idea;

import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase;
import com.microsoft.alm.plugin.AbstractTest;
import com.microsoft.alm.plugin.events.ServerPollingManager;

public abstract class IdeaLightweightTest extends LightPlatformCodeInsightFixtureTestCase {
    @Override
    protected void setUp() throws Exception {
        super.setUp();
        AbstractTest.setup();
    }

    @Override
    protected void tearDown() throws Exception {
        ServerPollingManager.getInstance().stopPolling();
        AbstractTest.cleanup();
        super.tearDown();
    }
}

@@ -198,29 +198,28 @@
 ixtures.
-Light
+Base
 Platform
 CodeInsi
@@ -210,34 +210,16 @@
 Platform
-CodeInsightFixture
 TestCase
@@ -382,21 +382,20 @@
 nds 
-Light
+Base
 Platform
 Code
@@ -394,26 +394,8 @@
 form
-CodeInsightFixture
 Test

fix a deprecation warning