1.1 --- a/rt/vm/src/test/java/org/apidesign/vm4brwsr/ResourcesWithExtensionsTest.java Sat May 03 06:46:57 2014 +0200
1.2 +++ b/rt/vm/src/test/java/org/apidesign/vm4brwsr/ResourcesWithExtensionsTest.java Thu May 22 19:06:44 2014 +0200
1.3 @@ -45,6 +45,17 @@
1.4 exp
1.5 );
1.6 }
1.7 +
1.8 + @Test public void objJSResourceIsNotFound() throws Exception {
1.9 + assertExec("Objects from @JavaScriptResource resources are available",
1.10 + Resources.class, "isObj__Z", 1.0
1.11 + );
1.12 + }
1.13 + @Test public void objJSIsFound() throws Exception {
1.14 + assertExec("The resources used as @JavaScriptResource aren't available",
1.15 + Resources.class, "isResource__Z", 0.0
1.16 + );
1.17 + }
1.18
1.19 private static TestVM code;
1.20