Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 217 for TestM1 (0.12 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/test.go

    					// Actual function libraries must not break backward compatibility
    					return types.False
    				}))))
    		options = append(options, cel.Function("testV1",
    			cel.Overload("testV1", []*cel.Type{}, cel.BoolType,
    				cel.FunctionBinding(func(args ...ref.Val) ref.Val {
    					return types.True
    				}))))
    	}
    	return options
    }
    
    func (*testLib) ProgramOptions() []cel.ProgramOption {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIntegrationTest.groovy

        @Requires(IntegTestPreconditions.NotParallelExecutor)
        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') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy

            taskType = taskName.capitalize()
            fileExtension = taskName
        }
    
        def "#taskName sorts by target file name"() {
    
            given:
            createDir('dir1') {
                file('test1.txt') << 'test1'
                file('test2.txt') << 'test2'
            }
            buildFile << """
            task ${taskName}(type: ${taskType}) {
                reproducibleFileOrder = true
                preserveFileTimestamps = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 11.3K 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. test/escape3.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test the run-time behavior of escape analysis-related optimizations.
    
    package main
    
    func main() {
    	test1()
    }
    
    func test1() {
    	check1(0)
    	check1(1)
    	check1(2)
    }
    
    type T1 struct {
    	X, Y, Z int
    }
    
    func f() int {
    	return 1
    }
    
    func check1(pass int) T1 {
    	v := []T1{{X: f(), Z: f()}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 524 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_relative_cmdline.txt

    )
    
    func TestF(t *testing.T) {
    	if F() != p1.F() {
    		t.Fatal(F())
    	}
    }
    -- testimport/x_test.go --
    package p_test
    
    import (
    	. "../testimport"
    
    	"./p2"
    
    	"testing"
    )
    
    func TestF1(t *testing.T) {
    	if F() != p2.F() {
    		t.Fatal(F())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 19:10:58 UTC 2022
    - 688 bytes
    - Viewed (0)
  8. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            ProfileActivation activation;
    
            activation = new ProfileActivation();
            performProfileActivation(parser.parse(options, new String[] {"-P", "test1,+test2,?test3,+?test4"}), activation);
            assertThat(activation.getRequiredActiveProfileIds(), containsInAnyOrder("test1", "test2"));
            assertThat(activation.getOptionalActiveProfileIds(), containsInAnyOrder("test3", "test4"));
    
            activation = new ProfileActivation();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K 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/plain", null, "hoge.txt");
            assertContentType("text/html", "html/test1.html", "hoge.html");
            assertContentType("text/html", "html/test1.html", "hoge.htm");
            assertContentType("text/html", "html/test1.shtml", "hoge.shtml");
    
            assertContentType("application/msword", "test/text1.txt", "hoge.doc");
    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