Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 536 for testone (0.15 sec)

  1. hack/lib/init.sh

    # ln -s $T/dir $T/linkdir
    # function testone() {
    #   X=$(readlink -f $1 2>&1)
    #   Y=$(kube::readlinkdashf $1 2>&1)
    #   if [ "$X" != "$Y" ]; then
    #     echo readlinkdashf $1: expected "$X", got "$Y"
    #   fi
    # }
    # testone /
    # testone /tmp
    # testone $T
    # testone $T/file
    # testone $T/dir
    # testone $T/linkfile
    # testone $T/linkdir
    # testone $T/nonexistant
    # testone $T/linkdir/file
    # testone $T/linkdir/dir
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. testing/performance/src/templates/with-verbose-junit/Test.java

        @org.junit.Test
        public void testOne() {
            for (int i = 0; i < 1000; i++) {
                System.out.println("Some test output from ${testClassName}.testOne - " + i);
                System.err.println("Some test error  from ${testClassName}.testOne - " + i);
            }
            assertEquals(production.getProperty(), "value");
        }
    
        @org.junit.Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 991 bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/fixture/TempDirIsUniquePerTestSpec.groovy

        static tmpDirs = new HashSet()
    
        def setup() {
            //it's very important we try to access the test dir in the setup()
            tmp.testDirectory
        }
    
        def "testOne"() {
            when:
            tests << "testOne"
            tmpDirs << tmp.testDirectory
    
            then:
            tests.size() == tmpDirs.size()
        }
    
        def "testTwo"() {
            when:
            tests << "testTwo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. testing/internal-testing/src/test/groovy/org/gradle/util/TempDirIsUniquePerTestSpec.groovy

        static tmpDirs = new HashSet()
    
        def setup() {
            //it's very important we try to access the test dir in the setup()
            temp.testDirectory
        }
    
        def "testOne"() {
            when:
            tests << "testOne"
            tmpDirs << temp.testDirectory
    
            then:
            tests.size() == tmpDirs.size()
        }
    
        def "testTwo"() {
            when:
            tests << "testTwo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. testing/performance/src/templates/with-verbose-testng/Test.java

     */
    
    package ${packageName};
    
    import org.testng.annotations.*;
    import static org.testng.Assert.*;
    
    public class ${testClassName} {
        private final ${productionClassName} production = new ${productionClassName}("value");
    
        @Test
        public void testOne() {
            for (int i = 0; i < 1000; i++) {
                System.out.println("Some test output from ${testClassName}.testOne - " + i);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGTestFrameworkIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testing.testng
    
    import org.gradle.testing.AbstractTestFrameworkIntegrationTest
    import org.gradle.testing.fixture.TestNGCoverage
    import spock.lang.Issue
    
    class TestNGTestFrameworkIntegrationTest extends AbstractTestFrameworkIntegrationTest {
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/time/time_test.go

    		}
    		return true
    	}
    
    	// manual test cases
    	for _, tt := range truncateRoundTests {
    		testOne(tt.t.Unix(), int64(tt.t.Nanosecond()), int64(tt.d))
    	}
    
    	// exhaustive near 0
    	for i := 0; i < 100; i++ {
    		for j := 1; j < 100; j++ {
    			testOne(unixToZero, int64(i), int64(j))
    			testOne(unixToZero, -int64(i), int64(j))
    			if t.Failed() {
    				return
    			}
    		}
    	}
    
    	if t.Failed() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  10. 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)
Back to top