Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testExclude (0.42 sec)

  1. subprojects/core-api/src/testFixtures/groovy/org/gradle/api/tasks/util/AbstractTestForPatternSet.groovy

        def testDefaultValues() {
            expect:
            patternSet.includes.empty
            patternSet.excludes.empty
        }
    
        def testInclude() {
            expect:
            checkIncludesExcludes(patternSet, 'include', 'includes')
        }
    
        def testExclude() {
            expect:
            checkIncludesExcludes(patternSet, 'exclude', 'excludes')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:53:27 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorDslIntegrationTest.groovy

                    because("the action must be tested")
                    ${testExcludes ? "exclude(${makeNamedArgs([group: renderString(BAZ_GROUP), module: renderString(BAZ_NAME)], dsl)})" : ""}
                }
            }
    
            testingCollectorConf.dependencies.forEach {
                println("\${it.reason}")
                if (${testExcludes}) {
                    ${cast("it", "ModuleDependency", dsl)}.excludeRules.forEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 16:23:38 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(option.includePropertyNames.size(), is(1));
            assertThat(option.includePropertyNames.get(0), is("hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testExcludes() throws Exception {
            final CopyOptions option = new CopyOptions();
            assertThat(option.exclude(BeanNames.hoge()), is(sameInstance(option)));
            assertThat(option.excludePropertyNames.size(), is(1));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top