Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 217 for TestM1 (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher_test.go

    					ExpressionAccessor: &MatchCondition{
    						Name: "test1",
    					},
    				},
    			},
    			shouldMatch:  false,
    			returnedName: "test1",
    		},
    		{
    			name: "test multiple no match",
    			evaluations: []cel.EvaluationResult{
    				{
    					EvalResult: celtypes.False,
    					ExpressionAccessor: &MatchCondition{
    						Name: "test1",
    					},
    				},
    				{
    					EvalResult: celtypes.False,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. src/internal/gover/gover_test.go

    	{"1.99999999999999999", Version{"1", "99999999999999999", "", "", ""}},
    }
    
    func TestLang(t *testing.T) { test1(t, langTests, "Lang", Lang) }
    
    var langTests = []testCase1[string, string]{
    	{"1.2rc3", "1.2"},
    	{"1.2.3", "1.2"},
    	{"1.2", "1.2"},
    	{"1", "1"},
    	{"1.999testmod", "1.999"},
    }
    
    func TestIsLang(t *testing.T) { test1(t, isLangTests, "IsLang", IsLang) }
    
    var isLangTests = []testCase1[string, bool]{
    	{"1.2rc3", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/kotlin/src/test/java/org/gradle/testng/TestFactory.java

        @BeforeClass
        public void beforeClass() {
            System.out.println("TestFactory[" + data + "].beforeClass()");
        }
    
        @Test
        public void test1() {
            System.out.println("TestFactory[" + data + "].test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("TestFactory[" + data + "].test2()");
        }
    
        @AfterClass
        public void afterClass() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. test/fixedbugs/issue8004.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"reflect"
    	"runtime"
    	"unsafe"
    )
    
    func main() {
    	test1()
    	test2()
    }
    
    func test1() {
    	var all []interface{}
    	for i := 0; i < 100; i++ {
    		p := new([]int)
    		*p = append(*p, 1, 2, 3, 4)
    		h := (*reflect.SliceHeader)(unsafe.Pointer(p))
    		all = append(all, h, p)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  5. test/closedchan.go

    		if recover() == nil {
    			panic("did not panic")
    		}
    	}()
    	f()
    }
    
    func test1(c Chan) {
    	for i := 0; i < 3; i++ {
    		// recv a close signal (a zero value)
    		if x := c.Recv(); x != 0 {
    			println("test1: recv on closed:", x, c.Impl())
    			failed = true
    		}
    		if x, ok := c.Recv2(); x != 0 || ok {
    			println("test1: recv2 on closed:", x, ok, c.Impl())
    			failed = true
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 5.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/swift/testFiltering/groovy/src/test/swift/SomeIntegTest.swift

    import XCTest
    
    class SomeIntegTest: XCTestCase {
        public static var allTests = [
            ("test1", test1),
            ("test2", test2)
        ]
        func test1() {}
        func test2() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 183 bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitJdkNavigationIntegrationTest.groovy

                        value = 1;
                    }
                }
            """.stripIndent()
            file('src/test/java/org/gradle/Test1.java') << """
                package org.gradle;
    
                ${testFrameworkImports}
    
                public class Test1 extends AbstractTest {
    
                    @Test
                    public void shouldPass() {
                        assertEquals(1, value);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. test/fixedbugs/issue8048.go

    // containing faulting frame.
    
    package main
    
    import "runtime"
    
    func main() {
    	test1()
    	test2()
    	test3()
    }
    
    func test1() {
    	// test1f will panic without its own defer.
    	// The runtime.GC checks that we can walk the stack
    	// at that point and not get confused.
    	// The recover lets test1 exit normally.
    	defer func() {
    		runtime.GC()
    		recover()
    	}()
    	test1f()
    }
    
    func test1f() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/file/FileOrUriNotationConverterTest.groovy

            setup:
            def testFile = folder.createFile("test1")
            when:
            def object = parse(testFile)
            then:
            object instanceof File
            testFile == object
        }
    
        def "with Path returns the File it represents"() {
            setup:
            def testPath = folder.createFile("test1").toPath()
            when:
            def object = parse(testPath)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 16:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGGroupByInstancesIntegrationTest.groovy

                    }
    
                    @Test
                    public void test1() {
                        System.out.println("TestFactory[" + data + "].test1()");
                    }
    
                    @Test(dependsOnMethods = {"test1"})
                    public void test2() {
                        System.out.println("TestFactory[" + data + "].test2()");
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top