Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for testErrors (0.03 sec)

  1. android/guava-tests/test/com/google/common/io/CloserTest.java

        assertTrue(c2.isClosed());
    
        assertSuppressed(
            new Suppression(c2, tryException, c2Exception),
            new Suppression(c1, tryException, c1Exception));
      }
    
      public void testErrors() throws IOException {
        Closer closer = new Closer(suppressor);
    
        Error c1Exception = new Error();
        Error c2Exception = new Error();
        Error c3Exception = new Error();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CloserTest.java

        assertTrue(c2.isClosed());
    
        assertSuppressed(
            new Suppression(c2, tryException, c2Exception),
            new Suppression(c1, tryException, c1Exception));
      }
    
      public void testErrors() throws IOException {
        Closer closer = new Closer(suppressor);
    
        Error c1Exception = new Error();
        Error c2Exception = new Error();
        Error c3Exception = new Error();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            errorCount.set(5);
            assertEquals(5, crawlingConfigHelper.getExcludedUrlList("123").size());
            systemProperties.setProperty(Constants.IGNORE_FAILURE_TYPE_PROPERTY, "TestError0");
            assertEquals(4, crawlingConfigHelper.getExcludedUrlList("123").size());
        }
    
        public void test_getDefaultConfig() {
            assertTrue(crawlingConfigHelper.getDefaultConfig(null).isEmpty());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/ResponseTest.java

            assertTrue(mockResponse.isError());
    
            // Verify the method was called
            verify(mockResponse, times(2)).isError();
        }
    
        @Test
        void testError() {
            // Call the method
            mockResponse.error();
    
            // Verify that the method was called
            verify(mockResponse, times(1)).error();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        public void test_addUpdateConfigListener_withException() {
            systemHelper.addUpdateConfigListener("TestError", () -> {
                throw new RuntimeException("Test error");
            });
            final String result = systemHelper.updateConfiguration();
            assertTrue(result.contains("TestError:"));
            assertTrue(result.contains("Test error"));
        }
    
        public void test_getFilteredEnvMap_emptyKey() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top