Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testAddAfterRun (0.26 sec)

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

        thread2.start();
        assertEquals(0, runCalled.get());
        okayToRun.countDown();
        thread1.join();
        thread2.join();
        assertEquals(1, runCalled.get());
      }
    
      public void testAddAfterRun() throws Exception {
        // Run the previous test
        testRunOnPopulatedList();
    
        // If it passed, then verify an Add will be executed without calling run
        CountDownLatch countDownLatch = new CountDownLatch(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        thread2.start();
        assertEquals(0, runCalled.get());
        okayToRun.countDown();
        thread1.join();
        thread2.join();
        assertEquals(1, runCalled.get());
      }
    
      public void testAddAfterRun() throws Exception {
        // Run the previous test
        testRunOnPopulatedList();
    
        // If it passed, then verify an Add will be executed without calling run
        CountDownLatch countDownLatch = new CountDownLatch(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 4.7K bytes
    - Viewed (0)
Back to top