Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 3,008 for Shouldn (0.05 sec)

  1. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            CommandExecutionException exception1 = new CommandExecutionException("Test");
            CommandExecutionException exception2 = new CommandExecutionException("Test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
    
            // Test serialization compatibility by checking class name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            TestFessSystemException exception = new TestFessSystemException(message, true, true);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    
            // Stack trace should be populated
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        public void test_constructor_withNonWritableStackTrace() {
            // Test protected constructor with non-writable stack trace
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

        }
    
        public void test_register_with_null_scheduledJob() {
            try {
                jobHelper.register((ScheduledJob) null);
                fail("Should throw ScheduledJobException");
            } catch (ScheduledJobException e) {
                assertEquals("No job.", e.getMessage());
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

         */
        fun retry(): Plan?
      }
    
      /**
       * What to do once a plan has executed.
       *
       * If [nextPlan] is not-null, another attempt should be made by following it. If [throwable] is
       * non-null, it should be reported to the user should all further attempts fail.
       *
       * The two values are independent: results can contain both (recoverable error), neither
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            assertThrows(SmbException.class, () -> tree.treeConnect(null, null));
            // After failure, state should be reset to disconnected
            assertEquals(0, tree.connectionState);
        }
    
        @Test
        void testSend() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "A:");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/EncodableTest.java

            assertEquals(0, enc.size(), "size() must be zero");
            assertEquals(0, written, "encode() must return zero for zero length");
            for (byte b : dst) {
                assertEquals((byte) 0x7A, b, "Destination should remain unchanged");
            }
        }
    
        @Test
        @DisplayName("encode() throws when destination too small")
        void encodeThrowsWhenDestinationTooSmall() {
            byte[] src = makeSeq(5);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            facetQueryView.init();
    
            Map<String, String> queryMap = facetQueryView.getQueryMap();
    
            // Should have original queries
            assertEquals("filetype:html", queryMap.get("label1"));
            assertEquals("field2:value2", queryMap.get("label2"));
    
            // Should add file type queries since there's a filetype query
            assertTrue(queryMap.size() > 2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                // Verify output buffer length
                assertEquals(0x8000, SMBUtil.readInt4(buffer, 68));
    
                // Verify input buffer offset (should be 0 when no input buffer)
                assertEquals(0, SMBUtil.readInt2(buffer, 72));
    
                // Verify input buffer length (should be 0 when no input buffer)
                assertEquals(0, SMBUtil.readInt4(buffer, 76));
    
                // Verify additional information
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            assertEquals(
                "char 0x" + Integer.toString(ch, 16) + " should not be escaped", input, escaped);
          }
        }
    
        // Test that 0xFFFE and 0xFFFF are replaced with 0xFFFD
        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFE');
        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF');
    
        assertEquals(
            "0xFFFE is forbidden and should be replaced during escaping",
            "[\uFFFD]",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DfsImplTest.java

        void testIsTrustedDomain_ConnectionFails() throws SmbAuthException {
            // Scenario: Transport connection fails
            when(mockCredentials.getUserDomain()).thenReturn("authdomain.com");
            // When transport fails, it should return false
            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        // Tests for getDc
        @Test
        void testGetDc_DfsDisabled() throws SmbAuthException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top