]> source.dussan.org Git - jgit.git/commit
Make sure tests don't blindly continue if a command is "silently" failed 89/63389/1
authorAndrey Loskutov <loskutov@gmx.de>
Wed, 30 Dec 2015 23:48:07 +0000 (00:48 +0100)
committerAndrey Loskutov <loskutov@gmx.de>
Wed, 30 Dec 2015 23:48:11 +0000 (00:48 +0100)
commit02ade82b345ea976d12c32547fb097e726fa44fb
tree6eb007ee3206b0b5cd0851e5c4aa1ade45ab5e3c
parent3fc93f8a562e96d354546ad6ff8c9dd56709c5e5
Make sure tests don't blindly continue if a command is "silently" failed

Make the default execute() function fail fast on first command printed
"fatal: " to output.

Introduced executeUnchecked() for few tests which wanted to test fatal
output.

Change-Id: I5b09aad9443515636811fc4d00bf8b8b9587a626
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.jgit.pgm.test/src/org/eclipse/jgit/lib/CLIRepositoryTestCase.java
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/AddTest.java
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/ArchiveTest.java
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/BranchTest.java
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/CheckoutTest.java
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/CommitTest.java
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/DescribeTest.java
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/MergeTest.java
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/RepoTest.java
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/TagTest.java