Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 903 for cunit (0.04 sec)

  1. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/api/plugins/JvmTestSuitePluginIntegrationTest.groovy

            buildFile << """
                plugins {
                    id 'java'
                }
                """
    
            file("src/test/java/SomeTest.java") << """
                import org.junit.Test;
    
                public class SomeTest {
                    @Test public void foo() {}
                }
                """.stripIndent()
    
            expect:
            succeeds "outgoingVariants"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

    import java.util.Comparator;
    import java.util.List;
    
    import org.apache.commons.cli.Option;
    import org.junit.jupiter.api.Test;
    
    import static java.util.Objects.nonNull;
    
    /**
     * Pseudo test to generate documentation fragment about supported CLI options. TODO such documentation generation code
     * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?)
     */
    class CLIManagerDocumentationTest {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/PerformanceTestPlugin.kt

            addDependenciesAndConfigurations("performance")
    
            val junit by configurations.creating
            dependencies {
                if (project.name != "enterprise-plugin-performance") {
                    "performanceTestImplementation"(project(":internal-performance-testing"))
                }
                junit("junit:junit:4.13")
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/KotlinScriptDependenciesResolverTest.kt

    import org.hamcrest.CoreMatchers.nullValue
    import org.hamcrest.Matcher
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.assertSame
    import org.junit.Assert.assertTrue
    import org.junit.Before
    import org.junit.Test
    import org.junit.experimental.categories.Category
    import java.io.File
    import kotlin.reflect.KClass
    import kotlin.script.dependencies.KotlinScriptExternalDependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:12:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/ScalaLibraryInitIntegrationTest.groovy

            subprojectDir.file("src/test/scala/org/acme/SampleMainTest.scala") << """
                        package org.acme;
    
                        class SampleMainTest{
    
                            @org.junit.Test
                            def sampleTest : Unit = { }
                        }
                """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomResolutionTest.kt

    import org.gradle.internal.declarativedsl.parsing.ParseTestUtil.Parser.parseAsTopLevelBlock
    import org.gradle.internal.declarativedsl.schemaBuilder.schemaFromTypes
    import org.junit.jupiter.api.Test
    import kotlin.test.assertEquals
    
    
    object DomResolutionTest {
    
        @Test
        fun `resolves declarative document`() {
            val resolver = tracingCodeResolver()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as
     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        val ciGroup = "CI Lifecycle"
    
        register("quickTest") {
            description = "Run all unit, integration and cross-version (against latest release) tests in embedded execution mode"
            group = ciGroup
        }
    
        register("platformTest") {
            description = "Run all unit, integration and cross-version (against latest release) tests in forking execution mode"
            group = ciGroup
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslRegressionsTest.kt

    import org.gradle.kotlin.dsl.fixtures.AbstractKotlinIntegrationTest
    import org.gradle.test.fixtures.dsl.GradleDsl.KOTLIN
    import org.gradle.util.internal.ToBeImplemented
    import org.junit.Test
    import spock.lang.Issue
    
    
    class GradleKotlinDslRegressionsTest : AbstractKotlinIntegrationTest() {
    
        @Test
        @Issue("https://github.com/gradle/gradle/issues/9919")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:57:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import java.lang.ref.WeakReference;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.util.Arrays;
    import java.util.Collections;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top