Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 2,174 for Exception (0.07 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest));
        }
    
        @Test
        @DisplayName("fetchMore() handles NT_STATUS_NO_MORE_FILES via exception")
        void fetchMore_handles_no_more_files_exception() throws Exception {
            // Setup required for this test
            when(parent.getLocator()).thenReturn(locator);
            when(locator.getUNCPath()).thenReturn("\\\\server\\share\\dir\\");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

        }
    
        /**
         * Test close method propagates exception.
         */
        @Test
        void testCloseWithException() throws CIFSException {
            // Given
            when(mockDelegate.hasNext()).thenReturn(false);
            CIFSException exception = new CIFSException("Test exception");
            doThrow(exception).when(mockDelegate).close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("Constructor with null fileName should accept null")
        void testConstructorWithNullFileName() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            purgeThumbnailJob = new PurgeThumbnailJob();
    
            // Create a mock ThumbnailManager
            thumbnailManager = new MockThumbnailManager();
    
            ComponentUtil.register(thumbnailManager, "thumbnailManager");
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/ResponseTest.java

        }
    
        @Test
        void testException() {
            Exception testException = new IllegalArgumentException("Another Test Exception");
            mockResponse.exception(testException);
    
            // Verify that the method was called with the correct argument
            verify(mockResponse, times(1)).exception(testException);
        }
    
        @Test
        void testGetNextResponse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            DuplicateHostHelper helper = new DuplicateHostHelper();
    
            try {
                helper.init();
                assertNotNull(helper.duplicateHostList);
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_setDuplicateHostList() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)");
            artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler);
            assertNull(artifact.getVersion());
            assertNull(artifact.getBaseVersion());
        }
    
        @Test
        void testMNG7780() throws Exception {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

         * restrictions were placed on d.  This demonstrates that a, b, c, &amp; d will
         * all be collected.
         *
         * @throws Exception
         */
        @Test
        void testDependencyManagementExclusionDoesNotOverrideGloballyForTransitives() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/PluginException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception for plugin-related errors.
     */
    public class PluginException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a plugin exception with message and cause.
         *
         * @param message the error message
         * @param cause the cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top