Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 623 for itest (0.05 sec)

  1. src/go/doc/example.go

    }
    
    // isTest tells whether name looks like a test, example, fuzz test, or
    // benchmark. It is a Test (say) if there is a character after Test that is not
    // a lower-case letter. (We don't want Testiness.)
    func isTest(name, prefix string) bool {
    	if !strings.HasPrefix(name, prefix) {
    		return false
    	}
    	if len(name) == len(prefix) { // "Test" is ok
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    // type-parameterized tests in one type-parameterized test case.
    // Please contact ******@****.*** if you need
    // more.
    
    #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
    #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_
    
    #include "gtest/internal/gtest-port.h"
    
    // #ifdef __GNUC__ is too general here.  It is possible to use gcc without using
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    showing the test status ('ok' or 'FAIL'), package name, and elapsed
    time.
    
    The second, called package list mode, occurs when go test is invoked
    with explicit package arguments (for example 'go test math', 'go
    test ./...', and even 'go test .'). In this mode, go test compiles
    and tests each of the packages listed on the command line. If a
    package test passes, go test prints only the final 'ok' summary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

      static bool Create(const char* statement, const RE* regex,
                         const char* file, int line, DeathTest** test);
      DeathTest();
      virtual ~DeathTest() { }
    
      // A helper class that aborts a death test when it's deleted.
      class ReturnSentinel {
       public:
        explicit ReturnSentinel(DeathTest* test) : test_(test) { }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modindex/read.go

    		if pkg == "documentation" {
    			p.IgnoredGoFiles = append(p.IgnoredGoFiles, name)
    			continue
    		}
    		isTest := strings.HasSuffix(name, "_test.go")
    		isXTest := false
    		if isTest && strings.HasSuffix(tf.pkgName(), "_test") && p.Name != tf.pkgName() {
    			isXTest = true
    			pkg = pkg[:len(pkg)-len("_test")]
    		}
    
    		if !isTest && tf.binaryOnly() {
    			p.BinaryOnly = true
    		}
    
    		if p.Name == "" {
    			p.Name = pkg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  6. test/stress/parsego.go

    		!strings.HasPrefix(dir.Name(), ".") && // ignore .files
    		path.Ext(dir.Name()) == ".go"
    }
    
    func isPkgFile(dir os.FileInfo) bool {
    	return isGoFile(dir) &&
    		!strings.HasSuffix(dir.Name(), "_test.go") // ignore test files
    }
    
    func pkgName(filename string) string {
    	file, err := parser.ParseFile(token.NewFileSet(), filename, nil, parser.PackageClauseOnly)
    	if err != nil || file == nil {
    		return ""
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/test.go

    	}{
    		{"text", &C.text[0], C.ctext()},
    		{"data", &C.data[0], C.cdata()},
    	}
    	for _, test := range tests {
    		if test.a != test.b {
    			t.Errorf("%s: pointer mismatch: %v != %v", test.s, test.a, test.b)
    		}
    		if got := C.GoString(test.a); got != test.s {
    			t.Errorf("%s: points at %#v, want %#v", test.s, got, test.s)
    		}
    	}
    }
    
    // issues 8368 and 8441
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  8. test/ken/divconst.go

    		i8test(a, b, 6)
    		b = a / 7
    		i8test(a, b, 7)
    		b = a / 8
    		i8test(a, b, 8)
    		b = a / 10
    		i8test(a, b, 10)
    		b = a / 8
    		i8test(a, b, 8)
    		b = a / 20
    		i8test(a, b, 20)
    		b = a / 32
    		i8test(a, b, 32)
    		b = a / 60
    		i8test(a, b, 60)
    		b = a / 64
    		i8test(a, b, 64)
    		b = a / 127
    		i8test(a, b, 127)
    
    		b = a / -1
    		i8test(a, b, -1)
    		b = a / -2
    		i8test(a, b, -2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 9.2K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/AbstractTestFrameworkDetector.java

            }
    
            private TestClass(boolean test, boolean isAbstract, String className, String superClassName) {
                this.test = test;
                this.isAbstract = isAbstract;
                this.className = className;
                this.superClassName = superClassName;
            }
    
            boolean isTest() {
                return test;
            }
    
            boolean isAbstract() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h

    // This file was GENERATED by command:
    //     pump.py gtest-tuple.h.pump
    // DO NOT EDIT BY HAND!!!
    
    // Copyright 2009 Google Inc.
    // All Rights Reserved.
    //
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions are
    // met:
    //
    //     * Redistributions of source code must retain the above copyright
    // notice, this list of conditions and the following disclaimer.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 27.6K bytes
    - Viewed (0)
Back to top