Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testFailsToForward (0.22 sec)

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

    import junit.framework.TestCase;
    
    /**
     * Tests for {@link ForwardingObjectTester}.
     *
     * @author Ben Yu
     */
    public class ForwardingObjectTesterTest extends TestCase {
    
      public void testFailsToForward() {
        try {
          ForwardingObjectTester.testForwardingObject(FailToForward.class);
        } catch (AssertionError | UnsupportedOperationException expected) {
          // UnsupportedOperationException is what we see on Android.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTesterTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@link ForwardingObjectTester}.
     *
     * @author Ben Yu
     */
    public class ForwardingObjectTesterTest extends TestCase {
    
      public void testFailsToForward() {
        try {
          ForwardingObjectTester.testForwardingObject(FailToForward.class);
        } catch (AssertionError | UnsupportedOperationException expected) {
          // UnsupportedOperationException is what we see on Android.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  public int hashCode() {
                    return runnable.hashCode();
                  }
                };
              }
            },
            "Runnable");
      }
    
      public void testFailsToForward() {
        assertFailure(
            Runnable.class,
            new Function<Runnable, Runnable>() {
              @Override
              public Runnable apply(Runnable runnable) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  public int hashCode() {
                    return runnable.hashCode();
                  }
                };
              }
            },
            "Runnable");
      }
    
      public void testFailsToForward() {
        assertFailure(
            Runnable.class,
            new Function<Runnable, Runnable>() {
              @Override
              public Runnable apply(Runnable runnable) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
Back to top