< prev index next >

modules/controls/src/test/java/javafx/scene/control/ControlTest.java

Print this page
rev 10149 : 8201553: Update FX build to use gradle 4.8
Reviewed-by:

@@ -998,10 +998,11 @@
                 ClassLoader cl = Thread.currentThread().getContextClassLoader();
                 URL base = cl.getResource("javafx/../javafx");
                 f = new File(base.toURI());
             }
             //System.err.println(f.getPath());
+            assertTrue("" + f.getCanonicalPath() + " is not a directory", f.isDirectory());
             recursiveCheck(f, f.getPath().length() - 7);
         } catch (Exception ex) {
             ex.printStackTrace(System.err);
             fail(ex.getMessage());
         }
< prev index next >