Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 6,944 for CLASS (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        assertThrows(IllegalArgumentException.class, () -> resetMap(entries));
      }
    
      @MapFeature.Require(REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesRejected() {
        Entry<K, V>[] entries = getEntriesMultipleNonNullKeys();
        assertThrows(IllegalArgumentException.class, () -> resetMap(entries));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NbtExceptionTest.java

    import jcifs.CIFSException;
    
    class NbtExceptionTest {
    
        /**
         * Test the constructor of NbtException.
         * It should correctly set errorClass and errorCode, and the message should be derived from getErrorString.
         */
        @Test
        @DisplayName("NbtException constructor should correctly set error class, error code, and message")
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

      }
    
      private static final class WrappedCallable<T> implements Callable<T> {
        private final Callable<T> delegate;
    
        WrappedCallable(Callable<T> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public T call() throws Exception {
          return delegate.call();
        }
      }
    
      private static final class WrappedRunnable implements Runnable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        String test = "abc" + Character.MIN_HIGH_SURROGATE;
        assertThrows(IllegalArgumentException.class, () -> escapeAsString(NOP_ESCAPER, test));
        assertThrows(IllegalArgumentException.class, () -> escapeAsString(SIMPLE_ESCAPER, test));
      }
    
      public void testNullInput() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
        assertThrows(NullPointerException.class, () -> e.escape((String) null));
      }
    
      public void testBadStrings() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

            .createTestSuite();
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.add(NavigableSetNavigationTester.class);
        return testers;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        String test = "abc" + Character.MIN_HIGH_SURROGATE;
        assertThrows(IllegalArgumentException.class, () -> escapeAsString(NOP_ESCAPER, test));
        assertThrows(IllegalArgumentException.class, () -> escapeAsString(SIMPLE_ESCAPER, test));
      }
    
      public void testNullInput() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
        assertThrows(NullPointerException.class, () -> e.escape((String) null));
      }
    
      public void testBadStrings() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacUnicodeStringTest.java

    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link PacUnicodeString} class.
     */
    class PacUnicodeStringTest {
    
        /**
         * Tests the constructor and getter methods.
         */
        @Test
        void testConstructorAndGetters() {
            // Create a new instance with some test data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

     * Implementations are strongly encouraged to be side-effect-free and immutable.
     *
     * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean
     * "any {@code char} value {@code c} for which {@code this.matches(c)} returns {@code true}".
     *
     * <p><b>Warning:</b> This class deals only with {@code char} values, that is, <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsSearchLogBhv.java

        }
    
        @Override
        protected Class<? extends SearchLog> typeOfSelectedEntity() {
            return SearchLog.class;
        }
    
        @Override
        protected Class<SearchLog> typeOfHandlingEntity() {
            return SearchLog.class;
        }
    
        @Override
        protected Class<SearchLogCB> typeOfHandlingConditionBean() {
            return SearchLogCB.class;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileConfigBhv.java

        }
    
        @Override
        protected Class<? extends FileConfig> typeOfSelectedEntity() {
            return FileConfig.class;
        }
    
        @Override
        protected Class<FileConfig> typeOfHandlingEntity() {
            return FileConfig.class;
        }
    
        @Override
        protected Class<FileConfigCB> typeOfHandlingConditionBean() {
            return FileConfigCB.class;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top