void () { TreeNode root = createRoot(); TreeNode color = root.getChildAt(0); TreePath parent = new TreePath(root); test(parent, color, 1, createPathFinder("root")); test(parent, color, 1, createPathFinder("toor")); // not found test(parent, color, 1, createPathFinder("root", "color"), root, color); test(parent, color, 1, createPathFinderWithoutRoot("color"), root, color); test(parent, color, 1, createPathFinder("root", "roloc")); // not found test(parent, color, 1, createPathFinderWithoutRoot("roloc")); // not found test(parent, color, 2, createPathFinder("root", "color", "red"), root, color, color.getChildAt(0)); test(parent, color, 2, createPathFinderWithoutRoot("color", "red"), root, color, color.getChildAt(0)); test(parent, color, 4, createPathFinder("root", "color", "der")); // not found test(parent, color, 4, createPathFinderWithoutRoot("color", "der")); // not found test(parent, color, 3, createPathFinder("root", "color", "green"), root, color, color.getChildAt(1)); test(parent, color, 3, createPathFinderWithoutRoot("color", "green"), root, color, color.getChildAt(1)); test(parent, color, 4, createPathFinder("root", "color", "neerg")); // not found test(parent, color, 4, createPathFinderWithoutRoot("color", "neerg")); // not found test(parent, color, 4, createPathFinder("root", "color", "blue"), root, color, color.getChildAt(2)); test(parent, color, 4, createPathFinderWithoutRoot("color", "blue"), root, color, color.getChildAt(2)); test(parent, color, 4, createPathFinder("root", "color", "eulb")); // not found test(parent, color, 4, createPathFinderWithoutRoot("color", "eulb")); // not found test(parent, color, 1, createPathFinder("root", "digit")); test(parent, color, 1, createPathFinderWithoutRoot("digit")); test(parent, color, 1, createPathFinder("root", "tigid")); // not found test(parent, color, 1, createPathFinderWithoutRoot("tigid")); // not found test(parent, color, 1, createPathFinder("root", "greek")); test(parent, color, 1, createPathFinderWithoutRoot("greek")); test(parent, color, 1, createPathFinder("root", "keerg")); // not found test(parent, color, 1, createPathFinderWithoutRoot("keerg")); // not found }