Mercurial > hg4j
changeset 106:5c43e937e15b
Assume doesn't actually report tests as ignored, rather as green (pass), which is misleading
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Sat, 29 Jan 2011 01:58:32 +0100 |
parents | 0617dd31477f |
children | 7ec89d637f50 |
files | test/org/tmatesoft/hg/test/TestManifest.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestManifest.java Sat Jan 29 01:57:43 2011 +0100 +++ b/test/org/tmatesoft/hg/test/TestManifest.java Sat Jan 29 01:58:32 2011 +0100 @@ -18,6 +18,7 @@ import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.notNullValue; +import static org.junit.Assert.assertTrue; import static org.tmatesoft.hg.repo.HgRepository.TIP; import java.util.Collections; @@ -25,6 +26,7 @@ import java.util.LinkedList; import java.util.Map; +import org.junit.Assert; import org.junit.Assume; import org.junit.Rule; import org.junit.Test; @@ -75,7 +77,7 @@ private TestManifest(HgRepository hgRepo) { repo = hgRepo; - Assume.assumeTrue(repo.isInvalid()); + assertTrue(!repo.isInvalid()); eh = new ExecHelper(manifestParser = new ManifestOutputParser(), null); }