Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,046 for expecting (1.58 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/CombinatorsTest.kt

            val parser = combinator.symbol("foo") * combinator.symbol("bar")
            assertFailure(parser("foo"), "Expecting symbol 'bar'")
            assertFailure(parser("bar"), "Expecting symbol 'foo', but got 'bar' instead")
            assertFailure(parser("foobar"), "Expecting symbol 'foo', but got 'foobar' instead")
        }
    
        private
        fun assertFailure(parse: ParserResult<*>, reason: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScopeTest.kt

        fun `given a single id, it should create a single request with no version`() {
            expecting(plugin(id = "plugin-id")) {
                id("plugin-id")
            }
        }
    
        @Test
        fun `given a single id and apply value, it should create a single request with no version`() {
            listOf(true, false).forEach { applyValue ->
                expecting(plugin(id = "plugin-id", isApply = applyValue)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 06:46:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectInAnyOrder.java

        }
    
        @Override
        public boolean expecting(HttpExchange exchange) {
            lock.lock();
            try {
                if (current != null) {
                    return current.expecting(exchange);
                }
                for (TrackingHttpHandler handler : available) {
                    if (handler.expecting(exchange)) {
                        return true;
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. pkg/log/config_test.go

    	if err := Configure(o); err != nil {
    		t.Errorf("Expecting success, got %v", err)
    	} else if s.GetOutputLevel() != InfoLevel {
    		t.Errorf("Expecting InfoLevel, got %v", s.GetOutputLevel())
    	}
    
    	o = DefaultOptions()
    	o.stackTraceLevels = "default:debug,all:info"
    	if err := Configure(o); err != nil {
    		t.Errorf("Expecting success, got %v", err)
    	} else if s.GetStackTraceLevel() != InfoLevel {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreterTest.kt

            assertDynamicInterpretationOf(
                """java""",
                "Expecting token of type RBRACE, but got IDENTIFIER ('java') instead"
            )
        }
    
        @Test
        fun `unsupported syntax - version catalog alias`() {
            assertDynamicInterpretationOf(
                """alias(libs.plugins.jmh)""",
                "Expecting token of type RBRACE, but got IDENTIFIER ('alias') instead"
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 15:15:27 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. docs/site-replication/run-multi-site-minio-idp.sh

    sleep 10
    
    ./mc admin policy info minio1 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio2 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio3 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin user info minio1 foobar
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. pkg/log/default_test.go

    			}
    			funcs.Store(pt)
    
    			if c.debugEnabled != DebugEnabled() {
    				t.Errorf("Got %v, expecting %v", DebugEnabled(), c.debugEnabled)
    			}
    
    			if c.infoEnabled != InfoEnabled() {
    				t.Errorf("Got %v, expecting %v", InfoEnabled(), c.infoEnabled)
    			}
    
    			if c.warnEnabled != WarnEnabled() {
    				t.Errorf("Got %v, expecting %v", WarnEnabled(), c.warnEnabled)
    			}
    
    			if c.errorEnabled != ErrorEnabled() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags_test.go

    				if err == nil || !strings.Contains(err.Error(), tc.expectedError) {
    					t.Errorf("expecting error %q, got %v", tc.expectedError, err)
    				}
    				return
    			}
    			if err != nil {
    				t.Errorf("unexpected error: %v", err)
    			}
    
    			if len(out.String()) != len(tc.expectedOutput) {
    				t.Errorf("unexpected output: expecting %q, got %q", tc.expectedOutput, out.String())
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags_test.go

    				if err == nil || !strings.Contains(err.Error(), tc.expectedParseError) {
    					t.Errorf("expecting error %q, got %v", tc.expectedError, err)
    				}
    				return
    			}
    			if err != nil {
    				t.Errorf("unexpected error: %v", err)
    			}
    
    			if !strings.Contains(out.String(), tc.expectedOutput) {
    				t.Errorf("unexpected output: expecting %q, got %q", tc.expectedOutput, out.String())
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/ErrorParsingTest.kt

                        potentialElementSource = indexes: 2..16, line/column: 1/3..1/17, file: test,
                        erroneousSource = indexes: 16..16, line/column: 1/17..1/17, file: test
                    )
                )
                ErroneousStatement (
                    ParsingError(
                        message = Expecting an element,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 09:41:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top