Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for testFailsToForward (0.52 seconds)

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

    /**
     * Tests for {@link ForwardingObjectTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ForwardingObjectTesterTest extends TestCase {
    
      public void testFailsToForward() {
        try {
          ForwardingObjectTester.testForwardingObject(FailToForward.class);
        } catch (AssertionError | UnsupportedOperationException expected) {
          // UnsupportedOperationException is what we see on Android.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTesterTest.java

    /**
     * Tests for {@link ForwardingObjectTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ForwardingObjectTesterTest extends TestCase {
    
      public void testFailsToForward() {
        try {
          ForwardingObjectTester.testForwardingObject(FailToForward.class);
        } catch (AssertionError | UnsupportedOperationException expected) {
          // UnsupportedOperationException is what we see on Android.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  @Override
                  public int hashCode() {
                    return runnable.hashCode();
                  }
                },
            "Runnable");
      }
    
      public void testFailsToForward() {
        assertFailure(
            Runnable.class,
            runnable ->
                new ForwardingRunnable(runnable) {
                  @Override
                  public void run() {}
                },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  @Override
                  public int hashCode() {
                    return runnable.hashCode();
                  }
                },
            "Runnable");
      }
    
      public void testFailsToForward() {
        assertFailure(
            Runnable.class,
            runnable ->
                new ForwardingRunnable(runnable) {
                  @Override
                  public void run() {}
                },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
Back to Top