Exemplo n.º 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);
 }
Exemplo n.º 2
0
 @BeforeClass
 public static void beforeTests() {
   Environment env = IdeaEnvironment.getOrCreate(EnvironmentConfig.defaultConfig());
 }
Exemplo n.º 3
0
 private static EnvironmentConfig createConfig() {
   return EnvironmentConfig.defaultConfig().withBuildPlugin().withVcsPlugin();
 }