test_class.declarator: MULE_VERSION = MAIN_MULE_VERSION
test_class.modifier: private static final
test_class.original_string: private static final MuleVersionEnum MULE_VERSION = MAIN_MULE_VERSION;
test_class.type: MuleVersionEnum
test_class.var_name: MULE_VERSION
test_class.declarator: TRANSPORTS = new ArrayList<TransportEnum>()
test_class.modifier: private static final
test_class.original_string: private static final List<TransportEnum> TRANSPORTS = new ArrayList<TransportEnum>();
test_class.type: List<TransportEnum>
test_class.var_name: TRANSPORTS
test_class.declarator: TEST_OUT_FOLDER = PreferencesUtil.getDefaultRootFolder() + "/jUnitTests"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_OUT_FOLDER = PreferencesUtil.getDefaultRootFolder() + "/jUnitTests";
test_class.type: String
test_class.var_name: TEST_OUT_FOLDER
test_class.declarator: PROJECT = "ordermgm"
test_class.modifier: private static final
test_class.original_string: private static final String PROJECT = "ordermgm";
test_class.type: String
test_class.var_name: PROJECT
test_class.declarator: PROJECT_FOLDER = TEST_OUT_FOLDER + "/" + PROJECT
test_class.modifier: private static final
test_class.original_string: private static final String PROJECT_FOLDER = TEST_OUT_FOLDER + "/" + PROJECT;
test_class.type: String
test_class.var_name: PROJECT_FOLDER
test_class.declarator: EXPECTED_NO_OF_IC_FILES_CREATED = 35
test_class.modifier: public  static final
test_class.original_string: public  static final int EXPECTED_NO_OF_IC_FILES_CREATED = 35;
test_class.type: int
test_class.var_name: EXPECTED_NO_OF_IC_FILES_CREATED
test_class.file: tools/soitoolkit-generator/soitoolkit-generator/src/test/java/org/soitoolkit/tools/generator/IntegrationComponentGeneratorTest.java
test_class.identifier: IntegrationComponentGeneratorTest
test_class.superclass: extends AbstractGeneratorTest
test_case.body: @Test
  	public void testGenerateVgrPicsara2melior() throws IOException {
  
          // Bail out if the v1 generators are deprecated and soon to be removed...
          if (DEPRECATE_V1_GENERATORS) return;
  
          String grp = "se.vgregion.pilot";
  		String name = "picsara2melior-sas-003";
  		
  		SystemUtil.delDirs(TEST_OUT_FOLDER + "/" + name);
  		assertEquals(0, SystemUtil.countFiles(TEST_OUT_FOLDER + "/" + name));
  
  		new IntegrationComponentGenerator(System.out, grp, name, "1.0-SNAPSHOT", MULE_VERSION, STANDALONE_DEPLOY, TRANSPORTS, TEST_OUT_FOLDER).startGenerator();
  		assertEquals("Missmatch in expected number of created files and folders", EXPECTED_NO_OF_IC_FILES_CREATED - 2, SystemUtil.countFiles(TEST_OUT_FOLDER + "/" + name));
  
  		SystemUtil.executeCommand(BUILD_COMMAND, TEST_OUT_FOLDER + "/" + name);
  	}
