package guitests;

import static org.junit.Assert.assertTrue;

import org.junit.Test;

import seedu.doit.model.TaskManager;
import seedu.doit.model.item.Task;
import seedu.doit.model.util.SampleDataUtil;
import seedu.doit.testutil.TestUtil;

public class SampleDataTest extends TaskManagerGuiTest {
    @Override
    protected TaskManager getInitialData() {
        // return null to force test app to load data from file only
        return null;
    }

    @Override
    protected String getDataFileLocation() {
        // return a non-existent file location to force test app to load sample data
        return TestUtil.getFilePathInSandboxFolder("SomeFileThatDoesNotExist1234567890.xml");
    }

    @Test
    public void taskManager_dataFileDoesNotExist_loadSampleData() throws Exception {
        Task[] expectedList = SampleDataUtil.getSampleTasks();
        assertTrue(taskListPanel.isListMatching(expectedList));
    }
}

@@ -788,16 +788,27 @@
 ption %7B%0A
+        /*%0A
         
@@ -926,16 +926,27 @@
 List));%0A
+        */%0A
     %7D%0A%7D%0A

Comment out test case