Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for abac_test (0.21 sec)

  1. src/internal/abi/abi_test.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package abi_test
    
    import (
    	"internal/abi"
    	"internal/testenv"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    func TestFuncPC(t *testing.T) {
    	// Test that FuncPC* can get correct function PC.
    	pcFromAsm := abi.FuncPCTestFnAddr
    
    	// Test FuncPC for locally defined function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testsanitizers/asan_test.go

    Austin Clements <******@****.***> 1682525786 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. pkg/adsc/adsc_test.go

    Xiaopeng Han <******@****.***> 1703025762 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  4. src/reflect/abi_test.go

    Russ Cox <******@****.***> 1643591623 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 26.4K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/go/testdata/script/cover_test_pkgselect.txt

    	if FooFunc() != 42 {
    		t.Fatalf("bad")
    	}
    }
    
    -- bar/bar.go --
    package bar
    
    import "example/foo"
    
    func BarFunc() int {
    	return foo.FooFunc2()
    }
    
    -- bar/bar_test.go --
    package bar_test
    
    import (
    	"example/bar"
    	"testing"
    )
    
    func TestBar(t *testing.T) {
    	if bar.BarFunc() != 42 {
    		t.Fatalf("bad")
    	}
    }
    
    -- baz/baz.go --
    package baz
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    	}
    }
    -- aa/aa.go --
    package aa
    
    import "M/it"
    
    func AA(y int) int {
    	c := it.Conc{}
    	x := it.Callee(&c)
    	println(x, y)
    	return 0
    }
    -- aa/aa_test.go --
    package aa
    
    import "testing"
    
    func TestMumble(t *testing.T) {
    	AA(3)
    }
    -- b/b.go --
    package b
    
    func init() {
    	println("package 'b' init: release the kraken")
    }
    
    func BFunc() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. pkg/apis/rbac/helpers_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package rbac_test
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	"k8s.io/kubernetes/pkg/apis/rbac"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  9. 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)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/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: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top