Package org.eclipse.jgit.api.CherryPickResult

Examples of org.eclipse.jgit.api.CherryPickResult.CherryPickStatus


      response = webConversation.getResponse(request);
      assertEquals(HttpURLConnection.HTTP_OK, response.getResponseCode());

      // CHERRY-PICK
      JSONObject cherryPick = cherryPick(gitHeadUri, toCherryPick);
      CherryPickStatus mergeResult = CherryPickStatus.valueOf(cherryPick.getString(GitConstants.KEY_RESULT));
      assertEquals(CherryPickStatus.OK, mergeResult);
      assertTrue(cherryPick.getBoolean(GitConstants.KEY_HEAD_UPDATED));

      // try again, should be OK, but nothing changed
      cherryPick = cherryPick(gitHeadUri, toCherryPick);
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.api.CherryPickResult.CherryPickStatus

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.