Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 5,440 for cunit (0.15 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    import static com.google.common.util.concurrent.Service.State.STOPPING;
    import static com.google.common.util.concurrent.Service.State.TERMINATED;
    
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Service} */
    public class ServiceTest extends TestCase {
    
      /** Assert on the comparison ordering of the State enum since we guarantee it. */
      public void testStateOrdering() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ExtraPropertiesExtensionsTest.kt

    import com.nhaarman.mockito_kotlin.verify
    
    import org.gradle.api.plugins.ExtraPropertiesExtension
    
    import org.hamcrest.CoreMatchers.nullValue
    
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Test
    
    
    class ExtraPropertiesExtensionsTest {
    
        @Test
        fun `can initialize extra property via delegate provider`() {
    
            val extra = mock<ExtraPropertiesExtension> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.InputStream;
    import java.nio.charset.Charset;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.Pattern;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link FakeTimeLimiter}.
     *
     * @author Jens Nyman
     */
    public class FakeTimeLimiterTest extends TestCase {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKeyTest.kt

    import org.gradle.util.internal.EncryptionAlgorithm
    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.CoreMatchers.not
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Rule
    import org.junit.Test
    
    
    class ConfigurationCacheKeyTest {
    
        @JvmField
        @Rule
        val testDirectoryProvider = TestNameTestDirectoryProvider(javaClass)
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/SettingsSchemaAccessorsIntegrationTest.kt

     */
    
    package org.gradle.kotlin.dsl.integration
    
    import org.gradle.kotlin.dsl.fixtures.AbstractKotlinIntegrationTest
    import org.gradle.test.fixtures.file.LeaksFileHandles
    import org.junit.Before
    import org.junit.Test
    
    
    @LeaksFileHandles("Kotlin Compiler Daemon working directory")
    class SettingsSchemaAccessorsIntegrationTest : AbstractKotlinIntegrationTest() {
    
        @Before
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayOutputStream;
    
    /**
     * Unit tests for {@link CountingOutputStream}.
     *
     * @author Chris Nokleberg
     */
    public class CountingOutputStreamTest extends IoTestCase {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr5_build_scripts.adoc

        testClassesDirs = functionalTestSourceSet.output.classesDirs
        classpath = functionalTestSourceSet.runtimeClasspath
        useJUnitPlatform()
    }
    
    tasks.named<Test>("test") {
        // Use JUnit Jupiter for unit tests.
        useJUnitPlatform()
    }
    ----
    =====
    [.multi-language-sample]
    =====
    [source, groovy]
    ----
    tasks.register('functionalTest', Test) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.project.MavenProject;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.TempDir;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.EmptySource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LongAdderTest.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import junit.framework.TestCase;
    
    /** Unit tests for {@link LongAdder}. */
    public class LongAdderTest extends TestCase {
    
      /**
       * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jul 09 04:11:29 UTC 2019
    - 1.4K bytes
    - Viewed (0)
Back to top