@Test public void testLoading() throws IOException { FakeFileIO file = getFile(); file.setContents("extra_student_files:\n - \"one\"\n - \"two\""); TmcProjectFile result = new TmcProjectFile(file); assertTrue(result.getExtraStudentFiles().contains("one")); assertTrue(result.getExtraStudentFiles().contains("two")); assertEquals(2, result.getExtraStudentFiles().size()); }
public List<String> getExtraStudentFiles() { return this.extraStudentFiles; }
TmcProjectFile { public List<String> getExtraStudentFiles() { return this.extraStudentFiles; } }
TmcProjectFile { public List<String> getExtraStudentFiles() { return this.extraStudentFiles; } TmcProjectFile(FileIO file); }
TmcProjectFile { public List<String> getExtraStudentFiles() { return this.extraStudentFiles; } TmcProjectFile(FileIO file); List<String> getExtraStudentFiles(); void setExtraStudentFiles(List<String> extraStudentFiles); }
TmcProjectFile { public List<String> getExtraStudentFiles() { return this.extraStudentFiles; } TmcProjectFile(FileIO file); List<String> getExtraStudentFiles(); void setExtraStudentFiles(List<String> extraStudentFiles);  }