コード例 #1
0
 /** Test of setMeanResponseTime method, of class LogEntryInterval. */
 @Test
 public void testSetMeanResponseTime() {
   System.out.println("setMeanResponseTime");
   float meanResponseTime = 0.0F;
   LogEntryInterval instance = new LogEntryInterval();
   instance.setMeanResponseTime(meanResponseTime);
 }
コード例 #2
0
 /** Test of setNumberRequests method, of class LogEntryInterval. */
 @Test
 public void testSetNumberRequests() {
   System.out.println("setNumberRequests");
   int numberRequests = 0;
   LogEntryInterval instance = new LogEntryInterval();
   instance.setNumberRequests(numberRequests);
 }
コード例 #3
0
 /** Test of setIntervalNumber method, of class LogEntryInterval. */
 @Test
 public void testSetIntervalNumber() {
   System.out.println("setIntervalNumber");
   int intervalNumber = 0;
   LogEntryInterval instance = new LogEntryInterval();
   instance.setIntervalNumber(intervalNumber);
 }
コード例 #4
0
 /** Test of getMeanResponseTime method, of class LogEntryInterval. */
 @Test
 public void testGetMeanResponseTime() {
   System.out.println("getMeanResponseTime");
   LogEntryInterval instance = new LogEntryInterval();
   float expResult = 0.0F;
   float result = instance.getMeanResponseTime();
   assertEquals(expResult, result, 0.0);
 }
コード例 #5
0
 /** Test of getNumberRequests method, of class LogEntryInterval. */
 @Test
 public void testGetNumberRequests() {
   System.out.println("getNumberRequests");
   LogEntryInterval instance = new LogEntryInterval();
   int expResult = 0;
   int result = instance.getNumberRequests();
   assertEquals(expResult, result);
 }