Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testProg (0.13 sec)

  1. 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");
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    	testlog, err := os.ReadFile(a.Objdir + "testlog.txt")
    	if err != nil || !bytes.HasPrefix(testlog, testlogMagic) || testlog[len(testlog)-1] != '\n' {
    		if cache.DebugTest {
    			if err != nil {
    				fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: %v\n", a.Package.ImportPath, err)
    			} else {
    				fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: malformed\n", a.Package.ImportPath)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. src/testing/testing.go

    		os.Exit(2)
    	}
    	if *testlog != "" {
    		// Note: Not using toOutputDir.
    		// This file is for use by cmd/go, not users.
    		var f *os.File
    		var err error
    		if m.numRun == 1 {
    			f, err = os.Create(*testlog)
    		} else {
    			f, err = os.OpenFile(*testlog, os.O_WRONLY, 0)
    			if err == nil {
    				f.Seek(0, io.SeekEnd)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final Closeable mockCloseable = Mockito.mock(Closeable.class);
    
      @Override
      protected void tearDown() throws Exception {
        assertNoExpectedFailures();
        super.tearDown();
      }
    
      public void testFrom() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
                .transform(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final Closeable mockCloseable = Mockito.mock(Closeable.class);
    
      @Override
      protected void tearDown() throws Exception {
        assertNoExpectedFailures();
        super.tearDown();
      }
    
      public void testFrom() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
                .transform(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  6. src/math/all_test.go

    		if f, s := Lgamma(vflgammaSC[i]); !alike(lgammaSC[i].f, f) || lgammaSC[i].i != s {
    			t.Errorf("Lgamma(%g) = %g, %d, want %g, %d", vflgammaSC[i], f, s, lgammaSC[i].f, lgammaSC[i].i)
    		}
    	}
    }
    
    func TestLog(t *testing.T) {
    	for i := 0; i < len(vf); i++ {
    		a := Abs(vf[i])
    		if f := Log(a); log[i] != f {
    			t.Errorf("Log(%g) = %g, want %g", a, f, log[i])
    		}
    	}
    	if f := Log(10); f != Ln10 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
Back to top