Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for withFields (0.14 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelBuildOperationsIntegrationTest.groovy

                        ${blockingHttpServer.callFromBuild("slowTask")}
                    }
                }
            """
    
            parallelParameterType = fixture.workParameterClass("ParallelParameter", "org.gradle.test").withFields([
                    "itemName": "String"
            ])
    
            parallelWorkAction = fixture.workActionClass("ParallelWorkAction", "org.gradle.test", parallelParameterType)
            parallelWorkAction.with {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkQueueIntegrationTest.groovy

        WorkerExecutorFixture.WorkActionClass parallelWorkAction
    
        def setup() {
            blockingHttpServer.start()
    
            parallelParameterType = fixture.workParameterClass("ParallelParameter", "org.gradle.test").withFields([
                    "itemName": "String",
                    "shouldFail": "Boolean"
            ])
    
            parallelWorkAction = fixture.workActionClass("ParallelWorkAction", "org.gradle.test", parallelParameterType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorNestingIntegrationTest.groovy

    @IntegrationTestTimeout(120)
    class WorkerExecutorNestingIntegrationTest extends AbstractWorkerExecutorIntegrationTest {
        def nestingParameterType = fixture.workParameterClass("NestingParameter", "org.gradle.test").withFields([
            "greeting": "Property<String>",
            "childSubmissions": "int"
        ])
    
        def "workers with no isolation can spawn more work with #nestedIsolationMode"() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

        WorkerExecutorFixture.WorkActionClass alternateParallelWorkAction
    
        def setup() {
            blockingHttpServer.start()
    
            parallelParameterType = fixture.workParameterClass("ParallelParameter", "org.gradle.test").withFields([
                    "itemName": "String"
            ])
    
            parallelWorkAction = fixture.workActionClass("ParallelWorkAction", "org.gradle.test", parallelParameterType)
            parallelWorkAction.with {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/WorkerExecutorFixture.groovy

                        """
                    }
                }
                return fieldDeclarations
            }
    
            WorkParameterClass withFields(Map<String, String> fields) {
                this.fields = fields
                return this
            }
        }
    
        class WorkActionClass extends TestClass {
            WorkParameterClass parameters
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 12:36:12 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. pkg/apis/storage/validation/validation_test.go

    		}
    	}
    
    	yesNo := []bool{true, false}
    	for _, withField := range yesNo {
    		t.Run(fmt.Sprintf("with-field=%v", withField), func(t *testing.T) {
    			run(t, withField)
    		})
    	}
    }
    
    func TestValidateCSIStorageCapacity(t *testing.T) {
    	storageClassName := "test-sc"
    	invalidName := "-invalid-@#$%^&*()-"
    
    	goodCapacity := storage.CSIStorageCapacity{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
Back to top