Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for isDryRun (0.14 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitSpec.java

        private final boolean isDryRun;
    
        public JUnitSpec(
            TestFilterSpec filter,
            Set<String> includeCategories,
            Set<String> excludeCategories,
            boolean isDryRun
        ) {
            this.filter = filter;
            this.includeCategories = includeCategories;
            this.excludeCategories = excludeCategories;
            this.isDryRun = isDryRun;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformSpec.java

        private final Set<String> excludeTags;
        private final boolean isDryRun;
    
        public JUnitPlatformSpec(
            TestFilterSpec filter,
            Set<String> includeEngines,
            Set<String> excludeEngines,
            Set<String> includeTags,
            Set<String> excludeTags,
            boolean isDryRun
        ) {
            this.filter = filter;
            this.includeEngines = includeEngines;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/impl/DefaultTestTaskProperties.java

        ) {
            this.usingJUnitPlatform = usingJUnitPlatform;
            this.forkEvery = forkEvery;
            this.isDryRun = isDryRun;
            this.filters = filters;
            this.forkOptions = forkOptions;
            this.candidateClassFiles = candidateClassFiles;
            this.inputFileProperties = inputFileProperties;
            this.outputFileProperties = outputFileProperties;
        }
    
        @Override
        public boolean isUsingJUnitPlatform() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGSpec.java

            this.listeners = listeners;
            this.configFailurePolicy = configFailurePolicy;
            this.preserveOrder = preserveOrder;
            this.groupByInstances = groupByInstances;
            this.isDryRun = isDryRun;
        }
    
        public TestFilterSpec getFilter() {
            return filter;
        }
    
        public Set<String> getListeners() {
            return listeners;
        }
    
        public Set<String> getExcludeGroups() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. pkg/webhooks/validation/server/server.go

    	serve(w, r, wh.validate)
    }
    
    func (wh *Webhook) validate(request *kube.AdmissionRequest) *kube.AdmissionResponse {
    	isDryRun := request.DryRun != nil && *request.DryRun
    	addDryRunMessageIfNeeded := func(errStr string) error {
    		err := fmt.Errorf("%s", errStr)
    		if isDryRun {
    			err = fmt.Errorf("%s (dry run)", err)
    		}
    		return err
    	}
    	switch request.Operation {
    	case kube.Create, kube.Update:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 04 06:13:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/dryrun/dryrun.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package dryrun
    
    // IsDryRun returns true if the DryRun flag is an actual dry-run.
    func IsDryRun(flag []string) bool {
    	return len(flag) > 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 06 16:34:42 UTC 2022
    - 713 bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/execution/DryRunBuildExecutionActionTest.groovy

            def task2 = Mock(TaskInternal.class)
            def category = DryRunBuildExecutionAction.class.name
            def contents = Mock(QueryableExecutionPlan)
    
            given:
            startParameter.isDryRun() >> true
            executionPlan.contents >> contents
            contents.tasks >> toList(task1, task2)
    
            when:
            action.execute(gradle, executionPlan)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 26 20:13:45 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/DryRunFilteringTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.testing
    
    /**
     * Overrides methods from {@link AbstractTestFilteringIntegrationTest}
     */
    trait DryRunFilteringTest {
        boolean isDryRun() {
            return true
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 805 bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/TestTaskProperties.java

     */
    
    package org.gradle.internal.enterprise.test;
    
    import java.util.stream.Stream;
    
    public interface TestTaskProperties {
    
        boolean isUsingJUnitPlatform();
    
        long getForkEvery();
    
        boolean isDryRun();
    
        TestTaskFilters getFilters();
    
        TestTaskForkOptions getForkOptions();
    
        Stream<CandidateClassFile> getCandidateClassFiles();
    
        Stream<InputFileProperty> getInputFileProperties();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    	return containerRuntime.RemoveContainers(containers)
    }
    
    // resetConfigDir is used to cleanup the files in the folder defined in dirsToClean.
    func resetConfigDir(configPathDir string, dirsToClean []string, isDryRun bool) {
    	if !isDryRun {
    		fmt.Printf("[reset] Deleting contents of directories: %v\n", dirsToClean)
    		for _, dir := range dirsToClean {
    			if err := CleanDir(dir); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top