Author: abelevich
Date: 2009-03-06 11:30:42 -0500 (Fri, 06 Mar 2009)
New Revision: 12868
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxSupportTest.java
Log:
fix checkEmptyAttr methods
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxSupportTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxSupportTest.java 2009-03-06
16:29:44 UTC (rev 12867)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxSupportTest.java 2009-03-06
16:30:42 UTC (rev 12868)
@@ -320,7 +320,7 @@
}
private void checkEmptyAttr(String locator, String errMessage, String okMessage) {
- if ("null".equals(locator)) {
+ if (null == locator) {
writeStatus(okMessage);
} else {
writeStatus(errMessage, true);