Package org.apache.sqoop.client.request

Examples of org.apache.sqoop.client.request.VersionRequest.doGet()


public class VersionTest extends TomcatTestCase {

  @Test
  public void testVersion() {
    VersionRequest versionRequest = new VersionRequest();
    VersionBean versionBean = versionRequest.doGet(getServerUrl());

    assertEquals(versionBean.getVersion(), VersionInfo.getVersion());
    assertEquals(versionBean.getDate(), VersionInfo.getDate());
    assertEquals(versionBean.getRevision(), VersionInfo.getRevision());
    assertEquals(versionBean.getUser(), VersionInfo.getUser());
View Full Code Here


public class VersionTest extends TomcatTestCase {

  @Test
  public void testVersion() {
    VersionRequest versionRequest = new VersionRequest();
    VersionBean versionBean = versionRequest.doGet(getServerUrl());

    assertEquals(versionBean.getVersion(), VersionInfo.getVersion());
    assertEquals(versionBean.getDate(), VersionInfo.getDate());
    assertEquals(versionBean.getRevision(), VersionInfo.getRevision());
    assertEquals(versionBean.getUser(), VersionInfo.getUser());
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.