From e358e4c34dfd9b1cb2e4e0cba7eb12fec833523c Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Tue, 21 Mar 2017 13:17:35 +0300 Subject: [PATCH 1/2] diff: UsefulTestCase -> TestCase --- .../diff/tools/fragmented/LineNumberConvertorCorrectorTest.kt | 4 ++-- .../intellij/diff/tools/fragmented/LineNumberConvertorTest.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/diff-impl/tests/com/intellij/diff/tools/fragmented/LineNumberConvertorCorrectorTest.kt b/platform/diff-impl/tests/com/intellij/diff/tools/fragmented/LineNumberConvertorCorrectorTest.kt index 198359ef3ddc..7c2497ecc6aa 100644 --- a/platform/diff-impl/tests/com/intellij/diff/tools/fragmented/LineNumberConvertorCorrectorTest.kt +++ b/platform/diff-impl/tests/com/intellij/diff/tools/fragmented/LineNumberConvertorCorrectorTest.kt @@ -16,9 +16,9 @@ package com.intellij.diff.tools.fragmented import com.intellij.diff.util.Side -import com.intellij.testFramework.UsefulTestCase +import junit.framework.TestCase -class LineNumberConvertorCorrectorTest : UsefulTestCase() { +class LineNumberConvertorCorrectorTest : TestCase() { fun testUnmodified() { doTest( { diff --git a/platform/diff-impl/tests/com/intellij/diff/tools/fragmented/LineNumberConvertorTest.kt b/platform/diff-impl/tests/com/intellij/diff/tools/fragmented/LineNumberConvertorTest.kt index f8562b3cd75c..1382ac3ce571 100644 --- a/platform/diff-impl/tests/com/intellij/diff/tools/fragmented/LineNumberConvertorTest.kt +++ b/platform/diff-impl/tests/com/intellij/diff/tools/fragmented/LineNumberConvertorTest.kt @@ -15,9 +15,9 @@ */ package com.intellij.diff.tools.fragmented -import com.intellij.testFramework.UsefulTestCase +import junit.framework.TestCase -class LineNumberConvertorTest : UsefulTestCase() { +class LineNumberConvertorTest : TestCase() { fun testEmpty() { doTest( { From 86f8de8a5ba69aed8bd7877201869b23b6035a4f Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Tue, 21 Mar 2017 13:17:45 +0300 Subject: [PATCH 2/2] github: UsefulTestCase -> TestCase --- .../test/org/jetbrains/plugins/github/GithubUrlUtilTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/github/test/org/jetbrains/plugins/github/GithubUrlUtilTest.java b/plugins/github/test/org/jetbrains/plugins/github/GithubUrlUtilTest.java index f83e28dee49f..9c817f07b325 100644 --- a/plugins/github/test/org/jetbrains/plugins/github/GithubUrlUtilTest.java +++ b/plugins/github/test/org/jetbrains/plugins/github/GithubUrlUtilTest.java @@ -16,8 +16,8 @@ package org.jetbrains.plugins.github; import com.intellij.openapi.util.Pair; -import com.intellij.testFramework.UsefulTestCase; import com.intellij.util.containers.Convertor; +import junit.framework.TestCase; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.jetbrains.plugins.github.api.GithubFullPath; @@ -30,7 +30,7 @@ import static org.jetbrains.plugins.github.util.GithubUrlUtil.*; /** * @author Aleksey Pivovarov */ -public class GithubUrlUtilTest extends UsefulTestCase { +public class GithubUrlUtilTest extends TestCase { private static class TestCase { @NotNull final public List> tests = new ArrayList<>();