Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 142 for testLink (3.6 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            f.setCrawlerContainer(container);
            f.setComponentName(componentName);
            f.setOnDestroyListener(listener);
            return f;
        }
    
        /**
         * Test component class for testing factory operations
         */
        public static class TestComponent {
            private static AtomicInteger instanceCounter = new AtomicInteger(0);
            private final int id;
            private boolean destroyed = false;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

    /**
     * Test class for CreateContextResponse interface functionality
     */
    @DisplayName("CreateContextResponse Tests")
    class CreateContextResponseTest {
    
        /**
         * Test implementation of CreateContextResponse for testing purposes
         */
        static class TestCreateContextResponse implements CreateContextResponse {
            private byte[] name;
            private byte[] data;
            private int decodeCallCount = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

     * Test class for AbstractRule.
     * Tests the abstract rule implementation and its common functionality.
     */
    public class AbstractRuleTest extends PlainTestCase {
    
        /**
         * Concrete implementation of AbstractRule for testing
         */
        public static class TestAbstractRule extends AbstractRule {
            private static final long serialVersionUID = 1L;
    
            private boolean matchResult = true;
            private int matchCallCount = 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)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            String actual = response.toString();
            assertTrue(actual.startsWith("Trans2FindNext2Response["));
        }
    
        // Helper methods to write data to byte arrays for testing read methods
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/util/MimeMapTest.java

            @DisplayName("Should load mime.map resource properly")
            void testResourceLoading() throws IOException {
                MimeMap map = new MimeMap();
                assertNotNull(map);
                // Verify it works by testing a known mapping
                assertEquals("application/pdf", map.getMimeType("pdf"));
            }
        }
    
        @Nested
        @DisplayName("Performance and concurrency")
        class PerformanceTests {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

     * implementation and a Mockito mock to verify interactions.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbBasicFileInfoTest {
    
        /**
         * Simple concrete implementation used for testing return values.
         */
        private static class TestInfo implements SmbBasicFileInfo {
            private final int attributes;
            private final long createTime;
            private final long lastWriteTime;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            assertTrue(conn instanceof Handler.GcsURLConnection);
            Handler.GcsURLConnection gcsConn = (Handler.GcsURLConnection) conn;
    
            // Use reflection to access private fields for testing
            assertEquals("mybucket", getField(gcsConn, "bucketName"));
            assertEquals("path/to/object.txt", getField(gcsConn, "objectName"));
        }
    
        /**
         * Test URL parsing with bucket only (no object path).
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/HMACT64Test.java

            // This is a simplified HMAC-MD5 calculation for comparison, not a full RFC 2104 implementation.
            // The HMACT64 implementation is what we are testing.
            MessageDigest md5 = MessageDigest.getInstance("MD5");
            byte[] ipad = new byte[64];
            byte[] opad = new byte[64];
    
            for (int i = 0; i < key.length; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                // Simple implementation for testing
                return 0;
            }
    
            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
                // Simple implementation for testing
                return 0;
            }
        }
    
        @BeforeEach
        void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test implementation with concrete mock")
        void testConcreteImplementation() throws SMBProtocolDecodingException {
            // Create a concrete implementation for testing
            CommonServerMessageBlock concreteBlock = new CommonServerMessageBlock() {
                private long mid;
                private int command;
                private SMBSigningDigest digest;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top