Author: jjamrich
Date: 2011-10-10 05:09:23 -0400 (Mon, 10 Oct 2011)
New Revision: 22770
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTreeModelAdaptor/TestTreeModelAdaptorSelection.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTreeModelAdaptor/TestTreeModelAdaptorToggling.java
Log:
Fix problem with failing (skipping) tests on Tomcat
There were full URL in second buildURL param instead of path to example page
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTreeModelAdaptor/TestTreeModelAdaptorSelection.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTreeModelAdaptor/TestTreeModelAdaptorSelection.java 2011-10-10
02:04:36 UTC (rev 22769)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTreeModelAdaptor/TestTreeModelAdaptorSelection.java 2011-10-10
09:09:23 UTC (rev 22770)
@@ -59,7 +59,7 @@
private boolean recursiveLeafChildrenNullable;
public URL getTestUrl() {
- return buildUrl(contextPath,
"http://localhost:8080/metamer/faces/components/richTree/treeAdaptors.xhtml");
+ return buildUrl(contextPath,
"/faces/components/richTree/treeAdaptors.xhtml");
}
@BeforeMethod
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTreeModelAdaptor/TestTreeModelAdaptorToggling.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTreeModelAdaptor/TestTreeModelAdaptorToggling.java 2011-10-10
02:04:36 UTC (rev 22769)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richTreeModelAdaptor/TestTreeModelAdaptorToggling.java 2011-10-10
09:09:23 UTC (rev 22770)
@@ -63,7 +63,7 @@
}
public URL getTestUrl() {
- return buildUrl(contextPath,
"http://localhost:8080/metamer/faces/components/richTree/treeAdaptors.xhtml");
+ return buildUrl(contextPath,
"/faces/components/richTree/treeAdaptors.xhtml");
}
@Test
Show replies by date