Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 280 for testone (0.16 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/version/version_test.go

    limitations under the License.
    */
    
    package version
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    )
    
    type testItem struct {
    	version    string
    	unparsed   string
    	equalsPrev bool
    }
    
    func testOne(v *Version, item, prev testItem) error {
    	str := v.String()
    	if item.unparsed == "" {
    		if str != item.version {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 19:25:29 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/ptr_test.go

    	// the add +1 run in serial before testOne blocks. The -1 run in parallel
    	// after testOne finishes.
    	var pending int32
    	for _, pt := range ptrTests {
    		pt := pt
    		t.Run(pt.name, func(t *testing.T) {
    			atomic.AddInt32(&pending, +1)
    			defer func() {
    				if atomic.AddInt32(&pending, -1) == 0 {
    					os.RemoveAll(dir)
    				}
    			}()
    			testOne(t, pt, exe, exe2)
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  3. src/runtime/syscall_windows_test.go

    	}
    }
    
    func TestOutputDebugString(t *testing.T) {
    	d := GetDLL(t, "kernel32.dll")
    	p := syscall.StringToUTF16Ptr("testing OutputDebugString")
    	d.Proc("OutputDebugStringW").Call(uintptr(unsafe.Pointer(p)))
    }
    
    func TestRaiseException(t *testing.T) {
    	if strings.HasPrefix(testenv.Builder(), "windows-amd64-2012") {
    		testenv.SkipFlaky(t, 49681)
    	}
    	o := runTestProg(t, "testprog", "RaiseException")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/testing/testing.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 testing
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"reflect"
    	"strconv"
    	"sync"
    
    	"github.com/google/go-cmp/cmp"
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. src/go/doc/testdata/testing.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package testing provides support for automated testing of Go packages.
    // It is intended to be used in concert with the “go test” utility, which automates
    // execution of any function of the form
    //     func TestXxx(*testing.T)
    // where Xxx can be any alphanumeric string (but the first letter must not be in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  6. src/internal/testenv/testenv.go

    // license that can be found in the LICENSE file.
    
    // Package testenv provides information about what functionality
    // is available in different testing environments run by the Go team.
    //
    // It is an internal package because these details are specific
    // to the Go team's test setup (on build.golang.org) and not
    // fundamental to tests in general.
    package testenv
    
    import (
    	"bytes"
    	"errors"
    	"flag"
    	"fmt"
    	"internal/cfg"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/testing.md

    Nils Lindemann <******@****.***> 1713469999 +0200
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/img/testing-pyramid.png

    testing-pyramid.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 18:40:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/ld_test.go

    package ld
    
    import (
    	"bytes"
    	"debug/pe"
    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestUndefinedRelocErrors(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	// When external linking, symbols may be defined externally, so we allow
    	// undefined symbols and let external linker resolve. Skip the test.
    	testenv.MustInternalLink(t, false)
    
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/elf_test.go

    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			if test.mustInternalLink {
    				testenv.MustInternalLink(t, test.mustHaveCGO)
    			}
    			if test.mustHaveCGO {
    				testenv.MustHaveCGO(t)
    			}
    			if test.mustHaveBuildModePIE {
    				testenv.MustHaveBuildMode(t, "pie")
    			}
    			if test.mustHaveBuildModePIE && test.mustInternalLink {
    				testenv.MustInternalLinkPIE(t)
    			}
    
    			var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top