Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 110 for booltest (0.16 sec)

  1. src/go/doc/testdata/examples/inspect_signature.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package foo_test
    
    import (
    	"bytes"
    	"io"
    )
    
    func getReader() io.Reader { return nil }
    
    func do(b bytes.Reader) {}
    
    func Example() {
    	getReader()
    	do()
    	// Output:
    }
    
    func ExampleIgnored() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 353 bytes
    - Viewed (0)
  2. src/go/doc/testdata/examples/whole_file.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package foo_test
    
    import "fmt"
    
    type X int
    
    func (X) Foo() {
    }
    
    func (X) TestBlah() {
    }
    
    func (X) BenchmarkFoo() {
    }
    
    func Example() {
    	fmt.Println("Hello, world!")
    	// Output: Hello, world!
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 353 bytes
    - Viewed (0)
  3. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

        }
    
        def "Only one suite with a given test type allowed per project"() {
            file("src/primaryIntTest/java/com/example/FooTest.java") << "package com.example; class FooTest {}"
            file("src/secondaryIntTest/java/com/example/FooTest.java") << "package com.example; class FooTest {}"
    
            file("application/build.gradle") << """
                apply plugin: 'org.gradle.test-report-aggregation'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. src/go/doc/testdata/examples/values.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package foo_test
    
    // Variable declaration with fewer values than names.
    
    func f() (int, int) {
    	return 1, 2
    }
    
    var a, b = f()
    
    // Need two examples to hit playExample.
    
    func ExampleA() {
    	_ = a
    }
    
    func ExampleB() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 23:13:45 UTC 2022
    - 377 bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/TestFilter.java

    public interface TestFilter {
    
        /**
         * Appends a test name pattern to the inclusion filter. Wildcard '*' is supported, either test method name or class name is supported. Examples of test names: "com.foo.FooTest.someMethod",
         * "com.foo.FooTest", "*FooTest*", "com.foo*". See examples in the docs for {@link TestFilter}.
         *
         * @param testNamePattern test name pattern to include, can be class or method name, can contain wildcard '*'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/runtime/registry_test.go

    func TestDecodeInto(t *testing.T) {
    	type PluginFooConfig struct {
    		FooTest string `json:"fooTest,omitempty"`
    	}
    	tests := []struct {
    		name     string
    		args     *runtime.Unknown
    		expected PluginFooConfig
    	}{
    		{
    			name: "test decode for JSON config",
    			args: &runtime.Unknown{
    				ContentType: runtime.ContentTypeJSON,
    				Raw: []byte(`{
    					"fooTest": "test decode"
    				}`),
    			},
    			expected: PluginFooConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskRelocationIntegrationTest.groovy

        @Override
        protected void setupProjectIn(TestFile projectDir) {
            projectDir.file("src/main/java/Foo.java") << "public class Foo {}"
            projectDir.file("src/test/java/FooTest.java") << """
                import org.junit.*;
    
                public class FooTest {
                    @Test
                    public void test() {
                        new Foo();
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_compile_binary.txt

    env GO111MODULE=off
    
    ! go test -c compile_binary/...
    stderr 'build comment'
    
    -- compile_binary/foo_test.go --
    // +build foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 04 15:10:03 UTC 2019
    - 136 bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskJvmArgsProviderIntegrationTest.groovy

    class TestTaskJvmArgsProviderIntegrationTest extends AbstractIntegrationSpec {
    
        def "jvm argument providers are passed to the test worker"() {
            file("src/test/java/FooTest.java") << """
                import java.io.*;
                import org.junit.*;
    
                public class FooTest {
                    @Test
                    public void test() throws IOException {
                        String location = System.getProperty("input.path");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. src/go/doc/testdata/examples/iota.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package foo_test
    
    const (
    	a = iota
    	b
    )
    
    const (
    	c = 3
    	d = 4
    )
    
    const (
    	e = iota
    	f
    )
    
    // The example refers to only one of the constants in the iota group, but we
    // must keep all of them because of the iota. The second group of constants can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 23:13:45 UTC 2022
    - 596 bytes
    - Viewed (0)
Back to top