Package org.eclipse.egit.core.synchronize.dto

Examples of org.eclipse.egit.core.synchronize.dto.GitSynchronizeData$RemoteAndMerge


  @Test
  public void shouldReturnNullResourceVariant() throws Exception {
    // when
    new Git(repo).commit().setAuthor("JUnit", "junit@egit.org")
        .setMessage("Initial commit").call();
    GitSynchronizeData data = new GitSynchronizeData(repo, HEAD, MASTER,
        false);
    GitSynchronizeDataSet dataSet = new GitSynchronizeDataSet(data);

    // given
    GitResourceVariantTree grvt = new GitRemoteResourceVariantTree(null,
View Full Code Here


    IPackageFragment iPackage = project.createPackage("org.egit.test");
    IType mainJava = project.createType(iPackage, "Main.java",
        "class Main {}");
    new Git(repo).commit().setAuthor("JUnit", "junit@egit.org")
        .setMessage("Initial commit").call();
    GitSynchronizeData data = new GitSynchronizeData(repo, HEAD, MASTER,
        false);
    GitSynchronizeDataSet dataSet = new GitSynchronizeDataSet(data);
    GitSyncCache cache = GitSyncCache.getAllData(dataSet,
        new NullProgressMonitor());
View Full Code Here

    String fileName = "Main.java";
    File file = testRepo.createFile(iProject, fileName);
    testRepo.appendContentAndCommit(iProject, file, "class Main {}",
        "initial commit");
    IFile mainJava = testRepo.getIFile(iProject, file);
    GitSynchronizeData data = new GitSynchronizeData(repo, HEAD, MASTER,
        false);
    GitSynchronizeDataSet dataSet = new GitSynchronizeDataSet(data);
    GitSyncCache cache = GitSyncCache.getAllData(dataSet,
        new NullProgressMonitor());
View Full Code Here

    testRepo.createAndCheckoutBranch(Constants.R_HEADS + Constants.MASTER,
        Constants.R_HEADS + "test");
    testRepo.appendContentAndCommit(iProject, file, "// test",
        "first commit");
    GitSynchronizeData data = new GitSynchronizeData(repo, HEAD, MASTER,
        true);
    GitSynchronizeDataSet dataSet = new GitSynchronizeDataSet(data);
    GitSyncCache cache = GitSyncCache.getAllData(dataSet,
        new NullProgressMonitor());
View Full Code Here

   * should not be relevant. To keep this test as short as possible, we'll
   * only test a single comparison.
   */
  @Test
  public void queryHistoryThroughTeam() throws IOException, CoreException {
    GitSynchronizeData gsd = new GitSynchronizeData(
        testRepository.getRepository(), MASTER, BRANCH, false);
    GitSynchronizeDataSet gsds = new GitSynchronizeDataSet(gsd);
    GitResourceVariantTreeSubscriber subscriber = new GitResourceVariantTreeSubscriber(
        gsds);
    subscriber.init(new NullProgressMonitor());
View Full Code Here

TOP

Related Classes of org.eclipse.egit.core.synchronize.dto.GitSynchronizeData$RemoteAndMerge

Copyright © 2018 www.massapicom. 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.