Minor refactoring in tests

This commit is contained in:
Natalia.Ukhorskaya
2012-12-25 12:29:22 +04:00
parent f0d52e63b2
commit d4a8ed5ae6
@@ -23,8 +23,6 @@ import java.io.IOException;
public abstract class AbstractCodegenTest extends CodegenTestCase { public abstract class AbstractCodegenTest extends CodegenTestCase {
private static final String REDUNDANT_PATH_PREFIX = "compiler/testData/codegen";
@Override @Override
public void setUp() throws Exception { public void setUp() throws Exception {
super.setUp(); super.setUp();
@@ -32,7 +30,6 @@ public abstract class AbstractCodegenTest extends CodegenTestCase {
} }
protected void doTest(String path) throws IOException { protected void doTest(String path) throws IOException {
String relativePath = path.substring(REDUNDANT_PATH_PREFIX.length()); blackBoxFileByFullPath(path);
blackBoxFile(relativePath);
} }
} }