Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for testOperation (0.16 sec)

  1. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/AbstractLongRunningOperationTest.groovy

            op.consumerOperationParameters.jvmArguments == ['-Xmx']
        }
    
        class TestOperation extends AbstractLongRunningOperation<TestOperation> {
            protected TestOperation(ConnectionParameters parameters) {
                super(parameters)
                operationParamsBuilder.entryPoint = "test"
            }
    
            @Override
            protected TestOperation getThis() {
                return this
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/operations/BuildOperationExecutorIntegrationTest.groovy

                            queue.add(new TestOperation(startedLatch))
                            queue.add(new TestOperation(startedLatch))
                            startedLatch.await()
                            throw new Exception("queue failure")
                        }
                    }
                }
    
                class TestOperation implements RunnableBuildOperation {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 12:12:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java

            });
        }
    
        private void batchInsertOperation(Connection connection, R results, long executionId) throws SQLException {
            try (PreparedStatement statement = connection.prepareStatement("insert into testOperation(testExecution, displayName, tasks, args, gradleOpts, daemon, totalTime, cleanTasks) values (?, ?, ?, ?, ?, ?, ?, ?)")) {
                for (BuildDisplayInfo displayInfo : results.getBuilds()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionResultsStore.java

        private void batchInsertOperation(Connection connection, CrossVersionPerformanceResults results, long testId) throws SQLException {
            try (PreparedStatement statement = connection.prepareStatement(insertStatement("testOperation", "testExecution", "version", "totalTime"))) {
                addOperations(statement, testId, null, results.getCurrent());
                for (BaselineVersion baselineVersion : results.getBaselineVersions()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules/rules_test.go

    			}
    		}
    		for _, m := range tt.noMatch {
    			r := Matcher{tt.rule, m}
    			if r.version() {
    				t.Errorf("%v: expected no match %#v", name, m)
    			}
    		}
    	}
    }
    
    func TestOperation(t *testing.T) {
    	table := tests{
    		"wildcard": {
    			rule: adreg.RuleWithOperations{Operations: []adreg.OperationType{adreg.OperationAll}},
    			match: attrList(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 25 23:28:16 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/openapi/openapi_test.go

    	scenarios := []struct {
    		s                     string
    		capitalizeFirstLetter bool
    		expectedResult        string
    	}{
    		{
    			s:                     "test_operation",
    			capitalizeFirstLetter: true,
    			expectedResult:        "Test_operation",
    		},
    		{
    			s:                     "test operation& test",
    			capitalizeFirstLetter: true,
    			expectedResult:        "TestOperationTest",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 29 06:38:01 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

        /**
         * Returns all tests, in the order started.
         */
        List<Operation> getTests() {
            assertHasZeroOrMoreTrees()
            def testOperations = operations.findAll { it.test } as List
            testOperations.forEach { it.assertIsTest() }
            return testOperations
        }
    
        /**
         * Returns all events for test class and method execution
         */
        List<Operation> getTestClassesAndMethods() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/DefaultSerializerRegistrySpec.groovy

                defaultSerializerRegistry.build(SerializableParent)
            }
            then:
            noExceptionThrown()
            conditions.await(5.0)
            where:
            // Rerun this test 10 times
            testIteration << (0..9)
        }
    
        static class SerializableParent implements Serializable {}
    
        static class Serializable1 extends SerializableParent {}
    
        static class Serializable2 extends SerializableParent {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top