mirror of https://github.com/apache/lucene.git
expect testcase= in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d920478751
commit
c2d3677b11
|
@ -195,7 +195,7 @@ public class TestReproduceMessage extends WithNestedTests {
|
||||||
|
|
||||||
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.class=*." + Nested.class.getSimpleName()));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtestcase=" + Nested.class.getSimpleName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -205,7 +205,7 @@ public class TestReproduceMessage extends WithNestedTests {
|
||||||
final String syserr = runAndReturnSyserr();
|
final String syserr = runAndReturnSyserr();
|
||||||
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.class=*." + Nested.class.getSimpleName()));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtestcase=" + Nested.class.getSimpleName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -215,7 +215,7 @@ public class TestReproduceMessage extends WithNestedTests {
|
||||||
final String syserr = runAndReturnSyserr();
|
final String syserr = runAndReturnSyserr();
|
||||||
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.class=*." + Nested.class.getSimpleName()));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtestcase=" + Nested.class.getSimpleName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -225,7 +225,7 @@ public class TestReproduceMessage extends WithNestedTests {
|
||||||
final String syserr = runAndReturnSyserr();
|
final String syserr = runAndReturnSyserr();
|
||||||
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.class=*." + Nested.class.getSimpleName()));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtestcase=" + Nested.class.getSimpleName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test @Ignore
|
@Test @Ignore
|
||||||
|
@ -260,7 +260,7 @@ public class TestReproduceMessage extends WithNestedTests {
|
||||||
final String syserr = runAndReturnSyserr();
|
final String syserr = runAndReturnSyserr();
|
||||||
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.class=*." + Nested.class.getSimpleName()));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtestcase=" + Nested.class.getSimpleName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -270,7 +270,7 @@ public class TestReproduceMessage extends WithNestedTests {
|
||||||
final String syserr = runAndReturnSyserr();
|
final String syserr = runAndReturnSyserr();
|
||||||
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.class=*." + Nested.class.getSimpleName()));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtestcase=" + Nested.class.getSimpleName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -280,7 +280,7 @@ public class TestReproduceMessage extends WithNestedTests {
|
||||||
final String syserr = runAndReturnSyserr();
|
final String syserr = runAndReturnSyserr();
|
||||||
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.class=*." + Nested.class.getSimpleName()));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtestcase=" + Nested.class.getSimpleName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -290,7 +290,7 @@ public class TestReproduceMessage extends WithNestedTests {
|
||||||
final String syserr = runAndReturnSyserr();
|
final String syserr = runAndReturnSyserr();
|
||||||
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
Assert.assertTrue(syserr.contains("NOTE: reproduce with:"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.method=test"));
|
||||||
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtests.class=*." + Nested.class.getSimpleName()));
|
Assert.assertTrue(Arrays.asList(syserr.split("\\s")).contains("-Dtestcase=" + Nested.class.getSimpleName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test @Ignore
|
@Test @Ignore
|
||||||
|
|
Loading…
Reference in New Issue