예제 #1
0
  /** Test of getProjectFileName method, of class Project. */
  @Test
  public void testGetProjectFileName() {
    System.out.println("---  getProjectFileName");

    String expResult = ProjectStructure.findProjectFile(projDir).getName();
    String result = projLoaded.getProjectFileName();
    assertEquals(expResult, result);
  }
예제 #2
0
  @Before
  public void setUp() {

    System.out.println("---------------   setUp() ProjectTest");
    projFile = ProjectStructure.findProjectFile(projDir);

    try {
      projLoaded = Project.loadProject(projFile, null);

      System.out.println("Proj status: " + projLoaded.getProjectStatusAsString());

    } catch (ProjectFileParsingException ex) {
      fail("Error loading: " + projFile.getAbsolutePath());
    }
  }