Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 8,005 for Class3 (0.06 sec)

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

        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<V> iterator = getMap().values().iterator();
              put(e3());
              iterator.next();
            });
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPut_unsupportedNotPresent() {
        assertThrows(UnsupportedOperationException.class, () -> put(e3()));
        expectUnchanged();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

         */
        Class<?> getElementClassOfCollection(int index);
    
        /**
         * Returns the key type if the parameter type of the method is a parameterized {@link Map}.
         *
         * @param index
         *            The index of the parameter
         * @return The key type if the parameter type is a parameterized {@link Map}, otherwise {@literal null}
         */
        Class<?> getKeyClassOfMap(int index);
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetAddTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddMeansAddOne() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

            container.singleton("mimeTypeHelper", MimeTypeHelperImpl.class)
                    .singleton("tikaExtractor", TikaExtractor.class)
                    .singleton("lhaExtractor", LhaExtractor.class)
                    .<ExtractorFactory> singleton("extractorFactory", ExtractorFactory.class, factory -> {
                        TikaExtractor tikaExtractor = container.getComponent("tikaExtractor");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
            ClassTraversalUtil.forEach(con.getJarFile(), (ClassHandler) (packageName, shortClassName) -> {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

                    .singleton("fsClient", FileSystemClient.class)//
                    .singleton("smbClient", SmbClient.class)//
                    .singleton("smb1Client", org.codelibs.fess.crawler.client.smb1.SmbClient.class)//
                    .singleton("ftpClient", FtpClient.class)//
                    .singleton("storageClient", StorageClient.class)//
                    .singleton("clientFactory", CrawlerClientFactory.class);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

    /**
     * Tests for {@link jcifs.smb1.dcerpc.msrpc.MsrpcSamrConnect2} constructor.
     * <p>
     * The class under test is a simple wrapper around the base class that
     * sets internal fields in its constructor.
     * These tests verify that the constructor accepts various parameters
     * without throwing exceptions.
     */
    @ExtendWith(MockitoExtension.class)
    class MsrpcSamrConnect2Test {
    
        // Helper method to create a minimal SamrPolicyHandle instance.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacTest.java

            // Any PACDecodingException is acceptable for this test
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testTooSmallPac() {
            // Test that PAC smaller than 8 bytes is rejected
            byte[] smallData = new byte[4];
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(smallData, keys));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(parameterizedClassDesc.getRawClass(), is(sameClass(Class.class)));
            final MyBean myBean = new MyBean();
            aaa.setFieldValue(myBean, String.class);
            assertThat(aaa.getFieldValue(myBean), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = FieldNotStaticRuntimeException.class)
        public void testAaa_GetStaticFieldValue() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

     */
    @NullMarked
    @GwtCompatible
    public class SuppliersTest extends TestCase {
    
      static class CountingSupplier implements Supplier<Integer> {
        int calls = 0;
    
        @Override
        public Integer get() {
          calls++;
          return calls * 10;
        }
    
        @Override
        public String toString() {
          return "CountingSupplier";
        }
      }
    
      static class ThrowingSupplier implements Supplier<Integer> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top