コード例 #1
0
ファイル: HDRequestTest.java プロジェクト: atehrani/Tank
  /**
   * Run the void setProtocol(String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testSetProtocol_1() throws Exception {
    HDRequest fixture = new HDRequest();
    fixture.setProtocol("");
    fixture.setQueryString(new LinkedList());
    fixture.setRequestHeaders(new LinkedList());
    fixture.setMethod("");
    fixture.setPostDatas(new LinkedList());
    fixture.setReqFormat("");
    fixture.setLoggingKey("");
    fixture.setLabel("");
    fixture.setPort("");
    fixture.setPayload("");
    fixture.setPath("");
    fixture.setHost("");
    String protocol = "";

    fixture.setProtocol(protocol);
  }
コード例 #2
0
ファイル: HDRequestTest.java プロジェクト: atehrani/Tank
  /**
   * Run the String getLoggingKey() method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testGetLoggingKey_1() throws Exception {
    HDRequest fixture = new HDRequest();
    fixture.setProtocol("");
    fixture.setQueryString(new LinkedList());
    fixture.setRequestHeaders(new LinkedList());
    fixture.setMethod("");
    fixture.setPostDatas(new LinkedList());
    fixture.setReqFormat("");
    fixture.setLoggingKey("");
    fixture.setLabel("");
    fixture.setPort("");
    fixture.setPayload("");
    fixture.setPath("");
    fixture.setHost("");

    String result = fixture.getLoggingKey();

    assertEquals("", result);
  }