Author: A.Skokov
Date: 2007-05-03 10:24:30 -0400 (Thu, 03 May 2007)
New Revision: 632
Modified:
trunk/richfaces/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java
Log:
test fixed
Modified:
trunk/richfaces/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java
===================================================================
---
trunk/richfaces/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java 2007-05-03
14:18:47 UTC (rev 631)
+++
trunk/richfaces/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java 2007-05-03
14:24:30 UTC (rev 632)
@@ -51,7 +51,7 @@
static {
javaScripts.add("org.ajax4jsf.framework.ajax.AjaxScript");
- javaScripts.add("prototype.js");
+ javaScripts.add("org.ajax4jsf.framework.resource.PrototypeScript");
javaScripts.add("scripts/togglePanel.js");
}
@@ -69,7 +69,7 @@
/**
* Create the test case
- *
+ *
* @param testName
* name of the test case
*/
@@ -79,7 +79,7 @@
/*
* (non-Javadoc)
- *
+ *
* @see org.ajax4jsf.tests.AbstractAjax4JsfTestCase#setUp()
*/
public void setUp() throws Exception {
@@ -121,7 +121,7 @@
/*
* (non-Javadoc)
- *
+ *
* @see org.ajax4jsf.tests.AbstractAjax4JsfTestCase#tearDown()
*/
public void tearDown() throws Exception {
@@ -133,7 +133,7 @@
/**
* Test component rendering
- *
+ *
* @throws Exception
*/
@@ -156,7 +156,7 @@
/**
* Test style rendering
- *
+ *
* @throws Exception
*/
public void testRenderStyle() throws Exception {
@@ -167,12 +167,12 @@
assertEquals(1, links.size());
HtmlElement link = (HtmlElement) links.get(0);
assertTrue(link.getAttributeValue("href").contains(
- "org/richfaces/renderkit/html/css/toggleControl.xcss"));
+ "css/toggleControl.xcss"));
}
/**
* Test script rendering
- *
+ *
* @throws Exception
*/
public void testRenderScript() throws Exception {
@@ -243,7 +243,7 @@
/**
* Test for UITogglePanel & UIToggleControl classes methods.
- *
+ *
* @throws Exception
*/
public void testUIComponents() throws Exception {
@@ -277,7 +277,7 @@
/**
* Test for TogglePanel in "client" mode.
- *
+ *
* @throws Exception
*/
public void testTogglePanelInClientSwichMode() throws Exception {
Show replies by thread