- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for expectedCases (0.2 sec)
-
pkg/kubelet/server/server_test.go
fw := newServerTest() defer fw.testHTTPServer.Close() // method:path -> has coverage expectedCases := map[string]bool{} // Test all the non-web-service handlers for _, path := range fw.serverUnderTest.restfulCont.RegisteredHandlePaths() { expectedCases["GET:"+path] = false expectedCases["POST:"+path] = false } // Test all the generated web-service paths
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller_test.go
tests := []struct { name string in *apiextensionsv1.CustomResourceDefinition existing []*apiextensionsv1.CustomResourceDefinition expectedNames apiextensionsv1.CustomResourceDefinitionNames expectedNameConflictCondition apiextensionsv1.CustomResourceDefinitionCondition expectedEstablishedCondition apiextensionsv1.CustomResourceDefinitionCondition
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 03 16:49:27 UTC 2019 - 15.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CompilationOutputsFixture.groovy
void recompiledFiles(Collection<File> files) { def expectedNames = files.collect({ removeExtension(it.name) }) as Set assert changedFileNames == expectedNames } //asserts has the exact set of output files void hasFiles(File... files) { def expectedNames = files.collect({ removeExtension(it.name) }) as Set assert getFiles { true } == expectedNames }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.3K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/example_handler.go
"k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis/v1beta2" ) type exampleHandler struct { SupportedVersions []string ExpectedNames map[string]int eventChans map[string]chan examplePluginEvent // map[pluginName]eventChan m sync.Mutex permitDeprecatedDir bool } type examplePluginEvent int const (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 12:00:49 UTC 2023 - 4.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java
public ExecutionResult assertTasksExecuted(Object... taskPaths) { Set<String> expectedTasks = new TreeSet<>(flattenTaskPaths(taskPaths)); Set<String> actualTasks = findExecutedTasksInOrderStarted(); if (!expectedTasks.equals(actualTasks)) { failOnDifferentSets("Build output does not contain the expected tasks.", expectedTasks, actualTasks); } return this; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 19K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy
then: verifyTaskIds() def expectedTasks = [ withPath(':buildSrc', ':sub:jar'), withPath(':buildSrc', ':jar'), withPath(':comp', ':sub:build'), withPath(':comp', ':build'), withPath(':', ':sub:build'), withPath(':', ':build') ] expectedTasks.each { verifyTaskDetails(RegisterTaskBuildOperationType, it)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 12.6K bytes - Viewed (0) -
.teamcity/src/test/kotlin/PromotionProjectTests.kt
assertTrue(steps.size > index) return steps[index] as GradleBuildStep } private fun GradleBuildStep.assertTasks(expectedTasks: String) = assertEquals(expectedTasks, this.tasks) private fun PromotionProject.findBuildTypeByName(name: String) = this.buildTypes.find { it.name == name }!!
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 13 14:18:23 UTC 2024 - 13.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy
} void executes(Task... expectedTasks) { assert executionPlan.tasks as List == expectedTasks as List assert executedTasks == expectedTasks as List } void executesNodes(Node... expectedNodes) { assert executedNodes == expectedNodes as List } void filtered(Task... expectedTasks) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 22:18:26 UTC 2024 - 35.5K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
switch tt.object.(type) { case *v1.Pod: if _, ok := v.Object.(*v1.Pod); !ok || v.Name != tt.expectedNames[i] || v.Namespace != "test" { t.Errorf("unexpected info: %v", dump.Pretty(v.Object)) } case *v1.ReplicationController: if _, ok := v.Object.(*v1.ReplicationController); !ok || v.Name != tt.expectedNames[i] || v.Namespace != "test" { t.Errorf("unexpected info: %v", dump.Pretty(v.Object)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0)