Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestBasics (0.11 sec)

  1. src/internal/coverage/cformat/fmt_test.go

    // license that can be found in the LICENSE file.
    
    package cformat_test
    
    import (
    	"internal/coverage"
    	"internal/coverage/cformat"
    	"slices"
    	"strings"
    	"testing"
    )
    
    func TestBasics(t *testing.T) {
    	fm := cformat.NewFormatter(coverage.CtrModeAtomic)
    
    	mku := func(stl, enl, nx uint32) coverage.CoverableUnit {
    		return coverage.CoverableUnit{
    			StLine:  stl,
    			EnLine:  enl,
    			NxStmts: nx,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        e = new SequentialExecutor(fakePool);
      }
    
      public void testConstructingWithNullExecutor_fails() {
        assertThrows(NullPointerException.class, () -> new SequentialExecutor(null));
      }
    
      public void testBasics() {
        final AtomicInteger totalCalls = new AtomicInteger();
        Runnable intCounter =
            new Runnable() {
              @Override
              public void run() {
                totalCalls.incrementAndGet();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        e = new SequentialExecutor(fakePool);
      }
    
      public void testConstructingWithNullExecutor_fails() {
        assertThrows(NullPointerException.class, () -> new SequentialExecutor(null));
      }
    
      public void testBasics() {
        final AtomicInteger totalCalls = new AtomicInteger();
        Runnable intCounter =
            new Runnable() {
              @Override
              public void run() {
                totalCalls.incrementAndGet();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. src/net/http/cookiejar/jar_test.go

    		[]query{
    			{
    				"http://www.host.test",
    				`cookie-1="quoted" cookie-2="quoted with spaces" cookie-3="quoted,with,commas" cookie-4=" ,"`,
    			},
    		},
    	},
    }
    
    func TestBasics(t *testing.T) {
    	for _, test := range basicsTests {
    		jar := newTestJar()
    		test.run(t, jar)
    	}
    }
    
    // updateAndDeleteTests contains jarTests which must be performed on the same
    // Jar.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top