Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 785 for testcase (0.14 sec)

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

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /** Tests for {@link MoreObjects}. */
    @GwtCompatible(emulated = true)
    public class MoreObjectsTest extends TestCase {
      public void testFirstNonNull_withNonNull() {
        String s1 = "foo";
        String s2 = MoreObjects.firstNonNull(s1, "bar");
        assertSame(s1, s2);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ForwardingListeningExecutorServiceTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import junit.framework.TestCase;
    
    /** Unit tests for {@link ForwardingListeningExecutorService} */
    public class ForwardingListeningExecutorServiceTest extends TestCase {
      public void testForwarding() {
        ForwardingObjectTester.testForwardingObject(ForwardingListeningExecutorService.class);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 946 bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ForwardingFutureTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import junit.framework.TestCase;
    
    /** Unit tests for {@link ForwardingFuture} */
    public class ForwardingFutureTest extends TestCase {
      public void testForwarding() {
        ForwardingObjectTester.testForwardingObject(ForwardingFuture.class);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 892 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ForwardingListenableFutureTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link ForwardingListenableFuture}.
     *
     * @author Ben Yu
     */
    public class ForwardingListenableFutureTest extends TestCase {
      public void testForwarding() {
        ForwardingObjectTester.testForwardingObject(ForwardingListenableFuture.class);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 943 bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java

     */
    
    package com.google.common.testing;
    
    import com.google.common.testing.RelationshipTester.ItemReporter;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link RelationshipTester}.
     *
     * @author Ben Yu
     */
    public class RelationshipTesterTest extends TestCase {
    
      public void testNulls() {
        new ClassSanityTester()
            .setDefault(ItemReporter.class, new ItemReporter())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RangeNonGwtTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link Range} which cannot run as GWT tests.
     *
     * @author Gregory Kick
     * @see RangeTest
     */
    public class RangeNonGwtTest extends TestCase {
    
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       */
      public void threadAssertFalse(boolean b) {
        try {
          assertFalse(b);
        } catch (AssertionFailedError t) {
          threadRecordFailure(t);
          throw t;
        }
      }
    
      /**
       * Just like assertNull(x), but additionally recording (using threadRecordFailure) any
       * AssertionFailedError thrown, so that the current testcase will fail.
       */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingObjectTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code ForwardingObject}.
     *
     * @author Mike Bostock
     */
    public class ForwardingObjectTest extends TestCase {
    
      public void testEqualsReflexive() {
        final Object delegate = new Object();
        ForwardingObject forward =
            new ForwardingObject() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/DefaultsTest.java

     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Defaults}.
     *
     * @author Jige Yu
     */
    @GwtIncompatible
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ForwardingDequeTest.java

    import com.google.common.base.Function;
    import com.google.common.testing.ForwardingWrapperTester;
    import java.util.Deque;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code ForwardingDeque}.
     *
     * @author Kurt Alfred Kluever
     */
    public class ForwardingDequeTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top