Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testError (0.26 sec)

  1. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        void testRenewCredentials_True() {
            // Test renewCredentials(String locationHint, Throwable error) method when true
            String locationHint = "testLocation";
            Throwable error = new RuntimeException("testError");
            when(mockDelegate.renewCredentials(locationHint, error)).thenReturn(true);
            assertTrue(cifsContextWrapper.renewCredentials(locationHint, error));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/log/LoggerTest.java

         * @throws Exception
         */
        @Test
        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFatal() throws Exception {
            logger.fatal("fatal");
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                assertTrue(response.isReceived());
                assertSame(testException, response.getException());
            }
    
            @Test
            @DisplayName("Should handle error")
            void testError() throws InterruptedException {
                CountDownLatch latch = new CountDownLatch(1);
    
                Thread waiter = new Thread(() -> {
                    synchronized (response) {
                        try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            // Then
            assertFalse(isError);
            verify(response).isError();
        }
    
        @Test
        @DisplayName("Test Response interface methods - error")
        void testError() {
            // Given
            doNothing().when(response).error();
    
            // When
            response.error();
    
            // Then
            verify(response).error();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top