1.1 --- a/build.xml Fri Oct 10 22:24:52 2008 +0200
1.2 +++ b/build.xml Sat Oct 11 10:49:25 2008 +0200
1.3 @@ -3,6 +3,7 @@
1.4 <property name="apifest.dir" location="${ant.file.samples}/.."/>
1.5 <dirset id="examples" dir="${apifest.dir}">
1.6 <include name="**/nbproject"/>
1.7 + <exclude name="currency/nbproject"/>
1.8 <exclude name="taskx/jtulach/against-solutionXY/nbproject"/>
1.9 <exclude name=".hg/**"/>
1.10 </dirset>
2.1 --- a/task3/solution04/test/org/apidesign/apifest08/test/Task3Test.java Fri Oct 10 22:24:52 2008 +0200
2.2 +++ b/task3/solution04/test/org/apidesign/apifest08/test/Task3Test.java Sat Oct 11 10:49:25 2008 +0200
2.3 @@ -90,11 +90,6 @@
2.4 public void testFewQueriesForOnlineConvertor()
2.5 throws InvalidConversionException
2.6 {
2.7 - if (Boolean.getBoolean("ignore.failing")) {
2.8 - // implement me!
2.9 - return;
2.10 - }
2.11 -
2.12 Convertor c = createOnlineCZKUSDConvertor();
2.13 doFewQueriesForOnlineConvertor(c);
2.14 }
2.15 @@ -130,11 +125,6 @@
2.16 public void testOnlineConvertorComposition() throws Exception {
2.17 BigDecimal amount;
2.18
2.19 - if (Boolean.getBoolean("ignore.failing")) {
2.20 - // implement me!
2.21 - return;
2.22 - }
2.23 -
2.24 Convertor c = Task2Test.merge(
2.25 createOnlineCZKUSDConvertor(),
2.26 Task1Test.createSKKtoCZK()
3.1 --- a/task3/solution06/test/org/apidesign/apifest08/test/Task3Test.java Fri Oct 10 22:24:52 2008 +0200
3.2 +++ b/task3/solution06/test/org/apidesign/apifest08/test/Task3Test.java Sat Oct 11 10:49:25 2008 +0200
3.3 @@ -74,11 +74,6 @@
3.4 }
3.5
3.6 public void testFewQueriesForOnlineConvertor() {
3.7 - if (Boolean.getBoolean("ignore.failing")) {
3.8 - // implement me!
3.9 - return;
3.10 - }
3.11 -
3.12 Convertor c = createOnlineCZKUSDConvertor();
3.13 doFewQueriesForOnlineConvertor(c);
3.14 }
3.15 @@ -100,11 +95,6 @@
3.16 /** Join the convertors and show they behave sane.
3.17 */
3.18 public void testOnlineConvertorComposition() throws Exception {
3.19 - if (Boolean.getBoolean("ignore.failing")) {
3.20 - // implement me!
3.21 - return;
3.22 - }
3.23 -
3.24 Convertor c = Task2Test.merge(
3.25 createOnlineCZKUSDConvertor(),
3.26 Task1Test.createSKKtoCZK()
4.1 --- a/task3/solution07/test/org/apidesign/apifest08/test/Task3Test.java Fri Oct 10 22:24:52 2008 +0200
4.2 +++ b/task3/solution07/test/org/apidesign/apifest08/test/Task3Test.java Sat Oct 11 10:49:25 2008 +0200
4.3 @@ -67,11 +67,6 @@
4.4 }
4.5
4.6 public void testFewQueriesForOnlineConvertor() {
4.7 - if (Boolean.getBoolean("ignore.failing")) {
4.8 - // implement me!
4.9 - return;
4.10 - }
4.11 -
4.12 Convertor c = createOnlineCZKUSDConvertor();
4.13 doFewQueriesForOnlineConvertor(c);
4.14 }
4.15 @@ -114,11 +109,6 @@
4.16 /** Join the convertors and show they behave sane.
4.17 */
4.18 public void testOnlineConvertorComposition() throws Exception {
4.19 - if (Boolean.getBoolean("ignore.failing")) {
4.20 - // implement me!
4.21 - return;
4.22 - }
4.23 -
4.24 final Convertor c = Task2Test.merge(
4.25 createOnlineCZKUSDConvertor(),
4.26 Task1Test.createSKKtoCZK()
5.1 --- a/task3/solution12/test/org/apidesign/apifest08/test/Task3Test.java Fri Oct 10 22:24:52 2008 +0200
5.2 +++ b/task3/solution12/test/org/apidesign/apifest08/test/Task3Test.java Sat Oct 11 10:49:25 2008 +0200
5.3 @@ -104,8 +104,6 @@
5.4 result = c.convert(15.97d, Currency.getInstance("CZK"), Currency.getInstance("USD"));
5.5 expectedResult = 15.97 / actualRate ;
5.6 assertEquals("Result is not " + expectedResult + " USD", expectedResult, result);
5.7 -
5.8 -// fail("Implement me!");
5.9 }
5.10
5.11 /** Join the convertors and show they behave sane.
6.1 --- a/task3/solution13/test/org/apidesign/apifest08/test/Task3Test.java Fri Oct 10 22:24:52 2008 +0200
6.2 +++ b/task3/solution13/test/org/apidesign/apifest08/test/Task3Test.java Sat Oct 11 10:49:25 2008 +0200
6.3 @@ -71,11 +71,6 @@
6.4 }
6.5
6.6 public void testFewQueriesForOnlineConvertor() {
6.7 - if (Boolean.getBoolean("ignore.failing")) {
6.8 - // implement me!
6.9 - return;
6.10 - }
6.11 -
6.12 Convertor c = createOnlineCZKUSDConvertor();
6.13 doFewQueriesForOnlineConvertor(c);
6.14 }
6.15 @@ -92,18 +87,11 @@
6.16
6.17 // convert 15.97CZK to USD using c:
6.18 assertEquals("Result is 15.98 CZK", new BigDecimal("1.00"), c.convertWithReversibleRates(currencyCZK, currencyUSD , new BigDecimal("15.97")).getConverted());
6.19 -
6.20 - //fail("Implement me!");
6.21 }
6.22
6.23 /** Join the convertors and show they behave sane.
6.24 */
6.25 public void testOnlineConvertorComposition() throws Exception {
6.26 - if (Boolean.getBoolean("ignore.failing")) {
6.27 - // implement me!
6.28 - return;
6.29 - }
6.30 -
6.31 Convertor c = Task2Test.merge(
6.32 createOnlineCZKUSDConvertor(),
6.33 Task1Test.createSKKtoCZK()
7.1 --- a/task3/solution14/test/org/apidesign/apifest08/test/Task3Test.java Fri Oct 10 22:24:52 2008 +0200
7.2 +++ b/task3/solution14/test/org/apidesign/apifest08/test/Task3Test.java Sat Oct 11 10:49:25 2008 +0200
7.3 @@ -91,11 +91,6 @@
7.4 }
7.5
7.6 public void testFewQueriesForOnlineConvertor() {
7.7 -// if (Boolean.getBoolean("ignore.failing")) {
7.8 -// // implement me!
7.9 -// return;
7.10 -// }
7.11 -
7.12 Convertor c = createOnlineCZKUSDConvertor();
7.13 doFewQueriesForOnlineConvertor(c);
7.14 }