You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2010/02/05 21:14:33 UTC
svn commit: r907080 -
/incubator/wookie/trunk/src-tests/org/apache/wookie/tests/conformance/PackagingAndConfiguration.java
Author: scottbw
Date: Fri Feb 5 20:14:33 2010
New Revision: 907080
URL: http://svn.apache.org/viewvc?rev=907080&view=rev
Log:
Implemented another conformance test just added by W3C to the P&C spec (Wookie passes)
Modified:
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/conformance/PackagingAndConfiguration.java
Modified: incubator/wookie/trunk/src-tests/org/apache/wookie/tests/conformance/PackagingAndConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src-tests/org/apache/wookie/tests/conformance/PackagingAndConfiguration.java?rev=907080&r1=907079&r2=907080&view=diff
==============================================================================
--- incubator/wookie/trunk/src-tests/org/apache/wookie/tests/conformance/PackagingAndConfiguration.java (original)
+++ incubator/wookie/trunk/src-tests/org/apache/wookie/tests/conformance/PackagingAndConfiguration.java Fri Feb 5 20:14:33 2010
@@ -1145,6 +1145,16 @@
Element widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-FAFYMEGELU/008/ae.wgt");
assertEquals("locales/en/icon.png",getIcon(widget));
}
+
+ @Test
+ //"Test the UA's ability to correctly find config document. To pass, the
+ //user agent must correctly load "pass.html" from "config.xml" and
+ //treat "CONFIG.xml" as an arbitrary file.
+ public void hh(){
+ Element widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-ZjcdAxFMSx/002/hh.wgt");
+ String start = locateStartFile(widget);
+ assertEquals("pass.html",start);
+ }
// Utility methods
private Element processWidgetNoErrors(String widgetfname){