mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (better names for updater test classes)
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -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;
|
||||
|
||||
+1
-1
@@ -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();
|
||||
+1
-1
@@ -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");
|
||||
Reference in New Issue
Block a user