diff options
author | Jiri Vanek <[email protected]> | 2013-12-02 16:04:32 +0100 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-12-02 16:04:32 +0100 |
commit | 77f5431e3b77c3d16693de34c21189d3f960ec41 (patch) | |
tree | ecced48bc4b7d1de33ad38cb066a6c6db9b88504 /tests/reproducers/simple | |
parent | 57a108d5385a5810cf627d9d70792379d4c27000 (diff) |
Better validation of crytical dirs with proper message on startup
Diffstat (limited to 'tests/reproducers/simple')
-rw-r--r-- | tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java b/tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java index 0904404..05d559a 100644 --- a/tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java +++ b/tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java @@ -1014,10 +1014,11 @@ public class XDGspecificationTests extends BrowserTest { pw.addStdOutListener(new RulesFolowingClosingListener(applet1Run)); pw.setVars(setXdgVAlues(f)); ProcessResult pr = pw.execute(); - Assert.assertTrue(applet1Run.toPassingString(), applet1Run.evaluate(pr.stdout)); Assert.assertTrue(notMoving.toPassingString(), notMoving.evaluate(pr.stdout)); assertMainFiles(listToString(getContentOfDirectory(f)), false, false, true); assertOldNotMainFilesInHome(true, true, true); + /*do alst, we need to check the migration, not applet lunching itself*/ + Assert.assertTrue(applet1Run.toPassingString(), applet1Run.evaluate(pr.stdout)); } finally { deleteRecursively(f); } @@ -1090,10 +1091,11 @@ public class XDGspecificationTests extends BrowserTest { pw.addStdOutListener(new RulesFolowingClosingListener(applet1Run)); pw.setVars(setXdgVAlues(f)); ProcessResult pr = pw.execute(); - Assert.assertTrue(applet1Run.toPassingString(), applet1Run.evaluate(pr.stdout)); Assert.assertTrue(notMoving.toPassingString(), notMoving.evaluate(pr.stdout)); assertMainFiles(listToString(getContentOfDirectory(f)), false, false, true); assertOldNotMainFilesInHome(true, true, true); + /*do last, we need to check the migration, not applet lunching itself*/ + Assert.assertTrue(applet1Run.toPassingString(), applet1Run.evaluate(pr.stdout)); } finally { deleteRecursively(f); } |