Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for abac_test (0.21 sec)

  1. src/runtime/abi_test.go

    Andy Pan <******@****.***> 1706754074 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. cmd/import-boss/main_test.go

    		expect: false,
    	}, {
    		input:  []string{"foo_test.go"},
    		expect: true,
    	}, {
    		input:  []string{"foo.go", "foo_test.go"},
    		expect: true,
    	}, {
    		input:  []string{"foo.go", "foo_test.go", "bar.go", "bar_test.go"},
    		expect: true,
    	}}
    
    	for _, tc := range cases {
    		ret := hasTestFiles(tc.input)
    		if ret != tc.expect {
    			t.Errorf("expected %v, got %v: %q", tc.expect, ret, tc.input)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //   when launching the sub-process.  This means that the user must
    //   invoke the test program via a path that contains at least one
    //   path separator (e.g. path/to/foo_test and
    //   /absolute/path/to/bar_test are fine, but foo_test is not).  This
    //   is rarely a problem as people usually don't put the test binary
    //   directory in PATH.
    //
    // TODO(******@****.***): make thread-safe death tests search the PATH.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. src/testing/testing.go

    //	}
    //
    // If the file is in a separate "_test" package, the package being tested
    // must be imported explicitly and only its exported identifiers may be used.
    // This is known as "black box" testing.
    //
    //	package abs_test
    //
    //	import (
    //		"testing"
    //
    //		"path_to_pkg/abs"
    //	)
    //
    //	func TestAbs(t *testing.T) {
    //	    got := abs.Abs(-1)
    //	    if got != 1 {
    //	        t.Errorf("Abs(-1) = %d; want 1", got)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top