Cleanup (better names for updater test classes)

This commit is contained in:
Roman Shevchenko
2017-03-13 09:36:06 +01:00
parent 0d78517856
commit b8414142a3
4 changed files with 5 additions and 5 deletions
@@ -15,10 +15,10 @@
*/
package com.intellij.updater;
public class PatchFileCreatorBinaryTest extends PatchFileCreatorTest {
public class BinaryPatchApplyingRevertingTest extends PatchApplyingRevertingTest {
@Override
public void setUp() throws Exception {
super.setUp();
myPatchSpec.setBinary(true);
}
}
}
@@ -32,7 +32,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.*;
import static org.junit.Assume.assumeTrue;
public abstract class PatchFileCreatorTest extends PatchTestCase {
public abstract class PatchApplyingRevertingTest extends PatchTestCase {
private File myFile;
protected PatchSpec myPatchSpec;
@@ -31,7 +31,7 @@ import java.util.Map;
import static org.assertj.core.api.Assertions.assertThat;
public class PatchTest extends PatchTestCase {
public class PatchCreationTest extends PatchTestCase {
@Test
public void testDigestFiles() throws Exception {
Patch patch = createPatch();
@@ -24,7 +24,7 @@ import java.io.IOException;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
public class PatchFileCreatorNotBinaryTest extends PatchFileCreatorTest {
public class ZipAwarePatchApplyingRevertingTest extends PatchApplyingRevertingTest {
@Test
public void failOnEmptyTargetJar() throws Exception {
File sourceJar = new File(myOlderDir, "lib/empty.jar");