Author: jjamrich
Date: 2011-06-22 17:17:55 -0400 (Wed, 22 Jun 2011)
New Revision: 22531
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java
Log:
Fixed incorrect token 'X' added to phase logger.
Many tests expects exact string in phase logger according to action
performed. This token was breaking many tests.
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java 2011-06-13
15:23:08 UTC (rev 22530)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichBean.java 2011-06-22
21:17:55 UTC (rev 22531)
@@ -404,7 +404,7 @@
* an event representing the activation of a user interface component
*/
public void itemChangeListener(ItemChangeEvent event) {
- logToPage("* item changedX: " + (event.getOldItem() == null ? null :
event.getOldItem().getId()) + " -> "
+ logToPage("* item changed: " + (event.getOldItem() == null ? null :
event.getOldItem().getId()) + " -> "
+ (event.getNewItem() != null ? event.getNewItem().getId() : null));
}
Show replies by date