mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
minor checks
This commit is contained in:
@@ -48,6 +48,8 @@ import java.io.OutputStream;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
import static junit.framework.Assert.assertTrue;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
*/
|
||||
@@ -343,6 +345,8 @@ public abstract class AbstractVcsTestCase {
|
||||
}
|
||||
|
||||
public static void editFileInCommand(final Project project, final VirtualFile file, final String newContent) {
|
||||
assertTrue(file.isValid());
|
||||
file.getTimeStamp();
|
||||
new WriteCommandAction.Simple(project) {
|
||||
@Override
|
||||
protected void run() throws Throwable {
|
||||
|
||||
Reference in New Issue
Block a user