Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of about 10,000 for whee (0.36 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy

            interaction { noMoreInteractions() }
    
            where:
            vfsSpec << onlyDirectChildren(NO_COMMON_PREFIX)
        }
    
        def "invalidate a single child creates a partial directory node without the child (#vfsSpec)"() {
            setupTest(vfsSpec)
    
            when:
            def resultRoot = initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener).get()
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNodeTest.groovy

            interaction { noMoreInteractions() }
    
            where:
            vfsSpec << COMMON_PREFIX
        }
    
        def "store child with no common prefix adds it (#vfsSpec)"() {
            setupTest(vfsSpec)
            def snapshot = Mock(MetadataSnapshot)
            def newChildPath = searchedPath.asString
            def newChild = mockChild()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/TaskOrderSpecsTest.groovy

            assert spec.getTasks() == [':a', ':b', ':c', ':d'] as Set
    
            when:
            spec.assertMatches(-1, [':a', ':b', ':c', ':d'])
    
            then:
            noExceptionThrown()
    
            when:
            spec.assertMatches(-1, [':b', ':a', ':c', ':d'])
    
            then:
            noExceptionThrown()
    
            when:
            spec.assertMatches(-1, [':b', ':d', ':a', ':c'])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/slf4j/OutputEventListenerBackedLoggerTest.groovy

        }
    
        def "isTraceEnabled returns false when level is #level"() {
            when:
            globalLevel = level
    
            then:
            !logger().traceEnabled
            !logger().isTraceEnabled(null)
    
            where:
            level << LogLevel.values()
        }
    
        def "isDebugEnabled returns #enabled when level is #level"() {
            when:
            globalLevel = level
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 26.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/EvaluationContextTest.groovy

            def evaluation = Mock(TestEvaluation)
    
            when:
            def result = context().tryEvaluate(owner, "fallback", evaluation)
    
            then:
            1 * evaluation.evaluate() >> "result"
            result == "result"
        }
    
        def "fallback value is used when circular evaluation detected"() {
            given:
            def evaluation = Mock(TestEvaluation)
    
            when:
            def result = context().evaluate(owner) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:33 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/CursorTest.groovy

        def "create a cursor at (0,0) when using factory method 'newBottomLeft'"() {
            when:
            Cursor cursor = Cursor.newBottomLeft()
    
            then:
            cursor.row == 0
            cursor.col == 0
        }
    
        def "create a cursor at (#row, #col) when using factory method 'at'"() {
            when:
            Cursor cursor = Cursor.at(row, col)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

            then:
            found == ['test1', 'test2', 'test3', 'test4',
                      'system1', 'system2', 'system3', 'system4']
    
            where:
            directive << ["include", "import"]
        }
    
        def "finds #directive where whitespace surrounds the # character"() {
            when:
            sourceFile << """
      #  include   "test1"
    \t#\tinclude "test2"
    \u0000#include "test3"
    
      #  include   <system1>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  8. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy

            given:
            def dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            when:
            succeeds('copyReport2')
    
            then:
            dslDir.file('build/toArchive/my-report.pdf').isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("files/copy")
        def "can copy a single file using the file method with #dsl dsl"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersIntegrationTest.groovy

                    parameters {
                        testParam = namedParam
                    }
                }
            """
    
            when:
            succeeds("runWork")
    
            then:
            outputContains("bar")
    
            where:
            isolationMode << ISOLATION_MODES
        }
    
        def "can provide property parameters with isolation mode #isolationMode"() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyLibraryInitIntegrationTest.groovy

            when:
            run("build")
    
            then:
            assertTestPassed("my.lib.LibraryTest", "someLibraryMethod returns true")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        def "creates with gradle.properties when using #scriptDsl build scripts with --incubating"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top