Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 2,324 for exception (0.12 sec)

  1. android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java

    import java.util.logging.Logger;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Simple utility for when you want to create a {@link TearDown} that may throw an exception but
     * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception
     * varies; see its documentation for details.) Use it just like a {@code TearDown}, except override
     * {@link #sloppyTearDown()} instead.
     *
     * @author Luiz-Otavio Zorzella
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        private Trans2SetFileInformationResponse response;
        private Configuration config;
    
        @Mock
        private Configuration mockConfig;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
            response = new Trans2SetFileInformationResponse(config);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.core.direction.exception.ConfigPropertyNotFoundException;
    
    public class FessConfigImplTest extends UnitFessTestCase {
    
        private FessConfigImpl fessConfig;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Create FessConfigImpl with overridden get method for testing
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.entity.TestEntity;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class XmlTransformerTest extends PlainTestCase {
        public XmlTransformer xmlTransformer;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            return mockCtx;
        }
    
        @Test
        @DisplayName("Should create Type 3 message with authentication data")
        void testType3MessageCreation() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String password = "testpassword";
            String domain = "TESTDOMAIN";
            String username = "testuser";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

        private static final Logger logger = LogManager.getLogger(FessXpathTransformerTest.class);
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new DataSerializer(), "dataSerializer");
        }
    
        public void test_transform() throws Exception {
            String data = "<html><head><title>Test</title></head><body><h1>Header1</h1><p>This is a pen.</p></body></html>";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

        }
    
        public void test_hook_withNullAssistantDirector() {
            // When & Then - Should not throw exception
            try {
                curtainBeforeHook.hook(null);
            } catch (Exception e) {
                fail("Should not throw exception with null AssistantDirector");
            }
        }
    
        public void test_multipleHookCalls_maintainsSameTimeZone() {
            // Given
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          assertThat(expected).hasMessageThat().contains("[null]");
          foundProblem = true;
        }
        assertTrue("Should report error when different exception is thrown", foundProblem);
      }
    
      public void testMessageNoException() throws Exception {
        Method method = OneArg.class.getMethod("staticOneArgShouldThrowNpeButDoesnt", String.class);
        boolean foundProblem = false;
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            } catch (Throwable e) {
              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
              // If an exception is thrown by the subclass then we need to make sure that the service
              // notices and transitions to the FAILED state. We do it by calling notifyFailed directly
              // because the service does not monitor the state of the future so if the exception is not
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

    import java.io.StringReader;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class IndexedIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top