Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for excludeGroup2 (0.28 sec)

  1. platforms/documentation/docs/src/snippets/testing/testng-groups/groovy/build.gradle

    plugins {
        id 'java'
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation 'org.testng:testng:6.3.1'
    }
    
    // tag::test-config[]
    test {
        useTestNG {
            excludeGroups 'integrationTests'
            includeGroups 'unitTests'
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 281 bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

                }
            """
    
            and:
            succeeds ':test'
    
            then:
            executedAndNotSkipped ':test'
    
            where:
            property              | modification
            'excludeGroups'       | '= ["group to exclude"]'
            'includeGroups'       | '= ["group to include"]'
            'outputDirectory'     | '= file("$buildDir/my-out")'
            'suiteXmlFiles'       | '= [file("suite.xml")]'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultRepositoryHandlerTest.groovy

            1 * repo2.content(_) >> { args ->
                args[0].execute(repo2Content)
            }
            1 * repo2Content.excludeGroup("foo")
            1 * repo3.content(_) >> { args ->
                args[0].execute(repo3Content)
            }
            1 * repo3Content.excludeGroup("foo")
            0 * _
        }
    
        def "can include group by regex exclusively"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 18:02:33 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryContentFilteringIntegrationTest.groovy

            then:
            resolve.expectGraph {
                root(':', ':test:') {
                    module('org:foo:1.0')
                }
            }
    
            where:
            notation << [
                    "excludeGroup('org')",
                    "excludeGroupByRegex('or.+')"
            ]
        }
    
        def "can include a module from a repository using #notation"() {
            def mod = ivyHttpRepo.module('org', 'foo', '1.0').publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

                    ngIncluded = "database"
                    ngExcluded = "slow"
                }
                test {
                    useTestNG {
                        includeGroups ngIncluded
                        excludeGroups ngExcluded
                    }
                }
            """.stripIndent()
            file('src/test/java/org/gradle/groups/SomeTest.java') << '''
                package org.gradle.groups;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/artifacts/repositories/RepositoryContentDescriptor.java

        /**
         * Declares that an entire group shouldn't be searched for in this repository.
         *
         * @param group the group name
         */
        void excludeGroup(String group);
    
        /**
         * Declares that an entire group and its subgroups shouldn't be searched for in this repository.
         *
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 10 23:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/DefaultRepositoryHandler.java

            return desc -> config.execute(new InclusiveRepositoryContentDescriptor() {
                @Override
                public void includeGroup(String group) {
                    desc.excludeGroup(group);
                }
    
                @Override
                public void includeGroupAndSubgroups(String groupPrefix) {
                    desc.excludeGroupAndSubgroups(groupPrefix);
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLocalRepoResolveIntegrationTest.groovy

        def setup() {
            using m2
            buildFile << """
                    repositories {
                        mavenLocal {
                            content {
                                excludeGroup 'unused'
                            }
                        }
                    }
                    configurations { compile }
                    dependencies {
                        compile 'group:projectA:1.2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptor.java

            }
            includeSpecs.add(new ContentSpec(matcherKind, group, moduleName, version, versionSelectorScheme, versionSelectors, true));
        }
    
        @Override
        public void excludeGroup(String group) {
            checkNotNull(group, "Group cannot be null");
            addExclude(group, null, null, MatcherKind.SIMPLE);
        }
    
        @Override
        public void excludeGroupAndSubgroups(String groupPrefix) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top