Package org.eclipse.egit.core.test

Examples of org.eclipse.egit.core.test.TestProject.createFolder()


  @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,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.