Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 291 for isSame (0.55 sec)

  1. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

            @Test
            void arraysHaveSameLength() {
                assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length,
                        "WINERR_CODES and WINERR_MESSAGES should have the same length");
            }
    
            @Test
            void messagesAlignWithCodes() {
                for (int i = 0; i < WinError.WINERR_CODES.length; i++) {
                    int code = WinError.WINERR_CODES[i];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

                fail("Should handle null targetIndices: " + e.getMessage());
            }
        }
    
        /**
         * Test: prepareStreamSearch delegates to prepareSearch
         * Verifies that both methods return the same result
         */
        @Test
        public void testPrepareStreamSearchDelegatesToPrepareSearch() {
            final SearchRequestBuilder mockBuilder = mock(SearchRequestBuilder.class);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResource.java

         * bitset by bitwise ORing the <code>ATTR_*</code> constants. Setting the
         * value returned by <code>getAttributes</code> will result in both files
         * having the same attributes.
         *
         * @param attrs
         *            attribute flags
         *
         * @throws CIFSException if an error occurs modifying the resource
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            // Whitespace
            testRule.setRuleId("  rule with spaces  ");
            assertEquals("  rule with spaces  ", testRule.getRuleId());
        }
    
        /**
         * Test multiple registrations of same rule
         */
        public void test_multipleRegistrations() {
            testRule.setRuleId("multiRegRule");
    
            // Register multiple times
            testRule.register(0);
            testRule.register(0);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
            assertEquals("NTLM", request.getAuthType());
            // Verify it returns the same value on multiple calls
            assertEquals("NTLM", request.getAuthType());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            childUrlRuleMap.put("//A", "href");
            childUrlRuleMap.put("//AREA", "href");
            childUrlRuleMap.put("//FRAME", "src");
            childUrlRuleMap.put("//IFRAME", "src");
            childUrlRuleMap.put("//IMG", "src");
            childUrlRuleMap.put("//LINK", "href");
            childUrlRuleMap.put("//SCRIPT", "src");
    
            container = new StandardCrawlerContainer();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Nov 11 13:40:14 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            assertNotNull(handle, "Handle must not be null");
            assertSame(pipe, handle.getPipe(), "Handle should reference originating pipe");
            assertSame(handle, handle.unwrap(SmbPipeHandle.class), "unwrap should return same instance for interface type");
        }
    
        @ParameterizedTest
        @DisplayName("getPipeType echoes constructor input (edge values)")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            int referent1 = Encdec.dec_uint32le(buffer, 0);
            assertTrue(referent1 > 0); // Should be a positive referent ID
    
            ndrBuffer.reset();
            ndrBuffer.enc_ndr_referent(obj1, 2); // Same object, should get same referent
            assertEquals(4, ndrBuffer.getIndex());
            assertEquals(referent1, Encdec.dec_uint32le(buffer, 0));
    
            ndrBuffer.reset();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for {@link SmbComClose}.
     * <p>
     * All tests are written in the same package as the class under test so
     * that package-private fields and constants can be accessed directly.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComCloseTest {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. CLAUDE.md

    mvn test                       # Run tests
    mvn formatter:format           # Format code
    mvn license:format             # Update license headers
    ```
    
    ### Code Style
    
    - 4 spaces (no tabs)
    - Opening brace on same line
    - Max line length: 120
    - JavaDoc required for public APIs
    - License headers required
    
    ### Testing
    
    **Structure**: `src/test/java/org/codelibs/fess/crawler/`
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top