- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 252 for expectKind (0.23 sec)
-
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt
internal val LighterASTNode.isUseful: Boolean get() = !(COMMENTS.contains(tokenType) || tokenType == WHITE_SPACE || tokenType == SEMICOLON) internal fun LighterASTNode.expectKind(expected: IElementType) { check(isKind(expected)) } internal fun List<LighterASTNode>.expectSingleOfKind(expected: IElementType): LighterASTNode = this.single { it.isKind(expected) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:09 UTC 2024 - 7.3K bytes - Viewed (0) -
pilot/pkg/xds/mesh_network_test.go
type entry struct{ address, sa, network, version string } const name, port = "remote-we-svc", 80 serviceCases := []struct { name, k8s, cfg string expectKind workloadKind }{ { expectKind: Pod, name: "Service", k8s: ` --- apiVersion: v1 kind: Service metadata: name: remote-we-svc namespace: test spec: ports: - port: 80
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 24.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go
list bool expected runtime.Object expectKind schema.GroupVersionKind statusCode int }{ { accept: "application/json;as=PartialObjectMetadata;v=v1alpha1;g=meta.k8s.io", statusCode: http.StatusNotAcceptable, }, { accept: "application/json;as=PartialObjectMetadata;v=v1alpha1;g=meta.k8s.io, application/json",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:15:22 UTC 2023 - 158.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 22:06:18 UTC 2024 - 31.2K bytes - Viewed (0) -
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) -
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) -
test/fixedbugs/issue19467.dir/z.go
frame, more := ci.Next() frames = append(frames, frame) if !more { break } } expecting := []string{ "test/mysync.(*WaitGroup).Add", "test/mysync.(*WaitGroup).Done", } for i := 0; i < 2; i++ { if frames[i].Function != expecting[i] { log.Fatalf("frame %d: got %s, want %s", i, frames[i].Function, expecting[i]) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 17:50:47 UTC 2022 - 696 bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectInAnyOrder.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.4K bytes - Viewed (0) -
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) -
test/fixedbugs/issue13319.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 00:26:58 UTC 2022 - 423 bytes - Viewed (0)