From 209f81d4cfb2982e1a71eefd22d5ca1b324e5db4 Mon Sep 17 00:00:00 2001 From: nik Date: Thu, 7 May 2015 14:19:17 +0200 Subject: [PATCH] SplitterTest's superclass changed to ensure that Application is initialized (it's required for ProgressManager.checkCanceled called inside the tests) --- .../com/intellij/spellchecker/inspector/SplitterTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/spellchecker/testSrc/com/intellij/spellchecker/inspector/SplitterTest.java b/spellchecker/testSrc/com/intellij/spellchecker/inspector/SplitterTest.java index c9d2d2e7f990..3562a59e2a8f 100644 --- a/spellchecker/testSrc/com/intellij/spellchecker/inspector/SplitterTest.java +++ b/spellchecker/testSrc/com/intellij/spellchecker/inspector/SplitterTest.java @@ -18,9 +18,9 @@ package com.intellij.spellchecker.inspector; import com.intellij.openapi.util.TextRange; import com.intellij.openapi.vfs.CharsetToolkit; import com.intellij.spellchecker.inspections.*; +import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase; import com.intellij.util.Consumer; import junit.framework.Assert; -import junit.framework.TestCase; import org.jetbrains.annotations.NotNull; import java.io.BufferedReader; @@ -32,9 +32,7 @@ import java.util.Arrays; import java.util.List; -public class SplitterTest extends TestCase { - - +public class SplitterTest extends LightPlatformCodeInsightFixtureTestCase { public void testSplitSimpleCamelCase() { String text = "simpleCamelCase"; correctListToCheck(IdentifierSplitter.getInstance(), text, "simple", "Camel", "Case");