Package edu.wpi.cs.wpisuitetng.modules.defecttracker

Examples of edu.wpi.cs.wpisuitetng.modules.defecttracker.MockRequest


    // Click the mouse on the second row
    controller.mouseClicked(me);

    // See if the request was sent
    MockRequest request = ((MockNetwork)Network.getInstance()).getLastRequestMade();
    if (request == null) {
      fail("request not sent");
    }
    assertTrue(request.isSent());

    // Validate the request
    assertEquals("/defecttracker/defect/" + defectId, request.getUrl().getPath());
    assertEquals(HttpMethod.GET, request.getHttpMethod());
  }
View Full Code Here

TOP

Related Classes of edu.wpi.cs.wpisuitetng.modules.defecttracker.MockRequest

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.