Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testStateOrdering (0.08 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    /** Unit tests for {@link Service} */
    @NullUnmarked
    public class ServiceTest extends TestCase {
    
      /** Assert on the comparison ordering of the State enum since we guarantee it. */
      public void testStateOrdering() {
        // List every valid (direct) state transition.
        assertLessThan(NEW, STARTING);
        assertLessThan(NEW, TERMINATED);
    
        assertLessThan(STARTING, RUNNING);
        assertLessThan(STARTING, STOPPING);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top