Home | History | Annotate | Download | only in base
      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 {
     18 @Override public String getModuleName() {
     19   return "com.google.common.base.testModule";
     20 }
     21 public void testCreateStarted() throws Exception {
     22   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     23   testCase.testCreateStarted();
     24 }
     25 
     26 public void testCreateUnstarted() throws Exception {
     27   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     28   testCase.testCreateUnstarted();
     29 }
     30 
     31 public void testElapsedMillis() throws Exception {
     32   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     33   testCase.testElapsedMillis();
     34 }
     35 
     36 public void testElapsedMillis_multipleSegments() throws Exception {
     37   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     38   testCase.testElapsedMillis_multipleSegments();
     39 }
     40 
     41 public void testElapsedMillis_notRunning() throws Exception {
     42   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     43   testCase.testElapsedMillis_notRunning();
     44 }
     45 
     46 public void testElapsedMillis_whileRunning() throws Exception {
     47   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     48   testCase.testElapsedMillis_whileRunning();
     49 }
     50 
     51 public void testElapsed_micros() throws Exception {
     52   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     53   testCase.testElapsed_micros();
     54 }
     55 
     56 public void testElapsed_millis() throws Exception {
     57   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     58   testCase.testElapsed_millis();
     59 }
     60 
     61 public void testElapsed_multipleSegments() throws Exception {
     62   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     63   testCase.testElapsed_multipleSegments();
     64 }
     65 
     66 public void testElapsed_notRunning() throws Exception {
     67   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     68   testCase.testElapsed_notRunning();
     69 }
     70 
     71 public void testElapsed_whileRunning() throws Exception {
     72   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     73   testCase.testElapsed_whileRunning();
     74 }
     75 
     76 public void testInitialState() throws Exception {
     77   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     78   testCase.testInitialState();
     79 }
     80 
     81 public void testReset_new() throws Exception {
     82   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     83   testCase.testReset_new();
     84 }
     85 
     86 public void testReset_whileRunning() throws Exception {
     87   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     88   testCase.testReset_whileRunning();
     89 }
     90 
     91 public void testStart() throws Exception {
     92   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     93   testCase.testStart();
     94 }
     95 
     96 public void testStart_whileRunning() throws Exception {
     97   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
     98   testCase.testStart_whileRunning();
     99 }
    100 
    101 public void testStop() throws Exception {
    102   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
    103   testCase.testStop();
    104 }
    105 
    106 public void testStop_alreadyStopped() throws Exception {
    107   com.google.common.base.StopwatchTest testCase = new com.google.common.base.StopwatchTest();
    108   testCase.testStop_alreadyStopped();
    109 }
    110 
    111 public 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