示例#1
0
  /**
   * Run the List<String> getAllTpsKeys() method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 12/15/14 3:52 PM
   */
  @Test
  public void testGetAllTpsKeys_1() throws Exception {
    JobQueueManager fixture = new JobQueueManager();
    fixture.tableState = new TableViewState();
    fixture.tablePrefs = new TablePreferences(new LinkedList());

    List<String> result = fixture.getAllTpsKeys();
  }
示例#2
0
  /**
   * Run the boolean isRefreshEnabled() method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 12/15/14 3:52 PM
   */
  @Test
  public void testIsRefreshEnabled_1() throws Exception {
    JobQueueManager fixture = new JobQueueManager();
    fixture.tableState = new TableViewState();
    fixture.tablePrefs = new TablePreferences(new LinkedList());

    boolean result = fixture.isRefreshEnabled();
    assertTrue(!result);
  }
示例#3
0
  /**
   * Run the void keysChanged() method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 12/15/14 3:52 PM
   */
  @Test
  public void testKeysChanged_1() throws Exception {
    JobQueueManager fixture = new JobQueueManager();
    fixture.tableState = new TableViewState();
    fixture.tablePrefs = new TablePreferences(new LinkedList());

    fixture.keysChanged();

    // 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)
  }
示例#4
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());
 }