Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 3,883 for void (0.04 sec)

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

        assertFailsToDecode(base64(), "?", "Invalid input length 1");
      }
    
      public void testBase64CannotUpperCase() {
        assertThrows(IllegalStateException.class, () -> base64().upperCase());
      }
    
      public void testBase64CannotLowerCase() {
        assertThrows(IllegalStateException.class, () -> base64().lowerCase());
      }
    
      public void testBase64CannotIgnoreCase() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
        assume().that(graphIsMutable()).isTrue();
    
        Set<Integer> nodes = network.nodes();
        assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2));
        addNode(N1);
        assertThat(network.nodes()).containsExactlyElementsIn(nodes);
      }
    
      @Override
      @Test
      public void edges_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

     */
    public class DateConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
            assertThat(toDate(null), is(nullValue()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         * ルートディレクトリ配下を処理します。
         *
         * @param rootDir
         *            ルートディレクトリ。{@literal null}であってはいけません
         * @param handler
         *            クラスを処理するハンドラ。{@literal null}であってはいけません
         */
        public static void forEach(final File rootDir, final ClassHandler handler) {
            assertArgumentNotNull("rootDir", rootDir);
            assertArgumentNotNull("handler", handler);
    
            forEach(rootDir, null, handler);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

       * which are not generally applicable to every instance of Map.
       *
       * @param map the map whose additional invariants to check.
       */
      protected void assertMoreInvariants(Map<K, V> map) {}
    
      public void testClear() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    
        if (supportsClear) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      public void testParse_maximumWeightRepeated() {
        assertThrows(IllegalArgumentException.class, () -> parse("maximumWeight=10, maximumWeight=20"));
      }
    
      public void testParse_maximumSizeAndMaximumWeight() {
        assertThrows(IllegalArgumentException.class, () -> parse("maximumSize=10, maximumWeight=20"));
      }
    
      public void testParse_concurrencyLevel() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

      private final OkHttpClient client = new OkHttpClient();
      private final Moshi moshi = new Moshi.Builder().build();
      private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build();
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/ArtifactRepositoryFactory.java

                String url,
                ArtifactRepositoryLayout repositoryLayout,
                ArtifactRepositoryPolicy snapshots,
                ArtifactRepositoryPolicy releases);
    
        void setGlobalUpdatePolicy(String snapshotPolicy);
    
        void setGlobalChecksumPolicy(String checksumPolicy);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

      }
    
      public void testContainsAll_sameElements() {
        assertTrue(
            "containsAll(sameElements) should return true",
            collection.containsAll(MinimalCollection.of(createSamplesArray())));
      }
    
      @SuppressWarnings("ModifyingCollectionWithItself")
      public void testContainsAll_self() {
        assertTrue("containsAll(this) should return true", collection.containsAll(collection));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       *
       * @since 30.0
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void awaitTerminationUninterruptibly(ExecutorService executor) {
        // TODO(cpovirk): We could optimize this to avoid calling nanoTime() at all.
        verify(awaitTerminationUninterruptibly(executor, Long.MAX_VALUE, NANOSECONDS));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top