test_class.declarator: folderName = "test_music_folder"
test_class.modifier: private static final
test_class.original_string: private static final String folderName = "test_music_folder";
test_class.type: String
test_class.var_name: folderName
test_class.declarator: numberOfFiles = 10
test_class.modifier: private static final
test_class.original_string: private static final int numberOfFiles = 10;
test_class.type: int
test_class.var_name: numberOfFiles
test_class.declarator: FILESEPARATOR = File.separator
test_class.modifier: private static final
test_class.original_string: private static final String FILESEPARATOR = File.separator;
test_class.type: String
test_class.var_name: FILESEPARATOR
test_class.file: gazeplay-commons/src/test/java/net/gazeplay/commons/utils/games/ImageDirectoryLocatorTest.java
test_class.identifier: ImageDirectoryLocatorTest
test_case.body: @Test
      void canLocateImagesDirectoryInExplodedClassPath() {
          final String pathName = "data/common/default";
          final File result = ImageDirectoryLocator.locateImagesDirectoryInExplodedClassPath(pathName);
          assert (result.getAbsolutePath().contains("data" + FILESEPARATOR + "common" + FILESEPARATOR + "default"));
      }
test_case.class_method_signature: ImageDirectoryLocatorTest.canLocateImagesDirectoryInExplodedClassPath()
test_case.full_signature: @Test void canLocateImagesDirectoryInExplodedClassPath()
test_case.identifier: canLocateImagesDirectoryInExplodedClassPath
test_case.invocations: locateImagesDirectoryInExplodedClassPath contains getAbsolutePath
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void canLocateImagesDirectoryInExplodedClassPath()
focal_class.file: gazeplay-commons/src/main/java/net/gazeplay/commons/utils/games/ImageDirectoryLocator.java
focal_class.identifier: ImageDirectoryLocator
focal_class.class_method_signature: ImageDirectoryLocator.locateImagesDirectoryInUnpackedDistDirectory(String parentImagesPackageResourceLocation)
focal_class.full_signature: public static File locateImagesDirectoryInUnpackedDistDirectory(String parentImagesPackageResourceLocation)
focal_class.identifier: locateImagesDirectoryInUnpackedDistDirectory
focal_class.modifiers: public static
focal_class.parameters: (String parentImagesPackageResourceLocation)
focal_class.return: File
focal_class.signature: File locateImagesDirectoryInUnpackedDistDirectory(String parentImagesPackageResourceLocation)
focal_class.class_method_signature: ImageDirectoryLocator.locateImagesDirectoryInExplodedClassPath(String parentImagesPackageResourceLocation)
focal_class.full_signature: public static File locateImagesDirectoryInExplodedClassPath(String parentImagesPackageResourceLocation)
focal_class.identifier: locateImagesDirectoryInExplodedClassPath
focal_class.modifiers: public static
focal_class.parameters: (String parentImagesPackageResourceLocation)
focal_class.return: File
focal_class.signature: File locateImagesDirectoryInExplodedClassPath(String parentImagesPackageResourceLocation)
focal_class.class_method_signature: ImageDirectoryLocator.checkImageDirectory(File imagesDirectory)
focal_class.full_signature: private static boolean checkImageDirectory(File imagesDirectory)
focal_class.identifier: checkImageDirectory
focal_class.modifiers: private static
focal_class.parameters: (File imagesDirectory)
focal_class.return: boolean
focal_class.signature: boolean checkImageDirectory(File imagesDirectory)
focal_method.body: public static File locateImagesDirectoryInExplodedClassPath(String parentImagesPackageResourceLocation) {
          log.info("parentImagesPackageResourceLocation = {}", parentImagesPackageResourceLocation);
  
          final URL parentImagesPackageResourceUrl;
  
          final ClassLoader classLoader = ImageDirectoryLocator.class.getClassLoader();
          parentImagesPackageResourceUrl = classLoader.getResource(parentImagesPackageResourceLocation);
          log.info("parentImagesPackageResourceUrl = {}", parentImagesPackageResourceUrl);
  
          if (parentImagesPackageResourceUrl == null) {
              throw new IllegalStateException("Resource not found : " + parentImagesPackageResourceLocation);
          }
  
          final File imagesDirectory = new File(parentImagesPackageResourceUrl.getFile());
          log.info("imagesDirectory = {}", imagesDirectory.getAbsolutePath());
  
          checkImageDirectory(imagesDirectory);
          return imagesDirectory;
      }
focal_method.class_method_signature: ImageDirectoryLocator.locateImagesDirectoryInExplodedClassPath(String parentImagesPackageResourceLocation)
focal_method.full_signature: public static File locateImagesDirectoryInExplodedClassPath(String parentImagesPackageResourceLocation)
focal_method.identifier: locateImagesDirectoryInExplodedClassPath
focal_method.invocations: info getClassLoader getResource info getFile info getAbsolutePath checkImageDirectory
focal_method.modifiers: public static
focal_method.parameters: (String parentImagesPackageResourceLocation)
focal_method.return: File
focal_method.signature: File locateImagesDirectoryInExplodedClassPath(String parentImagesPackageResourceLocation)