Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 184 for TestKit (0.13 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/TestRetryPluginSmokeTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.smoketests
    
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.testkit.runner.BuildResult
    import org.gradle.testkit.runner.TaskOutcome
    import spock.lang.Issue
    
    class TestRetryPluginSmokeTest extends AbstractSmokeTest {
        def setup() {
            sourceFile()
            testSourceFile()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GradleBuildUnitTestConfigurationCacheSmokeTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.smoketests
    
    import org.gradle.testkit.runner.TaskOutcome
    
    class GradleBuildUnitTestConfigurationCacheSmokeTest extends AbstractGradleBuildConfigurationCacheSmokeTest {
        def "can run Gradle unit tests with configuration cache enabled"() {
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/groovy/buildSrc/src/test/groovy/com/example/PluginTest.groovy

    package com.example
    
    import org.gradle.testkit.runner.GradleRunner
    import spock.lang.Specification
    import spock.lang.TempDir
    
    abstract class PluginTest extends Specification {
        @TempDir
        File testProjectDir
        File settingsFile
        File buildFile
    
        def setup() {
            settingsFile = new File(testProjectDir, 'settings.gradle').tap { it << "rootProject.name = 'test'" }
            buildFile = new File(testProjectDir, 'build.gradle')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 949 bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GradleBuildSmokeTestConfigurationCacheSmokeTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.smoketests
    
    import org.gradle.testkit.runner.TaskOutcome
    
    class GradleBuildSmokeTestConfigurationCacheSmokeTest extends AbstractGradleBuildConfigurationCacheSmokeTest {
        def "can run Gradle smoke tests with configuration cache enabled"() {
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.TaskOutcome
    import org.gradle.util.internal.TextUtil
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.io.TempDir
    import java.io.File
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/BaseGradleImplDepsTestCodeIntegrationTest.groovy

            }
            """
        }
    
        protected TestFile testCode() {
            file("src/test/java/org/acme/BaseTestPluginTest.java") << """
            package org.acme;
            import org.gradle.testkit.runner.GradleRunner;
            import org.junit.Test;
            import static org.junit.Assert.assertTrue;
    
            public abstract class BaseTestPluginTest {
                GradleRunner runner() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/io/NoCloseOutputStream.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.internal.io;
    
    import java.io.IOException;
    import java.io.OutputStream;
    
    public class NoCloseOutputStream extends OutputStream {
    
        private final OutputStream delegate;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/fixtures/HideEnvVariableValuesInDaemonLog.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.fixtures;
    
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/feature/FeatureCheck.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.internal.feature;
    
    public interface FeatureCheck {
        void verify();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 723 bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/UnexpectedBuildSuccess.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner;
    
    /**
     * Thrown when executing a build that was expected to fail, but succeeded.
     *
     * @since 2.6
     * @see GradleRunner#buildAndFail()
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 988 bytes
    - Viewed (0)
Back to top