Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 2,450 for exceptions (0.61 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testLtrim() throws Exception {
            assertEquals("1", "trim", StringUtil.ltrim("zzzytrim", "xyz"));
            assertEquals("2", "", StringUtil.ltrim("xyz", "xyz"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRtrim() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      public void testConstructor() throws Exception {
        Invokable<A, A> invokable = A.constructor();
        assertTrue(invokable.isPublic());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

    import org.codelibs.core.beans.impl.sub.MogeBeanFactory;
    import org.codelibs.core.exception.IllegalPropertyRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class PropertyDescImplTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testSetValue() throws Exception {
            final MyBean myBean = new MyBean();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java

        public void test_zeroTime() throws Exception {
            SuggestDeleteResponse response = new SuggestDeleteResponse(null, 0);
    
            assertEquals(0, response.getTook());
            assertFalse(response.hasError());
        }
    
        @Test
        public void test_multipleDifferentErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Exception error"));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

    import static org.codelibs.core.misc.AssertionUtil.assertState;
    import static org.hamcrest.CoreMatchers.is;
    
    import org.codelibs.core.exception.ClIllegalArgumentException;
    import org.codelibs.core.exception.ClIllegalStateException;
    import org.codelibs.core.exception.ClIndexOutOfBoundsException;
    import org.codelibs.core.exception.NullArgumentException;
    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            TimeZone.setDefault(null);
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizerTest.java

    public class FullWidthToHalfWidthAlphabetNormalizerTest {
    
        @Test
        public void test_constructor() throws Exception {
            FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer();
            assertNotNull(normalizer);
        }
    
        @Test
        public void test_lowercaseAlphabet() throws Exception {
            FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            }, "Should throw UnknownHostException for non-existent NetBIOS name with type");
    
            // Verify the exception message indicates name resolution failure
            assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown")
                    || exception.getMessage().contains("not found"), "Exception message should indicate name resolution failure");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

      protected static final int VALID_INPUT_DATA = 1;
      protected static final Exception EXCEPTION = new Exception("Test exception");
    
      protected SettableFuture<Integer> inputFuture;
      protected ListenableFuture<T> resultFuture;
      protected MockFutureListener listener;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        inputFuture = SettableFuture.create();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

                final String message = e.getMessage();
                assertNotNull("Exception message should not be null", message);
                assertFalse("Exception message should not be empty", message.trim().isEmpty());
                assertTrue("Exception message should mention 'inputstream'", message.toLowerCase().contains("inputstream"));
                assertTrue("Exception message should mention 'null'", message.toLowerCase().contains("null"));
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top