void () { assertTrue(FileUtil.isAncestor(myTestPath, myCanonicalPath, false)); PlatformTestUtil.startPerformanceTest("isAncestor", 3000, () -> { for (int i = 0; i < 1000000; ++i) { assert FileUtil.isAncestor(myTestPath, myCanonicalPath, false); assert !FileUtil.isAncestor(myTestPath, myCanonicalPath, true); } }).assertTiming(); }