@Test public void testBinaryReferencesSearch() { Array<String> uris = buildUris(); BinRefContainer binRefContainer = new BinRefContainer(uris); Array<String> binaryReferences = ReferenceUtils .listRefBinaries(binRefContainer); for (int i = 0; i < uris.size; i++) { String current = uris.get(i); for (int j = 0; j < binaryReferences.size; j++) { if (current.toLowerCase().equals( binaryReferences.get(j).toLowerCase())) { uris.removeIndex(i); binaryReferences.removeIndex(j); i--; j--; } } } assertEquals(1, uris.size); assertTrue(uris.contains("skeleton", false)); assertEquals(3, binaryReferences.size); assertTrue(binaryReferences.contains("skeleton.json", false)); assertTrue(binaryReferences.contains("skeleton.png", false)); assertTrue(binaryReferences.contains("skeleton.atlas", false)); }
public static Array<String> listRefBinaries(Object object) { BinaryReferences binaryPaths = new BinaryReferences(); listRefBinaries(object, null, binaryPaths); return binaryPaths.getReferences(); }
ReferenceUtils { public static Array<String> listRefBinaries(Object object) { BinaryReferences binaryPaths = new BinaryReferences(); listRefBinaries(object, null, binaryPaths); return binaryPaths.getReferences(); } }
ReferenceUtils { public static Array<String> listRefBinaries(Object object) { BinaryReferences binaryPaths = new BinaryReferences(); listRefBinaries(object, null, binaryPaths); return binaryPaths.getReferences(); }  }
ReferenceUtils { public static Array<String> listRefBinaries(Object object) { BinaryReferences binaryPaths = new BinaryReferences(); listRefBinaries(object, null, binaryPaths); return binaryPaths.getReferences(); }  static boolean hasBinaryExtension(String strValue); static boolean hasImageExtension(String strValue); static boolean hasVideoExtension(String strValue); static boolean hasAudioExtension(String strValue); static Array<String> listRefBinaries(Object object); static void replaceBinaryRef(Object object, String oldRef,
			String newRef); }
ReferenceUtils { public static Array<String> listRefBinaries(Object object) { BinaryReferences binaryPaths = new BinaryReferences(); listRefBinaries(object, null, binaryPaths); return binaryPaths.getReferences(); }  static boolean hasBinaryExtension(String strValue); static boolean hasImageExtension(String strValue); static boolean hasVideoExtension(String strValue); static boolean hasAudioExtension(String strValue); static Array<String> listRefBinaries(Object object); static void replaceBinaryRef(Object object, String oldRef,
			String newRef); static final Array<String> imageExtensions; static final Array<String> audioExtensions; }