Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 571 for test15 (0.09 sec)

  1. src/cmd/go/testdata/script/cover_pattern.txt

    # then it will try to load sleepybad, which does not compile,
    # and the test command will fail.
    ! go list m/sleepy...
    go test -c -n -coverprofile=$TMPDIR/cover.out -coverpkg=m/sleepy... -run=^$ m/sleepy1
    
    -- go.mod --
    module m
    
    go 1.16
    -- sleepy1/p_test.go --
    package p
    
    import (
    	"testing"
    	"time"
    )
    
    func Test1(t *testing.T) {
    	time.Sleep(200 * time.Millisecond)
    }
    -- sleepy2/p_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 683 bytes
    - Viewed (0)
  2. test/fixedbugs/issue65962.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	test1()
    	test2()
    }
    
    type I interface {
    	f()
    	g()
    	h()
    }
    
    //go:noinline
    func ld[T any]() {
    	var x I
    	if _, ok := x.(T); ok {
    	}
    }
    
    func isI(x any) {
    	_ = x.(I)
    }
    
    func test1() {
    	defer func() { recover() }()
    	ld[bool]() // add <bool,I> itab to binary
    	_ = any(false).(I)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:30:40 UTC 2024
    - 625 bytes
    - Viewed (0)
  3. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/IncrementalAntlrTaskIntegrationTest.groovy

            when:
            grammar("Test1", "Test2")
            then:
            succeeds("generateGrammarSource")
    
            test1TokenFile.exists()
            test1LexerFile.exists()
            test1ParserFile.exists()
    
            test2TokenFile.exists()
            test2LexerFile.exists()
            test2ParserFile.exists()
    
            when:
            removedGrammar("Test1")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. test/fixedbugs/bug286.go

    //
    // Error: test2 calls g instead of f
    
    func test1(x I) {
    	type J interface {
    		I
    		g()
    	}
    	x.(J).f()
    	if callee != "f" {
    		println("test1 called", callee)
    		error_ = true
    	}
    }
    
    func test2(x I) {
    	type J interface {
    		g()
    		I
    	}
    	x.(J).f()
    	if callee != "f" {
    		println("test2 called", callee)
    		error_ = true
    	}
    }
    
    type J interface {
    	g()
    	I
    }
    
    func test3(x I) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  5. pkg/registry/core/componentstatus/rest_test.go

    			*(createTestStatus("test1", api.ConditionUnknown, "", "fizzbuzz error"))},
    	}
    	if e, a := expect, got; !reflect.DeepEqual(e, a) {
    		t.Errorf("Got unexpected object. Diff: %s", cmp.Diff(e, a))
    	}
    }
    
    func TestGet_NoError(t *testing.T) {
    	r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
    	got, err := r.Get(genericapirequest.NewContext(), "test1", &metav1.GetOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. platforms/software/version-control/src/test/groovy/org/gradle/vcs/internal/DefaultSourceControlTest.groovy

            repo != null
            def repo2 = sourceControl.gitRepository(new URI("https://gradle.org/test2"))
            repo2 != repo
        }
    
        def "can register and configure a Git repository"() {
            def action = Mock(Action)
    
            when:
            def repo = sourceControl.gitRepository(new URI("https://gradle.org/test1"), action)
            repo != null
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. tensorflow/cc/experimental/libtf/tests/value_test.cc

      ASSERT_STREQ(value1a.s(), "string1");
      ASSERT_STREQ(value2.s(), "string2");
    }
    
    TEST(Test1, TestDict) {
      TaggedValue s1("test1");
      TaggedValue s2("test2");
      TaggedValue d = TaggedValue::Dict();
      d.dict()[s2] = TaggedValue(6.f);
      std::stringstream stream;
      stream << d;
      ASSERT_EQ(stream.str(), "{test2: 6, }");
    }
    
    namespace {
    TaggedValue add(TaggedValue args, TaggedValue kwargs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestCountLoggerTest.groovy

        def logsCountOfTestsExecuted() {
            TestDescriptor test1 = test()
            TestDescriptor test2 = test()
    
            logger.beforeSuite(rootSuite)
    
            when:
            logger.afterTest(test1, result())
            logger.beforeTest(test2)
    
            then:
            1 * progressLogger.progress('1 test completed')
    
            when:
            logger.afterTest(test2, result())
            logger.afterSuite(rootSuite, result())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener_test.go

    	// storing the services out of time order to test that it's being sorted properly.
    	testOutboundListenerConflict(t,
    		buildServiceWithPort("test1.com", 3306, protocol.HTTP, tnow.Add(1*time.Second)),
    		buildServiceWithPort("test2.com", 3306, protocol.MySQL, tnow))
    	testOutboundListenerConflict(t,
    		buildServiceWithPort("test1.com", 9999, protocol.HTTP, tnow.Add(1*time.Second)),
    		buildServiceWithPort("test2.com", 9999, protocol.MySQL, tnow))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolverTest.groovy

            def header1 = includeDir.createFile("test.h")
            includePaths << includeDir
    
            macros << macro("TEST", '"test.h"')
            macroFunctions << macroFunction("TEST1", "TEST")
            macros << macro("TEST2", "TEST1()")
            macros << macro("TEST3", "TEST2")
            macros << unresolvableMacro("IGNORE")
    
            expect:
            def result = resolve(include('TEST3'))
            result.complete
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
Back to top