[seam-commits] Seam SVN: r9648 - trunk/examples/quartz/src/org/jboss/seam/example/quartz/test.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Nov 25 18:41:48 EST 2008
Author: dan.j.allen
Date: 2008-11-25 18:41:47 -0500 (Tue, 25 Nov 2008)
New Revision: 9648
Modified:
trunk/examples/quartz/src/org/jboss/seam/example/quartz/test/EventsTest.java
Log:
report result when invalid
Modified: trunk/examples/quartz/src/org/jboss/seam/example/quartz/test/EventsTest.java
===================================================================
--- trunk/examples/quartz/src/org/jboss/seam/example/quartz/test/EventsTest.java 2008-11-25 23:19:30 UTC (rev 9647)
+++ trunk/examples/quartz/src/org/jboss/seam/example/quartz/test/EventsTest.java 2008-11-25 23:41:47 UTC (rev 9648)
@@ -225,14 +225,14 @@
System.out.println("running renderResponse");
assert ((Boolean)getValue("#{accountHome.idDefined}"));
Account account = (Account) getValue("#{selectedAccount}");
- assert account !=null;
+ assert account != null;
assert account.getId() == 1;
assert account.getPayments().size() == 1;
Payment payment = account.getPayments().get(0);
- assert new BigDecimal("120.00").equals(payment.getAmount());
+ assert new BigDecimal("120.00").equals(payment.getAmount()) : "Invalid payment amount: " + payment.getAmount();
//assert !payment.getActive();
//assert payment.getLastPaid() != null;
- assert new BigDecimal("881.46").equals(account.getBalance());
+ assert new BigDecimal("881.46").equals(account.getBalance()) : "Invalid account balance: " + account.getBalance();
}
}.run();
More information about the seam-commits
mailing list