Beispiel #1
0
 public Environment initIdeaEnvironment() {
   EnvironmentConfig config = EnvironmentConfig.defaultConfig();
   for (IMapping<String, String> lib : MapSequence.fromMap(loadLibraries())) {
     config = config.addLib(lib.value());
   }
   for (IMapping<String, File> macro : MapSequence.fromMap(loadMacros())) {
     config = config.addMacro(macro.key(), macro.value());
   }
   return IdeaEnvironment.getOrCreate(config);
 }
Beispiel #2
0
 @BeforeClass
 public static void beforeTests() {
   Environment env = IdeaEnvironment.getOrCreate(EnvironmentConfig.defaultConfig());
 }
Beispiel #3
0
 private static EnvironmentConfig createConfig() {
   return EnvironmentConfig.defaultConfig().withBuildPlugin().withVcsPlugin();
 }