Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for abac_test (0.17 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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