@Test
public void testResourceCompare() throws Exception {
// we just want to test that we can call the JFace resource name
// comparator which itself is tested by JFace
TestProject p = new TestProject();
p.createFolder("test");
IFile f1 = p.createFile("test/z.txt", "z".getBytes("UTF-8"));
IFile f2 = p.createFile("test/d.txt", "d".getBytes("UTF-8"));
IFile f3 = p.createFile("test/a.txt", "a".getBytes("UTF-8"));
List<IResource> expected = Arrays
.asList(new IResource[] { f3, f2,