Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for testStop (0.21 sec)

  1. android/guava-tests/test/com/google/common/base/StopwatchTest.java

      }
    
      public void testStop() {
        stopwatch.start();
        assertSame(stopwatch, stopwatch.stop());
        assertFalse(stopwatch.isRunning());
      }
    
      public void testStop_new() {
        try {
          stopwatch.stop();
          fail();
        } catch (IllegalStateException expected) {
        }
        assertFalse(stopwatch.isRunning());
      }
    
      public void testStop_alreadyStopped() {
        stopwatch.start();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StopwatchTest.java

      }
    
      public void testStop() {
        stopwatch.start();
        assertSame(stopwatch, stopwatch.stop());
        assertFalse(stopwatch.isRunning());
      }
    
      public void testStop_new() {
        try {
          stopwatch.stop();
          fail();
        } catch (IllegalStateException expected) {
        }
        assertFalse(stopwatch.isRunning());
      }
    
      public void testStop_alreadyStopped() {
        stopwatch.start();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      }
    
      public void testStop_withoutStart() {
        TestService service = new TestService();
        service.stopAsync().awaitTerminated();
        assertEquals(0, service.startUpCalled);
        assertEquals(0, service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
        assertThat(service.transitionStates).isEmpty();
      }
    
      public void testStop_afterStart() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      }
    
      public void testStop_withoutStart() {
        TestService service = new TestService();
        service.stopAsync().awaitTerminated();
        assertEquals(0, service.startUpCalled);
        assertEquals(0, service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
        assertThat(service.transitionStates).isEmpty();
      }
    
      public void testStop_afterStart() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        assertEquals(Service.State.TERMINATED, service.state());
        assertEquals(1, service.startupCalled);
        assertEquals(0, service.runCalled);
        assertEquals(1, service.shutdownCalled);
      }
    
      public void testStop_noStart() {
        FakeService service = new FakeService();
        service.stopAsync().awaitTerminated();
        assertEquals(Service.State.TERMINATED, service.state());
        assertEquals(0, service.startupCalled);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        assertEquals(Service.State.TERMINATED, service.state());
        assertEquals(1, service.startupCalled);
        assertEquals(0, service.runCalled);
        assertEquals(1, service.shutdownCalled);
      }
    
      public void testStop_noStart() {
        FakeService service = new FakeService();
        service.stopAsync().awaitTerminated();
        assertEquals(Service.State.TERMINATED, service.state());
        assertEquals(0, service.startupCalled);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/cgo_test.go

    func Test45451(t *testing.T)                 { test45451(t) }
    func Test49633(t *testing.T)                 { test49633(t) }
    func TestAlign(t *testing.T)                 { testAlign(t) }
    func TestAtol(t *testing.T)                  { testAtol(t) }
    func TestBlocking(t *testing.T)              { testBlocking(t) }
    func TestBoolAlign(t *testing.T)             { testBoolAlign(t) }
    func TestCallGoWithString(t *testing.T)      { testCallGoWithString(t) }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/testdata/istio-operator.yaml

          configPath: "/etc/istio/proxy"
          binaryPath: "/usr/local/bin/envoy"
          # The pseudo service name used for Envoy.
          serviceCluster: istio-proxy
      values:
        global:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 689 bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/testdata/deployment/hello.yaml.iop.injected

              name: http
            resources: {}
          - image: docker.io/istio/proxy_debug:unittest
            name: istio-proxy
            resources: {}
          initContainers:
          - image: docker.io/istio/proxy_init:unittest-testiop
            name: istio-init
            resources: {}
    status: {}
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

        Properties testProp = new Properties();
    
        Map<String, String> result = Maps.fromProperties(testProp);
        assertTrue(result.isEmpty());
        testProp.setProperty("first", "true");
    
        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
        assertEquals(1, result.size());
        testProp.setProperty("second", "null");
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
Back to top