Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 84 for runTest (0.22 sec)

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

      @Override
      protected void runTest() throws Throwable {
        if (profileTests) runTestProfiled();
        else super.runTest();
      }
    
      protected void runTestProfiled() throws Throwable {
        long t0 = System.nanoTime();
        try {
          super.runTest();
        } finally {
          long elapsedMillis = (System.nanoTime() - t0) / (1000L * 1000L);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  2. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    TestSuite(Class[]); private Test testCaseForClass(Class); public void TestSuite(Class[], String); public void addTest(Test); public void addTestSuite(Class); public int countTestCases(); public String getName(); public void run(TestResult); public void runTest(Test, TestResult); public void setName(String); public Test testAt(int); public int testCount(); public java.util.Enumeration tests(); public String toString(); private void addTestMethod(reflect.Method, java.util.List, Class); private boolean is...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 373.7K bytes
    - Viewed (0)
  3. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

    Jesse Wilson <******@****.***> 1704676402 -0500
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        private final Deque<Runnable> tasks = Queues.newArrayDeque();
    
        @Override
        public void execute(Runnable task) {
          tasks.add(task);
        }
    
        private void runNext() {
          tasks.removeFirst().run();
        }
      }
    
      public void testAsyncReload() throws Exception {
        final AtomicInteger loadCount = new AtomicInteger();
        final AtomicInteger reloadCount = new AtomicInteger();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        private final Deque<Runnable> tasks = Queues.newArrayDeque();
    
        @Override
        public void execute(Runnable task) {
          tasks.add(task);
        }
    
        private void runNext() {
          tasks.removeFirst().run();
        }
      }
    
      public void testAsyncReload() throws Exception {
        final AtomicInteger loadCount = new AtomicInteger();
        final AtomicInteger reloadCount = new AtomicInteger();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  6. istioctl/pkg/config/config.go

    		Args:  cobra.ExactArgs(0),
    		RunE: func(c *cobra.Command, _ []string) error {
    			root.Scope.Debugf("Config file %q", root.IstioConfig)
    			return runList(c.OutOrStdout())
    		},
    	}
    	return listCmd
    }
    
    func runList(writer io.Writer) error {
    	// Sort flag names
    	keys := make([]string, len(settableFlags))
    	i := 0
    	for key := range settableFlags {
    		keys[i] = key
    		i++
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          tasks.add(command);
        }
    
        boolean hasNext() {
          return !tasks.isEmpty();
        }
    
        void runNext() {
          assertTrue("expected at least one task to run", hasNext());
          tasks.remove().run();
        }
    
        void runAll() {
          while (hasNext()) {
            runNext();
          }
        }
      }
    
      private FakeExecutor fakePool;
      private SequentialExecutor e;
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          tasks.add(command);
        }
    
        boolean hasNext() {
          return !tasks.isEmpty();
        }
    
        void runNext() {
          assertTrue("expected at least one task to run", hasNext());
          tasks.remove().run();
        }
    
        void runAll() {
          while (hasNext()) {
            runNext();
          }
        }
      }
    
      private FakeExecutor fakePool;
      private SequentialExecutor e;
    
      @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  9. cmd/leak-detect_test.go

    			continue
    		}
    		stack := strings.TrimSpace(sl[1])
    		// ignore the testing go routine.
    		// since the tests will be invoking the leaktest it would contain the test go routine.
    		if strings.HasPrefix(stack, "testing.RunTests") {
    			continue
    		}
    		// Ignore the following go routines.
    		// testing and run time go routines should be ignored, only the application generated go routines should be taken into account.
    		if isIgnoredStackFn(stack) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/bufio/scan_test.go

    		}
    	}
    }
    
    // Test that the rune splitter returns same sequence of runes (not bytes) as for range string.
    func TestScanRune(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    		s.Split(ScanRunes)
    		var i, runeCount int
    		var expect rune
    		// Use a string range loop to validate the sequence of runes.
    		for i, expect = range test {
    			if !s.Scan() {
    				break
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top