コード例 #1
0
 protected void createAtlas(String profileName, AtlasCreator atlasCreator)
     throws JAXBException, AtlasTestException, InterruptedException, IOException {
   String profileFile = "profiles/" + Profile.getProfileFileName(profileName);
   InputStream in = ClassLoader.getSystemResourceAsStream(profileFile);
   assertNotNull(in);
   AtlasInterface atlas = loadAtlas(in);
   createAtlas(atlas, atlasCreator);
 }
コード例 #2
0
 protected AtlasInterface loadAtlas(String profileName) throws JAXBException {
   String profileFile = "profiles/" + Profile.getProfileFileName(profileName);
   InputStream in = ClassLoader.getSystemResourceAsStream(profileFile);
   assertNotNull(in);
   return loadAtlas(in);
 }