Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 439 for test_case (0.05 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code ImmutableCollection}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ImmutableCollectionTest extends TestCase {
      public void testCapacityExpansion() {
        assertEquals(1, ImmutableCollection.Builder.expandedCapacity(0, 1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/BooleanConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class BooleanConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToBoolean() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/StringConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import junit.framework.TestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class StringConversionUtilTest extends TestCase {
        /**
         * @throws Exception
         */
        public void testFromWindowsMapping() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java

    import com.google.common.util.concurrent.UncaughtExceptionHandlers.RuntimeWrapper;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Gregory Kick
     */
    @NullUnmarked
    public class UncaughtExceptionHandlersTest extends TestCase {
    
      private RuntimeWrapper runtimeMock;
    
      @Override
      protected void setUp() {
        runtimeMock = mock(RuntimeWrapper.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    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() {
        Iterable<String> iterable = MinimalIterable.<String>of();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

    import java.util.ListIterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for UnmodifiableListIterator.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class UnmodifiableListIteratorTest extends TestCase {
      @SuppressWarnings("DoNotCall")
      public void testRemove() {
        Iterator<String> iterator = create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top