# HG changeset patch # User Jaroslav Tulach # Date 1223371104 -7200 # Node ID 176d66a9cbe61d22d2292253bbfaf68aa90a86b3 # Parent b61dcd332269a95c619b7f8866bf8b3e93d11f00 Providing a property to allow failing tests in the repository diff -r b61dcd332269 -r 176d66a9cbe6 currency/test/org/apidesign/apifest08/test/Task3Test.java --- a/currency/test/org/apidesign/apifest08/test/Task3Test.java Tue Oct 07 11:08:28 2008 +0200 +++ b/currency/test/org/apidesign/apifest08/test/Task3Test.java Tue Oct 07 11:18:24 2008 +0200 @@ -55,6 +55,11 @@ } public void testFewQueriesForOnlineConvertor() { + if (Boolean.getBoolean("ignore.failing")) { + // implement me! + return; + } + Convertor c = createOnlineCZKUSDConvertor(); doFewQueriesForOnlineConvertor(c); } @@ -71,11 +76,18 @@ // convert 15.97CZK to USD using c: //assertEquals("Result is 1$"); + + fail("Implement me!"); } /** Join the convertors and show they behave sane. */ public void testOnlineConvertorComposition() throws Exception { + if (Boolean.getBoolean("ignore.failing")) { + // implement me! + return; + } + Convertor c = Task2Test.merge( createOnlineCZKUSDConvertor(), Task1Test.createSKKtoCZK()