Ejemplo n.º 1
0
  /**
   * Run the void setVariables(HDTestVariables) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testSetVariables_1() throws Exception {
    HDWorkload fixture = new HDWorkload();
    fixture.setVariables(new HDTestVariables());
    fixture.setName("");
    fixture.setDescription("");
    HDTestVariables variables = new HDTestVariables();

    fixture.setVariables(variables);
  }
Ejemplo n.º 2
0
  /**
   * Run the void setName(String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testSetName_1() throws Exception {
    HDWorkload fixture = new HDWorkload();
    fixture.setVariables(new HDTestVariables());
    fixture.setName("");
    fixture.setDescription("");
    String name = "";

    fixture.setName(name);
  }
Ejemplo n.º 3
0
  /**
   * Run the int hashCode() method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testHashCode_1() throws Exception {
    HDWorkload fixture = new HDWorkload();
    fixture.setVariables(new HDTestVariables());
    fixture.setName("");
    fixture.setDescription("");

    int result = fixture.hashCode();

    assertEquals(861102, result);
  }
Ejemplo n.º 4
0
  /**
   * Run the String getName() method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testGetName_1() throws Exception {
    HDWorkload fixture = new HDWorkload();
    fixture.setVariables(new HDTestVariables());
    fixture.setName("");
    fixture.setDescription("");

    String result = fixture.getName();

    assertEquals("", result);
  }
Ejemplo n.º 5
0
  /**
   * Run the boolean equals(Object) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testEquals_1() throws Exception {
    HDWorkload fixture = new HDWorkload();
    fixture.setVariables(new HDTestVariables());
    fixture.setName("");
    fixture.setDescription("");
    Object obj = new Object();

    boolean result = fixture.equals(obj);

    assertEquals(false, result);
  }
Ejemplo n.º 6
0
  /**
   * Run the HDTestVariables getVariables() method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testGetVariables_1() throws Exception {
    HDWorkload fixture = new HDWorkload();
    fixture.setVariables(new HDTestVariables());
    fixture.setName("");
    fixture.setDescription("");

    HDTestVariables result = fixture.getVariables();

    assertNotNull(result);
    assertEquals(false, result.isAllowOverride());
  }
Ejemplo n.º 7
0
  /**
   * Run the List<HDTestPlan> getPlans() method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 9/10/14 9:36 AM
   */
  @Test
  public void testGetPlans_1() throws Exception {
    HDWorkload fixture = new HDWorkload();
    fixture.setVariables(new HDTestVariables());
    fixture.setName("");
    fixture.setDescription("");

    List<HDTestPlan> result = fixture.getPlans();

    assertNotNull(result);
    assertEquals(0, result.size());
  }