public void test_heisenbug708() throws Exception { int cnt = 0; int max = 10; for (int i=0; i<max; i++) { try { new TestHelper( "heisenbug-708",// testURI "heisenbug-708.rq", // queryURI "heisenbug-708.ttl", // dataURI "heisenbug-708.srx" // resultURI ).runTest(); // return; // stop @ success } catch (AssertionFailedError e) { cnt++; // throw e;// halt @ 1st failure. } } assertTrue("Test failed " + cnt + "/" + max + " times", cnt==0); }
public void test_heisenbug708() throws Exception { int cnt = 0; int max = 10; for (int i=0; i<max; i++) { try { new TestHelper( "heisenbug-708",// testURI "heisenbug-708.rq", // queryURI "heisenbug-708.ttl", // dataURI "heisenbug-708.srx" // resultURI ).runTest(); // return; // stop @ success } catch (AssertionFailedError e) { cnt++; // throw e;// halt @ 1st failure. } } assertTrue("Test failed " + cnt + "/" + max + " times", cnt==0); }
/** * Demonstrates the same problem using two BIND()s. This rules out the * JOIN as the problem. */ public void test_heisenbug708_doubleBind() throws Exception { int cnt = 0; int max = 10; for (int i=0; i<max; i++) { try { new TestHelper( "heisenbug-708-doubleBind",// testURI "heisenbug-708-doubleBind.rq", // queryURI "heisenbug-708-doubleBind.ttl", // dataURI "heisenbug-708-doubleBind.srx" // resultURI ).runTest(); // return; // stop @ success } catch (AssertionFailedError e) { cnt++; // throw e;// halt @ 1st failure. } } assertTrue("Test failed " + cnt + "/" + max + " times", cnt==0); }
/** * Demonstrates the same problem using two BIND()s. This rules out the * JOIN as the problem. */ public void test_heisenbug708_doubleBind() throws Exception { int cnt = 0; int max = 10; for (int i=0; i<max; i++) { try { new TestHelper( "heisenbug-708-doubleBind",// testURI "heisenbug-708-doubleBind.rq", // queryURI "heisenbug-708-doubleBind.ttl", // dataURI "heisenbug-708-doubleBind.srx" // resultURI ).runTest(); // return; // stop @ success } catch (AssertionFailedError e) { cnt++; // throw e;// halt @ 1st failure. } } assertTrue("Test failed " + cnt + "/" + max + " times", cnt==0); }
public void test_heisenbug708() throws Exception { int cnt = 0; int max = 10; for (int i=0; i<max; i++) { try { new TestHelper( "heisenbug-708",// testURI "heisenbug-708.rq", // queryURI "heisenbug-708.ttl", // dataURI "heisenbug-708.srx" // resultURI ).runTest(); // return; // stop @ success } catch (AssertionFailedError e) { cnt++; // throw e;// halt @ 1st failure. } } assertTrue("Test failed " + cnt + "/" + max + " times", cnt==0); }
/** * Demonstrates the same problem using two BIND()s. This rules out the * JOIN as the problem. */ public void test_heisenbug708_doubleBind() throws Exception { int cnt = 0; int max = 10; for (int i=0; i<max; i++) { try { new TestHelper( "heisenbug-708-doubleBind",// testURI "heisenbug-708-doubleBind.rq", // queryURI "heisenbug-708-doubleBind.ttl", // dataURI "heisenbug-708-doubleBind.srx" // resultURI ).runTest(); // return; // stop @ success } catch (AssertionFailedError e) { cnt++; // throw e;// halt @ 1st failure. } } assertTrue("Test failed " + cnt + "/" + max + " times", cnt==0); }