diff -r 4d3780a69843 -r bf08bd96d408 rt/vm/src/test/java/org/apidesign/vm4brwsr/ResourcesWithExtensionsTest.java --- a/rt/vm/src/test/java/org/apidesign/vm4brwsr/ResourcesWithExtensionsTest.java Sat May 03 06:46:57 2014 +0200 +++ b/rt/vm/src/test/java/org/apidesign/vm4brwsr/ResourcesWithExtensionsTest.java Thu May 22 19:06:44 2014 +0200 @@ -45,6 +45,17 @@ exp ); } + + @Test public void objJSResourceIsNotFound() throws Exception { + assertExec("Objects from @JavaScriptResource resources are available", + Resources.class, "isObj__Z", 1.0 + ); + } + @Test public void objJSIsFound() throws Exception { + assertExec("The resources used as @JavaScriptResource aren't available", + Resources.class, "isResource__Z", 0.0 + ); + } private static TestVM code;