protected void setUp() throws Exception {
    super.setUp();

    project = createProject("Project_", new String[] {"File1.txt", "File2.txt"});

    file1 = project.getFile("File1.txt");
    file2 = project.getFile("File2.txt");
    file1.setContents(new ByteArrayInputStream(fileContents1.getBytes()), true, true, null);
    file2.setContents(new ByteArrayInputStream(fileContents2.getBytes()), true, true, null);

    RuntimeLog.addLogListener(logListener);
  }
 protected void tearDown() throws Exception {
   // remove log listener
   RuntimeLog.removeLogListener(logListener);
   super.tearDown();
 }