Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 581 for text (0.14 sec)

  1. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        try {
          Thread.currentThread().setContextClassLoader(loader);
          URL url = Resources.getResource(tempFile.getName());
          String text = Resources.toString(url, Charsets.UTF_8);
          assertEquals("rud a chur ar an méar fhada" + System.lineSeparator(), text);
        } finally {
          Thread.currentThread().setContextClassLoader(oldContextLoader);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        try {
          SignedBytes.checkedCast(value);
          fail("Cast to byte should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        for (byte x : VALUES) {
          for (byte y : VALUES) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HostSpecifier.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.net.InetAddress;
    import java.text.ParseException;
    import javax.annotation.CheckForNull;
    
    /**
     * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP
     * address in IPv4 or IPv6 notation, or a domain name.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ResourcesTest.java

        try {
          Thread.currentThread().setContextClassLoader(loader);
          URL url = Resources.getResource(tempFile.getName());
          String text = Resources.toString(url, Charsets.UTF_8);
          assertEquals("rud a chur ar an méar fhada" + System.lineSeparator(), text);
        } finally {
          Thread.currentThread().setContextClassLoader(oldContextLoader);
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

            .testAllPublicInstanceMethods(monitor);
      }
    
      // TODO: Test enter(long, TimeUnit).
      // TODO: Test enterWhen(Guard, long, TimeUnit).
      // TODO: Test enterIf(Guard, long, TimeUnit).
      // TODO: Test waitFor(Guard, long, TimeUnit).
      // TODO: Test getQueueLength().
      // TODO: Test hasQueuedThreads().
      // TODO: Test getWaitQueueLength(Guard).
      // TODO: Test automatic signaling before leave, waitFor, and reentrant enterWhen.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.util.Arrays;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link HashMultiset}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.MapInterfaceTest;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Test {@link Multimap#asMap()} for an arbitrary multimap with {@link MapInterfaceTest}.
     *
     * @author George van den Driessche
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

              }
            });
      }
    
      @Override
      protected void tearDown() {
        tearDownStack.runTearDown();
      }
    
      /**
       * This first test doesn't test anything in Uninterruptibles, just demonstrates some normal
       * behavior of futures so that you can contrast the next test with it.
       */
      public void testRegularFutureInterrupted() throws ExecutionException {
    
        /*
         * Here's the order of events that we want.
         *
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

    import java.util.function.Predicate;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Collection#removeIf}. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      }
    
      private Entry<K, V> getEntryNullReplaces() {
        Iterator<Entry<K, V>> entries = getSampleElements().iterator();
        for (int i = 0; i < getNullLocation(); i++) {
          entries.next();
        }
        return entries.next();
      }
    
      protected void initMultimapWithNullKey() {
        resetContainer(getSubjectGenerator().create((Object[]) createArrayWithNullKey()));
      }
    
      protected void initMultimapWithNullValue() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top