Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Mello (0.12 sec)

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

        try {
          helper.add(null, "Hello");
          fail("No exception was thrown.");
        } catch (NullPointerException expected) {
        }
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_addWithNullValue() {
        final String result = MoreObjects.toStringHelper(new TestClass()).add("Hello", null).toString();
    
        assertEquals("TestClass{Hello=null}", result);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/EventBusTest.java

    import junit.framework.TestCase;
    
    /**
     * Test case for {@link EventBus}.
     *
     * @author Cliff Biffle
     */
    public class EventBusTest extends TestCase {
      private static final String EVENT = "Hello";
      private static final String BUS_IDENTIFIER = "test-bus";
    
      private EventBus bus;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        bus = new EventBus(BUS_IDENTIFIER);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

    import junit.framework.TestCase;
    
    /**
     * Test case for {@link EventBus}.
     *
     * @author Cliff Biffle
     */
    public class EventBusTest extends TestCase {
      private static final String EVENT = "Hello";
      private static final String BUS_IDENTIFIER = "test-bus";
    
      private EventBus bus;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        bus = new EventBus(BUS_IDENTIFIER);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/Utf8Test.java

        ILL_FORMED_STRINGS = builder.build();
      }
    
      public void testEncodedLength_validStrings() {
        assertEquals(0, Utf8.encodedLength(""));
        assertEquals(11, Utf8.encodedLength("Hello world"));
        assertEquals(8, Utf8.encodedLength("Résumé"));
        assertEquals(
            461,
            Utf8.encodedLength(
                "威廉·莎士比亞(William Shakespeare,"
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testToStringWithNull() {
        Iterator<@Nullable String> iterator =
            Lists.<@Nullable String>newArrayList("hello", null, "world").iterator();
        assertEquals("[hello, null, world]", Iterators.toString(iterator));
      }
    
      public void testToStringEmptyIterator() {
        Iterator<String> iterator = Collections.<String>emptyList().iterator();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        try {
          helper.add(null, "Hello");
          fail("No exception was thrown.");
        } catch (NullPointerException expected) {
        }
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_addWithNullValue() {
        final String result = MoreObjects.toStringHelper(new TestClass()).add("Hello", null).toString();
    
        assertEquals("TestClass{Hello=null}", result);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top