Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 2,174 for Exception (0.31 sec)

  1. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            ComponentUtil.setFessConfig(fessConfig);
    
            // Execute and expect exception to be handled
            try {
                String result = pingSearchEngineJob.execute();
                // Job should handle exception gracefully
                assertNotNull(result);
            } catch (Exception e) {
                // Exception is expected to be caught within the job
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

        @Mock
        private Configuration mockConfig;
    
        @Mock
        private NbtAddress mockQueryAddress;
    
        private NodeStatusResponse response;
    
        @BeforeEach
        void setUp() throws Exception {
            // Setup mock configuration with lenient stubbing
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Setup mock query address
            mockQueryAddress = mock(NbtAddress.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/Crawler.java

            } catch (final Exception e) {
                logger.warn("Failed to store crawling information.", e);
            }
    
            try {
                return crawler.doCrawl(options);
            } finally {
                try {
                    crawlingInfoHelper.store(options.sessionId, false);
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      Map<Element, Element> map;
    
      CollectionBenchmarkSampleData elems;
    
      @Param({"0", "1", "100", "10000"})
      int elements;
    
      @BeforeExperiment
      public void prepareContents() throws Exception {
        mapsImpl = mapEnums.get(implName);
        elems = new CollectionBenchmarkSampleData(elements);
        contents = new HashMap<>();
        for (Element key : elems.getValuesInSet()) {
          contents.put(key, key);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

        public void test_loadDataStoreNameList_malformedXml() throws Exception {
            File jarFile = new File(tempDir, "malformed-datastore.jar");
            createTestJarWithXml(jarFile, "This is not valid XML");
    
            DataStoreFactory testFactory = new DataStoreFactory() {
                @Override
                protected List<String> loadDataStoreNameList() {
                    // Will handle exception and log warning
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            assertArrayEquals(new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }, resp.getErrorData());
        }
    
        @Test
        void throwsOnUnexpectedStructureSize() throws Exception {
            // structureSize != 49 and != 9 should raise an exception
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
            byte[] buf = new byte[header.length + 10];
            System.arraycopy(header, 0, buf, 0, header.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

      public void testRemove_nullKeyQueriesUnsupported() {
        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testRemove_nullValueQueriesUnsupported() {
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/InfoTest.java

        @BeforeEach
        void setUp() {
            transactionMock = mock(SmbComTransactionResponse.class);
        }
    
        @Test
        void testSmbComQueryInformationResponseGetters() throws Exception {
            // The constructor is package‑private; use an anonymous subclass
            SmbComQueryInformationResponse resp = new SmbComQueryInformationResponse(1000L) {
            };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbPipeHandleTest.java

            /**
             * Verifies that the close method can be called without throwing an exception.
             * @throws CIFSException if an error occurs during close.
             */
            @Test
            public void testClose() throws CIFSException {
                assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object.");
                // Verify that the close method was called
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

        // something else.
        TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles"))
      }
    
      @AfterEach
      @Throws(Exception::class)
      fun tearDown() {
        TimeZone.setDefault(originalDefault)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseStandardFormats() {
        // RFC 822, updated by RFC 1123 with GMT.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top