Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 5,440 for cunit (0.05 sec)

  1. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link ImmutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     */
    public class ImmutableTypeToInstanceMapTest extends TestCase {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

    import java.util.Collections;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link AbstractMultiset}.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalIterable}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link ImmutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     */
    public class ImmutableTypeToInstanceMapTest extends TestCase {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScopeTest.kt

            }
        }
    }
    
    
    fun expecting(vararg expected: Plugin, block: PluginDependenciesSpec.() -> Unit) {
        assertThat(
            plugins(block).map { Plugin(it.id.id, it.version, it.isApply) },
            equalTo(expected.asList())
        )
    }
    
    
    fun plugins(block: PluginDependenciesSpecScope.() -> Unit): List<PluginRequestInternal> =
        PluginRequestCollector(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 06:46:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.SynchronousQueue;
    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link JdkFutureAdapters}.
     *
     * @author Sven Mawson
     * @author Kurt Alfred Kluever
     */
    public class JdkFutureAdaptersTest extends TestCase {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriterTest.kt

    import org.gradle.internal.configuration.problems.PropertyTrace
    import org.gradle.internal.configuration.problems.StructuredMessage
    import org.hamcrest.MatcherAssert.assertThat
    import org.hamcrest.Matchers.hasEntry
    import org.junit.Test
    import java.io.StringWriter
    
    
    class JsonModelWriterTest {
    
        @Test
        fun `encodes model with empty strings correctly`() {
            assertThat(
                jsonModelFor {
                    beginModel()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/normalization/KotlinApiClassExtractorTest.kt

        }
    
        private
        fun givenChangingClass(
            className: String,
            initialBody: String,
            initialAssertion: (ClassFixture) -> Unit,
            changedBody: String,
            changedAssertion: (ClassFixture) -> Unit
        ): ClassChangeFixture {
            val initialClass = compileClass(className, initialBody)
            initialAssertion(initialClass)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt

    import org.gradle.kotlin.dsl.support.get
    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.CoreMatchers.nullValue
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.fail
    import org.junit.Test
    
    
    class DelegatedGradlePropertiesExtensionsTest {
    
        @Test
        fun `non-nullable delegated property access of existing non-null gradle property`() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:44:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import java.lang.reflect.Method;
    import java.net.URLClassLoader;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.concurrent.CancellationException;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top