mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
More detailed logging in test
This commit is contained in:
@@ -77,10 +77,10 @@ public class FieldPropertyTest extends IncrementalTestCase {
|
||||
}
|
||||
|
||||
public void testNonIncremental1() throws Exception {
|
||||
doTest();
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testNonIncremental2() throws Exception {
|
||||
doTest();
|
||||
doTest();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,6 @@ import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.util.SystemInfo;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
import junit.framework.TestCase;
|
||||
import junitx.framework.FileAssert;
|
||||
import org.apache.log4j.Level;
|
||||
import org.apache.log4j.PropertyConfigurator;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
@@ -342,7 +341,9 @@ public abstract class IncrementalTestCase extends TestCase {
|
||||
new AllProjectScope(project, Collections.<Artifact>emptySet(), false), true, false
|
||||
);
|
||||
|
||||
FileAssert.assertEquals(new File(getBaseDir() + ".log"), new File(getWorkDir() + ".log"));
|
||||
final String expected = FileUtil.loadFile(new File(getBaseDir() + ".log"));
|
||||
final String actual = FileUtil.loadFile(new File(getWorkDir() + ".log"));
|
||||
assertEquals(expected, actual);
|
||||
}
|
||||
finally {
|
||||
projectDescriptor.release();
|
||||
|
||||
Reference in New Issue
Block a user