notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1767 - trunk/tutorials/components/context/src/test/org/acme/test
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1767 - trunk/tutorials/components/context/src/test/org/acme/test
- Date: Thu, 5 Oct 2006 22:22:36 +0200
Author: mcconnell
Date: 2006-10-05 22:22:35 +0200 (Thu, 05 Oct 2006)
New Revision: 1767
Modified:
trunk/tutorials/components/context/src/test/org/acme/test/DemoTestCase.java
Log:
correct logic error in testcase
Modified:
trunk/tutorials/components/context/src/test/org/acme/test/DemoTestCase.java
===================================================================
---
trunk/tutorials/components/context/src/test/org/acme/test/DemoTestCase.java
2006-10-05 16:45:02 UTC (rev 1766)
+++
trunk/tutorials/components/context/src/test/org/acme/test/DemoTestCase.java
2006-10-05 20:22:35 UTC (rev 1767)
@@ -45,7 +45,8 @@
Part part = Part.load( uri );
Demo demo = (Demo) part.getContent();
String message = demo.getMessage();
- assertEquals( "message", "Painting mcconnell's bike silver.",
message );
+ String name = System.getProperty( "user.name" );
+ assertEquals( "message", "Painting " + name + "'s bike silver.",
message );
}
private URI getPartURI() throws Exception
- r1767 - trunk/tutorials/components/context/src/test/org/acme/test, mcconnell at BerliOS, 10/05/2006
Archive powered by MHonArc 2.6.24.