Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 490 for TestCase (0.04 sec)

  1. guava-tests/test/com/google/common/base/DefaultsTest.java

    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Defaults}.
     *
     * @author Jige Yu
     */
    @GwtIncompatible
    @NullUnmarked
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

    import java.lang.reflect.Method;
    import java.lang.reflect.TypeVariable;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link TypeParameter}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class TypeParameterTest extends TestCase {
    
      public <T> void testCaptureTypeParameter() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    			disks[0] = nil
    			disks[1] = nil
    			return disks
    		}
    		sets.erasureDisksMu.Unlock()
    		got, err := z.PutObject(ctx, testCase.bucket, testCase.object, mustGetPutObjReader(t, bytes.NewReader(testCase.content), int64(len(testCase.content)), "", ""),
    			ObjectOptions{Versioned: testCase.versioned})
    		if err != nil {
    			t.Fatalf("Test %d: Failed to upload the final object: %v", i+1, err)
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingTableTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests {@link ForwardingTable}.
     *
     * @author Gregory Kick
     */
    @NullUnmarked
    public class ForwardingTableTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.stream;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import junit.framework.TestCase;
    
    public class StreamUtilTest extends TestCase {
    
        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

    import java.util.Collection;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalCollection}.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    public class MinimalCollectionTest extends TestCase {
      public static Test suite() {
        return CollectionTestSuiteBuilder.using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/CountTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@code Count}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
      }
    
      public void testGetAndAdd() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link UnmodifiableIterator}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class UnmodifiableIteratorTest extends TestCase {
    
      @SuppressWarnings("DoNotCall")
      public void testRemove() {
        String[] array = {"a", "b", "c"};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@code EventBus} that must not be in the same package.
     *
     * @author Louis Wasserman
     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
       * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

    import java.util.Collections;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestResult;
    
    /**
     * @author Max Ross
     */
    @AndroidIncompatible // test-suite builders
    public class FeatureSpecificTestSuiteBuilderTest extends TestCase {
      private static final class MyTestSuiteBuilder
          extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top