Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 7,349 for then (0.05 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy

            0 * opened._
    
            when:
            cache1.close()
    
            then:
            0 * _
    
            when:
            cache2.close()
    
            then:
            1 * closed.accept(implementation)
            0 * _
        }
    
        void "can close cache multiple times"() {
            def implementation
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractTaskTest.groovy

            task.getOnlyIf().isSatisfiedBy(task)
    
            when:
            task.setEnabled(false)
    
            then:
            !task.getOnlyIf().isSatisfiedBy(task)
    
            when:
            task.setEnabled(true)
            condition1.set(false)
    
            then:
            !task.getOnlyIf().isSatisfiedBy(task)
    
            when:
            condition1.set(true)
    
            then:
            task.getOnlyIf().isSatisfiedBy(task)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/source/JavaUtilLoggingSystemTest.groovy

            when:
            configurer.setLevel(LogLevel.DEBUG)
    
            then:
            Logger.getLogger("").getLevel() == Level.INFO
        }
    
        def "Starting without setting a log level does not crash, but no level is set"() {
            when:
            configurer.startCapture()
    
            then:
            Logger.getLogger("").getLevel() == null
        }
    
        def "Log level can be set before starting"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/file/CalculatedTaskInputFileCollectionTest.groovy

            when:
            fileCollection.prepareValue()
    
            then:
            0 * calculated._
    
            when:
            def r1 = fileCollection.files
            def r2 = fileCollection.files
    
            then:
            r1 == files
            r2 == files
    
            and:
            1 * calculated.files >> files
            0 * calculated._
    
            when:
            fileCollection.cleanupValue()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/AbstractTestLoggerTest.groovy

    /*
     * Copyright 2012 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractIncrementalCompileIntegrationTest.groovy

            when:
            succeeds getAppCompileTask(language)
    
            then:
            executedAndNotSkipped getAppCompileTask(language)
    
            when:
            writeUnusedLibraryClass(language)
    
            then:
            executer.withArgument('-i')
            succeeds getAppCompileTask(language)
    
            and:
            outputContains "None of the classes needs to be compiled!"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDependencyTest.groovy

    /*
     * Copyright 2007, 2008 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/BuildResultLoggerIntegrationTest.groovy

    /*
     * Copyright 2017 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tests/tests_all.sh

    dialects=("sqlite" "mysql" "postgres" "sqlserver" "tidb")
    
    if [[ $(pwd) == *"gorm/tests"* ]]; then
      cd ..
    fi
    
    if [ -d tests ]
    then
      cd tests
      go get -u -t ./...
      go mod download
      go mod tidy
      cd ..
    fi
    
    # SqlServer for Mac M1
    if [[ -z $GITHUB_ACTION ]]; then
      if [ -d tests ]
      then
        cd tests
        if [[ $(uname -a) == *" arm64" ]]; then
          MSSQL_IMAGE=mcr.microsoft.com/azure-sql-edge docker-compose start || true
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/UserInputConsoleRendererTest.groovy

    /*
     * Copyright 2017 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top