Author: a.izobov
Date: 2007-05-14 05:09:41 -0400 (Mon, 14 May 2007)
New Revision: 743
Modified:
trunk/richfaces/tabPanel/src/test/java/org/richfaces/component/TabPanelComponentTest.java
Log:
test fixed
Modified:
trunk/richfaces/tabPanel/src/test/java/org/richfaces/component/TabPanelComponentTest.java
===================================================================
---
trunk/richfaces/tabPanel/src/test/java/org/richfaces/component/TabPanelComponentTest.java 2007-05-14
09:08:21 UTC (rev 742)
+++
trunk/richfaces/tabPanel/src/test/java/org/richfaces/component/TabPanelComponentTest.java 2007-05-14
09:09:41 UTC (rev 743)
@@ -48,11 +48,11 @@
static {
javaScripts.add("org.ajax4jsf.framework.ajax.AjaxScript");
- javaScripts.add("prototype.js");
+ javaScripts.add("org.ajax4jsf.framework.resource.PrototypeScript");
javaScripts.add("org.ajax4jsf.framework.ajax.ImageCacheScript");
javaScripts.add("org/richfaces/renderkit/html/scripts/browser_info.js");
javaScripts.add("org/ajax4jsf/renderkit/html/scripts/form.js");
- javaScripts.add("org/richfaces/renderkit/html/scripts/tabPanel.js");
+ javaScripts.add("scripts/tabPanel.js");
}
private UITabPanel tabPanel;
@@ -179,7 +179,7 @@
List links =
page.getDocumentElement().getHtmlElementsByTagName("link");
assertEquals(1, links.size());
HtmlElement link = (HtmlElement) links.get(0);
-
assertTrue(link.getAttributeValue("href").contains("org/richfaces/renderkit/html/css/tabPanel.xcss"));
+
assertTrue(link.getAttributeValue("href").contains("css/tabPanel.xcss"));
}
/**
@@ -218,7 +218,7 @@
System.out.println(view.asXml());
InternetResourceBuilder builder = ResourceBuilderImpl.getInstance();
- InternetResource resource =
builder.getResource("org/richfaces/renderkit/html/css/tabPanel.xcss");
+ InternetResource resource = builder.getResource("css/tabPanel.xcss");
assertNotNull(resource);
String uri = "http:" + resource.getUri(facesContext, null);
Page page = webClient.getPage(uri);
Show replies by date