void () { TreeNode root = createRoot(); TreeNode greek = root.getChildAt(2); TreePath parent = new TreePath(root); test(parent, greek, 1, createPathFinder("root")); test(parent, greek, 1, createPathFinder("toor")); // not found test(parent, greek, 1, createPathFinder("root", "color")); test(parent, greek, 1, createPathFinderWithoutRoot("color")); test(parent, greek, 1, createPathFinder("root", "roloc")); // not found test(parent, greek, 1, createPathFinderWithoutRoot("roloc")); // not found test(parent, greek, 1, createPathFinder("root", "digit")); test(parent, greek, 1, createPathFinderWithoutRoot("digit")); test(parent, greek, 1, createPathFinder("root", "tigid")); // not found test(parent, greek, 1, createPathFinderWithoutRoot("tigid")); // not found test(parent, greek, 1, createPathFinder("root", "greek"), root, greek); test(parent, greek, 1, createPathFinderWithoutRoot("greek"), root, greek); test(parent, greek, 1, createPathFinder("root", "keerg")); // not found test(parent, greek, 1, createPathFinderWithoutRoot("keerg")); // not found test(parent, greek, 2, createPathFinder("root", "greek", "alpha"), root, greek, greek.getChildAt(0)); test(parent, greek, 2, createPathFinderWithoutRoot("greek", "alpha"), root, greek, greek.getChildAt(0)); test(parent, greek, 6, createPathFinder("root", "greek", "ahpla")); // not found test(parent, greek, 6, createPathFinderWithoutRoot("greek", "ahpla")); // not found test(parent, greek, 3, createPathFinder("root", "greek", "beta"), root, greek, greek.getChildAt(1)); test(parent, greek, 3, createPathFinderWithoutRoot("greek", "beta"), root, greek, greek.getChildAt(1)); test(parent, greek, 6, createPathFinder("root", "greek", "ateb")); // not found test(parent, greek, 6, createPathFinderWithoutRoot("greek", "ateb")); // not found test(parent, greek, 4, createPathFinder("root", "greek", "gamma"), root, greek, greek.getChildAt(2)); test(parent, greek, 4, createPathFinderWithoutRoot("greek", "gamma"), root, greek, greek.getChildAt(2)); test(parent, greek, 6, createPathFinder("root", "greek", "ammag")); // not found test(parent, greek, 6, createPathFinderWithoutRoot("greek", "ammag")); // not found test(parent, greek, 5, createPathFinder("root", "greek", "delta"), root, greek, greek.getChildAt(3)); test(parent, greek, 5, createPathFinderWithoutRoot("greek", "delta"), root, greek, greek.getChildAt(3)); test(parent, greek, 6, createPathFinder("root", "greek", "atled")); // not found test(parent, greek, 6, createPathFinderWithoutRoot("greek", "atled")); // not found test(parent, greek, 6, createPathFinder("root", "greek", "epsilon"), root, greek, greek.getChildAt(4)); test(parent, greek, 6, createPathFinderWithoutRoot("greek", "epsilon"), root, greek, greek.getChildAt(4)); test(parent, greek, 6, createPathFinder("root", "greek", "nolispe")); // not found test(parent, greek, 6, createPathFinderWithoutRoot("greek", "nolispe")); // not found }