Package org.evolizer.core.util.projecthandling

Examples of org.evolizer.core.util.projecthandling.JavaProjectHelper.addPackage()


     */
    public static void setUpProject() throws CoreException, IOException{
        JavaProjectHelper helper = new JavaProjectHelper();
        helper.createProject("TestProject1", "bin", null);
        helper.addStandartSourceFolder(null);
        helper.addPackage("testPackage", null);
        helper.addPackage("testPackage.ae", null);
   
        helper.addSourceFile("testPackage.ae", "IEnumPlanet.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/IEnumPlanet.java")), null);
        helper.addSourceFile("testPackage.ae", "EnumPlanet.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/EnumPlanet.java")), null);
        helper.addSourceFile("testPackage.ae", "UseEnumPlanet.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/UseEnumPlanet.java")), null);
View Full Code Here


    public static void setUpProject() throws CoreException, IOException{
        JavaProjectHelper helper = new JavaProjectHelper();
        helper.createProject("TestProject1", "bin", null);
        helper.addStandartSourceFolder(null);
        helper.addPackage("testPackage", null);
        helper.addPackage("testPackage.ae", null);
   
        helper.addSourceFile("testPackage.ae", "IEnumPlanet.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/IEnumPlanet.java")), null);
        helper.addSourceFile("testPackage.ae", "EnumPlanet.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/EnumPlanet.java")), null);
        helper.addSourceFile("testPackage.ae", "UseEnumPlanet.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/UseEnumPlanet.java")), null);
    }
View Full Code Here

     */
    public static void setUpProject() throws CoreException, IOException{
        JavaProjectHelper helper = new JavaProjectHelper();
        helper.createProject("TestProject1", "bin", null);
        helper.addStandartSourceFolder(null);
        helper.addPackage("testPackage", null);
        helper.addPackage("testPackage.ae", null);
   
        helper.addSourceFile("testPackage", "Base.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/Base.java")), null);
        helper.addSourceFile("testPackage", "IBase.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/IBase.java")), null);
        helper.addSourceFile("testPackage", "InnerAnonym.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/InnerAnonym.java")), null);
View Full Code Here

    public static void setUpProject() throws CoreException, IOException{
        JavaProjectHelper helper = new JavaProjectHelper();
        helper.createProject("TestProject1", "bin", null);
        helper.addStandartSourceFolder(null);
        helper.addPackage("testPackage", null);
        helper.addPackage("testPackage.ae", null);
   
        helper.addSourceFile("testPackage", "Base.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/Base.java")), null);
        helper.addSourceFile("testPackage", "IBase.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/IBase.java")), null);
        helper.addSourceFile("testPackage", "InnerAnonym.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/InnerAnonym.java")), null);
        helper.addSourceFile("testPackage", "Sum.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/Sum.java")), null);
View Full Code Here

  protected static void setUpProject() throws CoreException, IOException{
    JavaProjectHelper helper = new JavaProjectHelper();
    helper.createProject("TestTheBigVoid", "bin", null);
    helper.addStandartSourceFolder(null);
    helper.addPackage("thebigvoid", null);
   
    helper.addSourceFile("thebigvoid", "Galaxy.java", getFileContent(DAForJavaPlugin.getDefault().openBundledFile("./data/thebigvoid/Galaxy.java")), null);
    helper.addSourceFile("thebigvoid", "GasGiant.java", getFileContent(DAForJavaPlugin.getDefault().openBundledFile("./data/thebigvoid/GasGiant.java")), null);
    helper.addSourceFile("thebigvoid", "ILawsOfTheUniverse.java", getFileContent(DAForJavaPlugin.getDefault().openBundledFile("./data/thebigvoid/ILawsOfTheUniverse.java")), null);
    helper.addSourceFile("thebigvoid", "INonSolidObject.java", getFileContent(DAForJavaPlugin.getDefault().openBundledFile("./data/thebigvoid/INonSolidObject.java")), null);
View Full Code Here

     */
    public static void setUpProject() throws CoreException, IOException{
        JavaProjectHelper helper = new JavaProjectHelper();
        helper.createProject("TestProject1", "bin", null);
        helper.addStandartSourceFolder(null);
        helper.addPackage("testPackage", null);
        helper.addPackage("testPackage.ae", null);
   
        helper.addSourceFile("testPackage.ae", "SimpleTemplate.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/SimpleTemplate.java")), null);
        helper.addSourceFile("testPackage.ae", "UseTemplates.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/UseTemplates.java")), null);
        helper.addSourceFile("testPackage", "IBase.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/IBase.java")), null);
View Full Code Here

    public static void setUpProject() throws CoreException, IOException{
        JavaProjectHelper helper = new JavaProjectHelper();
        helper.createProject("TestProject1", "bin", null);
        helper.addStandartSourceFolder(null);
        helper.addPackage("testPackage", null);
        helper.addPackage("testPackage.ae", null);
   
        helper.addSourceFile("testPackage.ae", "SimpleTemplate.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/SimpleTemplate.java")), null);
        helper.addSourceFile("testPackage.ae", "UseTemplates.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/UseTemplates.java")), null);
        helper.addSourceFile("testPackage", "IBase.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/IBase.java")), null);
        helper.addSourceFile("testPackage", "Base.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/Base.java")), null);
View Full Code Here

  protected static void setUpProject1() throws CoreException, IOException{
    JavaProjectHelper helper = new JavaProjectHelper();
    helper.createProject("TestProject1", "bin", null);
    helper.addStandartSourceFolder(null);
    helper.addPackage("testPackage", null);
   
    helper.addSourceFile("testPackage", "Base.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/Base.java")), null);
    helper.addSourceFile("testPackage", "IBase.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/IBase.java")), null);
    helper.addSourceFile("testPackage", "InnerAnonym.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/InnerAnonym.java")), null);
    helper.addSourceFile("testPackage", "Sum.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/Sum.java")), null);
View Full Code Here

 
  protected static void setUpProject2() throws CoreException, IOException{
    JavaProjectHelper helper = new JavaProjectHelper();
    helper.createProject("TestProject2", "bin", null);
    helper.addStandartSourceFolder(null);
    helper.addPackage("testPackage.ae", null);
   
    helper.addSourceFile("testPackage.ae", "Test.java", TestHelper.getFileContent(FamixImporterPlugin.openBundledFile("./data/testPackage/ae/Test.java")), null);
  }

  @Test
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.