Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for Mello (0.13 sec)

  1. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

    /**
     * Tests for {@link SerializableTester}.
     *
     * @author Nick Kralevich
     */
    public class SerializableTesterTest extends TestCase {
      public void testStringAssertions() {
        String original = "hello world";
        String copy = SerializableTester.reserializeAndAssert(original);
        assertEquals(original, copy);
        assertNotSame(original, copy);
      }
    
      public void testClassWhichDoesNotImplementEquals() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              public void run() {
                AbstractFuture<String> future = setFutureFuture.get();
                setFutureSetSuccess.set(currentFuture.get().setFuture(future));
                setFutureCompletionSuccess.set(future.set("hello-async-world"));
                awaitUnchecked(barrier);
              }
            };
        final Set<Object> finalResults = Collections.synchronizedSet(Sets.newIdentityHashSet());
        Runnable collectResultsRunnable =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      @SuppressWarnings("serial")
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
                    "Hello", "World",
                    "first", "second",
                    "polygene", "lubricants",
                    "alpha", "betical"));
    
        LinkedHashMap<String, String> copy = Maps.newLinkedHashMap(map);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      @SuppressWarnings("serial")
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
                    "Hello", "World",
                    "first", "second",
                    "polygene", "lubricants",
                    "alpha", "betical"));
    
        LinkedHashMap<String, String> copy = Maps.newLinkedHashMap(map);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

        assertHash(1, 0xa78ddff5adae8d10L, 0x128900ef20900135L, "hello");
        assertHash(2, 0x8a486b23f422e826L, 0xf962a2c58947765fL, "hello ");
        assertHash(3, 0x2ea59f466f6bed8cL, 0xc610990acc428a17L, "hello w");
        assertHash(4, 0x79f6305a386c572cL, 0x46305aed3483b94eL, "hello wo");
        assertHash(5, 0xc2219d213ec1f1b5L, 0xa1d8e2e0a52785bdL, "hello wor");
        assertHash(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

          Equivalence.equals().onResultOf(LengthFunction.INSTANCE);
    
      public void testWrap() {
        new EqualsTester()
            .addEqualityGroup(
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("hello"),
                LENGTH_EQUIVALENCE.wrap("world"))
            .addEqualityGroup(LENGTH_EQUIVALENCE.wrap("hi"), LENGTH_EQUIVALENCE.wrap("yo"))
            .addEqualityGroup(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

            new Object() {
              @Subscribe
              public void accept(String str) {
                holder.set(str);
                deliveries.incrementAndGet();
              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertEquals("Correct string should be delivered.", EVENT, holder.get());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        public IntegerSubscriber(String name) {
          this.name = name;
        }
    
        @Subscribe
        public void handleInteger(Integer integer) {
          dispatchedSubscribers.add(this);
          dispatcher.dispatch("hello", stringSubscribers.iterator());
        }
    
        @Override
        public String toString() {
          return name;
        }
      }
    
      public final class StringSubscriber {
        private final String name;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              public void run() {
                AbstractFuture<String> future = setFutureFuture.get();
                setFutureSetSuccess.set(currentFuture.get().setFuture(future));
                setFutureCompletionSuccess.set(future.set("hello-async-world"));
                awaitUnchecked(barrier);
              }
            };
        final Set<Object> finalResults = Collections.synchronizedSet(Sets.newIdentityHashSet());
        Runnable collectResultsRunnable =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

     * expected to be unequal. For example:
     *
     * <pre>{@code
     * EquivalenceTester.of(someStringEquivalence)
     *     .addEquivalenceGroup("hello", "h" + "ello")
     *     .addEquivalenceGroup("world", "wor" + "ld")
     *     .test();
     * }</pre>
     *
     * <p>Note that testing {@link Object#equals(Object)} is more simply done using the {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top