test_case.class_method_signature: IntegrationComponentGeneratorTest.testGenerateVgrPicsara2melior()
test_case.full_signature: @Test public void testGenerateVgrPicsara2melior()
test_case.identifier: testGenerateVgrPicsara2melior
test_case.invocations: delDirs assertEquals countFiles startGenerator assertEquals countFiles executeCommand
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGenerateVgrPicsara2melior()
focal_class.declarator: gu
focal_class.original_string: GeneratorUtil gu;
focal_class.type: GeneratorUtil
focal_class.var_name: gu
focal_class.declarator: muleVersion
focal_class.original_string: MuleVersionEnum muleVersion;
focal_class.type: MuleVersionEnum
focal_class.var_name: muleVersion
focal_class.file: tools/soitoolkit-generator/soitoolkit-generator/src/main/java/org/soitoolkit/tools/generator/IntegrationComponentGenerator.java
focal_class.identifier: IntegrationComponentGenerator
focal_class.interfaces: implements Generator
focal_class.class_method_signature: IntegrationComponentGenerator.IntegrationComponentGenerator(PrintStream ps, String groupId, String artifactId, String version, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports, String outputFolder)
focal_class.full_signature: public  IntegrationComponentGenerator(PrintStream ps, String groupId, String artifactId, String version, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports, String outputFolder)
focal_class.identifier: IntegrationComponentGenerator
focal_class.modifiers: public
focal_class.parameters: (PrintStream ps, String groupId, String artifactId, String version, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports, String outputFolder)
focal_class.signature:  IntegrationComponentGenerator(PrintStream ps, String groupId, String artifactId, String version, MuleVersionEnum muleVersion, DeploymentModelEnum deploymentModel, List<TransportEnum> transports, String outputFolder)
focal_class.class_method_signature: IntegrationComponentGenerator.startGenerator()
focal_class.full_signature: public void startGenerator()
focal_class.identifier: startGenerator
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void startGenerator()
focal_method.body: public void startGenerator() {
  
  		gu.generateContentAndCreateFile("pom.xml.gt");
  		gu.generateContentAndCreateFile("mule-project.xml.gt");
  
  		gu.generateFolder("src/main/java/__javaPackageFilepath__");
  		gu.generateFolder("src/environment");
  		gu.generateFolder("mappings");
  		gu.generateFolder("flows");
      	gu.generateContentAndCreateFileUsingGroovyGenerator(getClass().getResource("GenerateMinimalMflow.groovy"), "flows/__artifactId__-common.mflow");
  
  		gu.generateContentAndCreateFile("src/main/app/__artifactId__-common.xml.gt");
  		gu.generateContentAndCreateFile("src/main/app/mule-deploy.properties.gt");
  
  	    if (gu.getModel().isJdbc()) {
  			gu.generateContentAndCreateFile("src/main/app/__artifactId__-jdbc-connector.xml.gt");
  			gu.generateContentAndCreateFile("src/environment/setup/__artifactId__-db-create-tables.sql.gt");
  			gu.generateContentAndCreateFile("src/environment/setup/__artifactId__-db-drop-tables.sql.gt");
  			gu.generateContentAndCreateFile("src/environment/setup/__artifactId__-db-insert-testdata.sql.gt");
  	    }
  
  		gu.generateContentAndCreateFile("src/test/java/__javaPackageFilepath__/__capitalizedJavaArtifactId__MuleServer.java.gt");
  		gu.generateFolder("src/test/resources/testfiles");
  		gu.generateFolder("src/test/resources/teststub-services");
  		
  		// Mule 3.6 changed from log4j-1.2 to log4j-2 which uses different config files
  		if (muleVersion.isVersionEqualOrGreater(MuleVersionEnum.MULE_3_6_1)) {
  			gu.generateContentAndCreateFile("src/main/resources/log4j2.xml.gt");
  			gu.generateContentAndCreateFile("src/environment/log4j2.xml.gt");
  		}
  		else {
  			gu.generateContentAndCreateFile("src/main/resources/log4j.dtd.gt");
  			gu.generateContentAndCreateFile("src/main/resources/log4j.xml.gt");
  			gu.generateContentAndCreateFile("src/environment/log4j.dtd.gt");
  			gu.generateContentAndCreateFile("src/environment/log4j.xml.gt");
  		}
  		
  		gu.generateContentAndCreateFile("src/main/resources/__configPropertyFile__.properties.gt");
      }
focal_method.class_method_signature: IntegrationComponentGenerator.startGenerator()
focal_method.full_signature: public void startGenerator()
focal_method.identifier: startGenerator
focal_method.invocations: generateContentAndCreateFile generateContentAndCreateFile generateFolder generateFolder generateFolder generateFolder generateContentAndCreateFileUsingGroovyGenerator getResource getClass generateContentAndCreateFile generateContentAndCreateFile isJdbc getModel generateContentAndCreateFile generateContentAndCreateFile generateContentAndCreateFile generateContentAndCreateFile generateContentAndCreateFile generateFolder generateFolder isVersionEqualOrGreater generateContentAndCreateFile generateContentAndCreateFile generateContentAndCreateFile generateContentAndCreateFile generateContentAndCreateFile generateContentAndCreateFile generateContentAndCreateFile
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void startGenerator()