1 /* 2 * Copyright (C) 2008 The Guava Authors 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package com.google.common.base; 17 public class StopwatchTest_gwt extends com.google.gwt.junit.client.GWTTestCase { getModuleName()18@Override public String getModuleName() { 19 return "com.google.common.base.testModule"; 20 } testCreateStarted()21public void testCreateStarted() throws Exception { 22 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 23 testCase.testCreateStarted(); 24 } 25 testCreateUnstarted()26public void testCreateUnstarted() throws Exception { 27 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 28 testCase.testCreateUnstarted(); 29 } 30 testElapsedMillis()31public void testElapsedMillis() throws Exception { 32 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 33 testCase.testElapsedMillis(); 34 } 35 testElapsedMillis_multipleSegments()36public void testElapsedMillis_multipleSegments() throws Exception { 37 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 38 testCase.testElapsedMillis_multipleSegments(); 39 } 40 testElapsedMillis_notRunning()41public void testElapsedMillis_notRunning() throws Exception { 42 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 43 testCase.testElapsedMillis_notRunning(); 44 } 45 testElapsedMillis_whileRunning()46public void testElapsedMillis_whileRunning() throws Exception { 47 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 48 testCase.testElapsedMillis_whileRunning(); 49 } 50 testElapsed_micros()51public void testElapsed_micros() throws Exception { 52 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 53 testCase.testElapsed_micros(); 54 } 55 testElapsed_millis()56public void testElapsed_millis() throws Exception { 57 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 58 testCase.testElapsed_millis(); 59 } 60 testElapsed_multipleSegments()61public void testElapsed_multipleSegments() throws Exception { 62 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 63 testCase.testElapsed_multipleSegments(); 64 } 65 testElapsed_notRunning()66public void testElapsed_notRunning() throws Exception { 67 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 68 testCase.testElapsed_notRunning(); 69 } 70 testElapsed_whileRunning()71public void testElapsed_whileRunning() throws Exception { 72 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 73 testCase.testElapsed_whileRunning(); 74 } 75 testInitialState()76public void testInitialState() throws Exception { 77 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 78 testCase.testInitialState(); 79 } 80 testReset_new()81public void testReset_new() throws Exception { 82 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 83 testCase.testReset_new(); 84 } 85 testReset_whileRunning()86public void testReset_whileRunning() throws Exception { 87 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 88 testCase.testReset_whileRunning(); 89 } 90 testStart()91public void testStart() throws Exception { 92 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 93 testCase.testStart(); 94 } 95 testStart_whileRunning()96public void testStart_whileRunning() throws Exception { 97 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 98 testCase.testStart_whileRunning(); 99 } 100 testStop()101public void testStop() throws Exception { 102 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 103 testCase.testStop(); 104 } 105 testStop_alreadyStopped()106public void testStop_alreadyStopped() throws Exception { 107 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 108 testCase.testStop_alreadyStopped(); 109 } 110 testStop_new()111public void testStop_new() throws Exception { 112 com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest(); 113 testCase.testStop_new(); 114 } 115 } 116