コード例 #1
0
 /**
  * Run the String getRefreshTimeSeconds() method test.
  *
  * @throws Exception
  * @generatedBy CodePro at 12/15/14 3:52 PM
  */
 @Test
 public void testGetRefreshTimeSeconds_1() throws Exception {
   JobQueueManager fixture = new JobQueueManager();
   fixture.tableState = new TableViewState();
   fixture.tablePrefs = new TablePreferences(new LinkedList());
   fixture.setRefreshTimeSeconds("30");
   String result = fixture.getRefreshTimeSeconds();
   assertNotNull(result);
   Assert.assertEquals("30", fixture.getRefreshTimeSeconds());
 }
コード例 #2
0
  /**
   * Run the void setRefreshTimeSeconds(String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 12/15/14 3:52 PM
   */
  @Test
  public void testSetRefreshTimeSeconds_3() throws Exception {
    JobQueueManager fixture = new JobQueueManager();
    fixture.tableState = new TableViewState();
    fixture.tablePrefs = new TablePreferences(new LinkedList());
    String refreshTimeSeconds = "";

    fixture.setRefreshTimeSeconds(refreshTimeSeconds);

    // An unexpected exception was thrown in user code while executing this test:
    // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
    // at com.intuit.tank.dao.BaseDao.<init>(BaseDao.java:56)
    // at com.intuit.tank.dao.OwnableDao.<init>(OwnableDao.java:27)
    // at com.intuit.tank.dao.ProjectDao.<init>(ProjectDao.java:29)
    // at com.intuit.tank.project.JobTreeTableBean.<init>(JobTreeTableBean.java:96)
    // at com.intuit.tank.project.JobQueueManager.<init>(JobQueueManager.java:8)
  }