test_class.declarator: LOGGER = LoggerFactory.getLogger(MultiRepositoryManagerTest.class)
test_class.modifier: protected static final
test_class.original_string: protected static final Logger LOGGER = LoggerFactory.getLogger(MultiRepositoryManagerTest.class);
test_class.type: Logger
test_class.var_name: LOGGER
test_class.declarator: workspaceRepositoryRoot
test_class.modifier: static
test_class.original_string: static String workspaceRepositoryRoot;
test_class.type: String
test_class.var_name: workspaceRepositoryRoot
test_class.file: org.eclipse.winery.repository/src/test/java/org/eclipse/winery/repository/backend/filebased/MultiRepositoryManagerTest.java
test_class.identifier: MultiRepositoryManagerTest
test_case.body: @Test
      public void testGetRepositoriesAsListOnNonMultiRepository() {
          try {
              //RepositoryFactory.reconfigure();
          } catch (Exception e) {
              e.printStackTrace();
          }
          MultiRepositoryManager multiRepositoryManager = new MultiRepositoryManager();
          List<RepositoryProperties> dependencies = multiRepositoryManager.getRepositoriesAsList();
          if (dependencies.size() > 0) {
              dependencies.forEach(dependency -> {
                  System.out.println(dependency.getName());
              });
          }
          assertEquals(0, dependencies.size());
      }
test_case.class_method_signature: MultiRepositoryManagerTest.testGetRepositoriesAsListOnNonMultiRepository()
test_case.full_signature: @Test public void testGetRepositoriesAsListOnNonMultiRepository()
test_case.identifier: testGetRepositoriesAsListOnNonMultiRepository
test_case.invocations: printStackTrace getRepositoriesAsList size forEach println getName assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetRepositoriesAsListOnNonMultiRepository()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(MultiRepositoryManager.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(MultiRepositoryManager.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.file: org.eclipse.winery.repository/src/main/java/org/eclipse/winery/repository/backend/filebased/MultiRepositoryManager.java
focal_class.identifier: MultiRepositoryManager
focal_class.class_method_signature: MultiRepositoryManager.initializeRepositoryListForMultiRepositoryAndReconfigureFactory(List<RepositoryProperties> repositoryList)
focal_class.full_signature:  void initializeRepositoryListForMultiRepositoryAndReconfigureFactory(List<RepositoryProperties> repositoryList)
focal_class.identifier: initializeRepositoryListForMultiRepositoryAndReconfigureFactory
focal_class.parameters: (List<RepositoryProperties> repositoryList)
focal_class.return: void
focal_class.signature: void initializeRepositoryListForMultiRepositoryAndReconfigureFactory(List<RepositoryProperties> repositoryList)
focal_class.class_method_signature: MultiRepositoryManager.isMultiRepositoryFileStuctureEstablished(Path repoPath)
focal_class.full_signature:  boolean isMultiRepositoryFileStuctureEstablished(Path repoPath)
focal_class.identifier: isMultiRepositoryFileStuctureEstablished
focal_class.parameters: (Path repoPath)
focal_class.return: boolean
focal_class.signature: boolean isMultiRepositoryFileStuctureEstablished(Path repoPath)
focal_class.class_method_signature: MultiRepositoryManager.createMultiRepositoryFileStructure(Path oldPath, Path newPath)
focal_class.full_signature:  void createMultiRepositoryFileStructure(Path oldPath, Path newPath)
focal_class.identifier: createMultiRepositoryFileStructure
focal_class.parameters: (Path oldPath, Path newPath)
focal_class.return: void
focal_class.signature: void createMultiRepositoryFileStructure(Path oldPath, Path newPath)
focal_class.class_method_signature: MultiRepositoryManager.getRepositoriesAsList()
focal_class.full_signature: public List<RepositoryProperties> getRepositoriesAsList()
focal_class.identifier: getRepositoriesAsList
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<RepositoryProperties>
focal_class.signature: List<RepositoryProperties> getRepositoriesAsList()
focal_class.class_method_signature: MultiRepositoryManager.addRepositoryToFile(List<RepositoryProperties> repositories)
focal_class.full_signature: public void addRepositoryToFile(List<RepositoryProperties> repositories)
focal_class.identifier: addRepositoryToFile
focal_class.modifiers: public
focal_class.parameters: (List<RepositoryProperties> repositories)
focal_class.return: void
focal_class.signature: void addRepositoryToFile(List<RepositoryProperties> repositories)
focal_method.body: public List<RepositoryProperties> getRepositoriesAsList() {
          IRepository repository = RepositoryFactory.getRepository();
          if (repository instanceof MultiRepository) {
              return ((MultiRepository) repository).getRepositoriesFromFile();
          }
          return Collections.emptyList();
      }
focal_method.class_method_signature: MultiRepositoryManager.getRepositoriesAsList()
focal_method.full_signature: public List<RepositoryProperties> getRepositoriesAsList()
focal_method.identifier: getRepositoriesAsList
focal_method.invocations: getRepository getRepositoriesFromFile emptyList
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: List<RepositoryProperties>
focal_method.signature: List<RepositoryProperties> getRepositoriesAsList()