Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for oneArg (0.28 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
      }
    
      public void testNonStaticOneArgMethodsThatShouldPass() throws Exception {
        OneArg foo = new OneArg();
        for (String methodName : NONSTATIC_ONE_ARG_METHODS_SHOULD_PASS) {
          Method method = OneArg.class.getMethod(methodName, String.class);
          try {
            new NullPointerTester().testMethodParameter(foo, method, 0);
          } catch (AssertionError unexpected) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/rule/describe/MethodModelRuleDescriptorTest.groovy

            then:
            sb.toString() == ModelType.of(getClass()).displayName + "#" + desc
    
            where:
            method        | desc
            "noArgs"      | 'noArgs()'
            "oneArg"      | 'oneArg(String)'
            "twoArgs"     | 'twoArgs(String, String)'
            "genericArgs" | 'genericArgs(List<String>, Map<Integer, List<String>>)'
        }
    
        def "inner classes are described"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. src/html/template/multi_test.go

    	{"variable declared by template", `{{template "nested" $x:=.SI}},{{index $x 1}}`, "[3 4 5],4", tVal, true},
    
    	// User-defined function: test argument evaluator.
    	{"testFunc literal", `{{oneArg "joe"}}`, "oneArg=joe", tVal, true},
    	{"testFunc .", `{{oneArg .}}`, "oneArg=joe", "joe", true},
    }
    
    // These strings are also in testdata/*.
    const multiText1 = `
    	{{define "x"}}TEXT{{end}}
    	{{define "dotV"}}{{.V}}{{end}}
    `
    
    const multiText2 = `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 8K bytes
    - Viewed (0)
  4. src/text/template/multi_test.go

    	{"variable declared by template", `{{template "nested" $x:=.SI}},{{index $x 1}}`, "[3 4 5],4", tVal, true},
    
    	// User-defined function: test argument evaluator.
    	{"testFunc literal", `{{oneArg "joe"}}`, "oneArg=joe", tVal, true},
    	{"testFunc .", `{{oneArg .}}`, "oneArg=joe", "joe", true},
    }
    
    // These strings are also in testdata/*.
    const multiText1 = `
    	{{define "x"}}TEXT{{end}}
    	{{define "dotV"}}{{.V}}{{end}}
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 10:48:29 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  5. src/html/template/exec_test.go

    	{"bug16e", "{{0i|printf}}", "", tVal, false},
    	{"bug16f", "{{true|twoArgs \"xxx\"}}", "", tVal, false},
    	{"bug16g", "{{\"aaa\" |twoArgs \"bbb\"}}", "twoArgs=bbbaaa", tVal, true},
    	{"bug16h", "{{1|oneArg}}", "", tVal, false},
    	{"bug16i", "{{\"aaa\"|oneArg}}", "oneArg=aaa", tVal, true},
    	{"bug16j", "{{1+2i|printf \"%v\"}}", "(1&#43;2i)", tVal, true},
    	{"bug16k", "{{\"aaa\"|printf }}", "aaa", tVal, true},
    	{"bug17a", "{{.NonEmptyInterface.X}}", "x", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. src/text/template/exec_test.go

    	{"bug16e", "{{0i|printf}}", "", tVal, false},
    	{"bug16f", "{{true|twoArgs \"xxx\"}}", "", tVal, false},
    	{"bug16g", "{{\"aaa\" |twoArgs \"bbb\"}}", "twoArgs=bbbaaa", tVal, true},
    	{"bug16h", "{{1|oneArg}}", "", tVal, false},
    	{"bug16i", "{{\"aaa\"|oneArg}}", "oneArg=aaa", tVal, true},
    	{"bug16j", "{{1+2i|printf \"%v\"}}", "(1+2i)", tVal, true},
    	{"bug16k", "{{\"aaa\"|printf }}", "aaa", tVal, true},
    	{"bug17a", "{{.NonEmptyInterface.X}}", "x", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/field/fe_alias_test.go

    	type target struct {
    		name     string
    		oneArgF  func(v, x *Element) *Element
    		twoArgsF func(v, x, y *Element) *Element
    	}
    	for _, tt := range []target{
    		{name: "Absolute", oneArgF: (*Element).Absolute},
    		{name: "Invert", oneArgF: (*Element).Invert},
    		{name: "Negate", oneArgF: (*Element).Negate},
    		{name: "Set", oneArgF: (*Element).Set},
    		{name: "Square", oneArgF: (*Element).Square},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/filter_test.go

    			want:     true,
    		},
    		{
    			filter:   noTags,
    			userTags: "A=3",
    			want:     true,
    		},
    		{
    			filter:   oneTag,
    			userTags: "A=3",
    			want:     false,
    		},
    		{
    			filter:   oneTag,
    			userTags: "FOO=1",
    			want:     true,
    		},
    		{
    			filter:   oneTag,
    			userTags: "A=B&FOO=1",
    			want:     true,
    		},
    		{
    			filter:   twoTags,
    			userTags: "",
    			want:     false,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/FilePathUtilTest.groovy

            "some"      | "pather/one"      | "path/two/three"
            "some/path" | "one"             | "two/three"
            ""          | "one"             | "two/three"
            ""          | "oner"            | "one"
            "some/path" | "with/one/ending" | "without/two/different"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge_test.go

    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    func TestMergeSpecV3(t *testing.T) {
    	tests := []struct {
    		name     string
    		specs    []*spec3.OpenAPI
    		expected *spec3.OpenAPI
    	}{
    		{
    			name: "oneCRD",
    			specs: []*spec3.OpenAPI{{
    				Paths: &spec3.Paths{
    					Paths: map[string]*spec3.Path{
    						"/apis/stable.example.com/v1/crd1": {},
    					},
    				},
    				Components: &spec3.Components{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 12 20:11:45 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top