Author: ozizka(a)redhat.com
Date: 2009-05-06 15:17:03 -0400 (Wed, 06 May 2009)
New Revision: 389
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ServerNodeSummaryTest.java
Log:
ServerNodeSummaryTest updated.
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ServerNodeSummaryTest.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ServerNodeSummaryTest.java 2009-05-06
19:16:32 UTC (rev 388)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ServerNodeSummaryTest.java 2009-05-06
19:17:03 UTC (rev 389)
@@ -178,8 +178,8 @@
private void checkSummaryValue(String name, String expectedValue ) throws
EmbJoprTestException {
String actualValue = getSummaryValue(name);
- assertTrue( "Doesn't fit - expected:
'"+expectedValue+"';" +
- " actual: '"+actualValue+"'",
+ assertTrue( String.format("Summary property '%s' doesn't fit -
expected: '%s'; actual: '%s'",
+ name, expectedValue, actualValue),
actualValue.trim().endsWith(expectedValue) );
}
Show replies by date