/** Test of createSettingsPanel method, of class ResponseTimesDistributionGui. */ @Test public void testCreateSettingsPanel() { System.out.println("createSettingsPanel"); ResponseTimesDistributionGui instance = new ResponseTimesDistributionGui(); JSettingsPanel result = instance.createSettingsPanel(); assertNotNull(result); }
@Test public void testGetStaticLabel() { System.out.println("getStaticLabel"); ResponseTimesDistributionGui instance = new ResponseTimesDistributionGui(); String result = instance.getStaticLabel(); assertTrue(result.length() > 0); }
/** Test of getWikiPage method, of class ResponseTimesDistributionGui. */ @Test public void testGetWikiPage() { System.out.println("getWikiPage"); ResponseTimesDistributionGui instance = new ResponseTimesDistributionGui(); String expResult = ""; String result = instance.getWikiPage(); assertTrue(result.length() > 0); }
@Test public void testGetLabelResource() { System.out.println("getLabelResource"); ResponseTimesDistributionGui instance = new ResponseTimesDistributionGui(); String expResult = "ResponseTimesDistributionGui"; String result = instance.getLabelResource(); assertEquals(expResult, result); }
@Test public void testAdd() { System.out.println("add"); SampleResult res = new SampleResult(); res.setAllThreads(1); res.setThreadName("test 1-2"); res.setStampAndTime(System.currentTimeMillis(), 1000); ResponseTimesDistributionGui instance = new ResponseTimesDistributionGui(); instance.add(res); }