Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 399 for test14 (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/proxy/util/linebuffer_test.go

    			name:     "none",
    			input:    []interface{}{},
    			expected: "\n",
    		},
    		{
    			name:     "one string",
    			input:    []interface{}{"test1"},
    			expected: "test1\n",
    		},
    		{
    			name:     "one slice",
    			input:    []interface{}{[]string{"test1", "test2"}},
    			expected: "test1 test2\n",
    		},
    		{
    			name:     "mixed",
    			input:    []interface{}{"s1", "s2", []string{"s3", "s4"}, "", "s5", []string{}, []string{"s6"}, "s7"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 12:38:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIntegrationTest.groovy

        def "can have multiple test task instances"() {
            given:
            file('src/test/java/org/gradle/Test1.java') << """
                package org.gradle;
                ${testFrameworkImports}
                public class Test1 {
                    @Test public void ok() { }
                }
            """.stripIndent()
            file('src/test2/java/org/gradle/Test2.java') << """
                package org.gradle;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. 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)
  8. pkg/credentialprovider/plugin/plugin_test.go

    			registry: "test2.registry.io",
    		},
    		{
    			name:     "provide for registry 3",
    			registry: "test3.registry.io",
    		},
    		{
    			name:     "provide for registry 4",
    			registry: "test4.registry.io",
    		},
    	}
    
    	pluginProvider := &pluginProvider{
    		clock:          tclock,
    		lastCachePurge: tclock.Now(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 09 06:11:06 UTC 2022
    - 26.5K bytes
    - Viewed (0)
  9. test/typeparam/issue48016.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"strconv"
    )
    
    func test1[T any](fn func(T) int, v T) int {
    	fn1 := func() int {
    		var i interface{} = v
    		val := fn(i.(T))
    		return val
    	}
    	return fn1()
    }
    
    func main() {
    	want := 123
    	got := test1(func(s string) int {
    		r, err := strconv.Atoi(s)
    		if err != nil {
    			return 0
    		}
    		return r
    	}, "123")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 574 bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            assertContentType("text/x-csrc", "extractor/program/test.c", "test.c");
            assertContentType("text/x-c++src", "extractor/program/test.cpp", "test.cpp");
            assertContentType("text/x-chdr", "extractor/program/test.h", "test.h");
            assertContentType("text/x-c++hdr", "extractor/program/test.hpp", "test.hpp");
            assertContentType("text/x-java-source", "extractor/program/test.java", "test.java");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top