Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 148 for testLog (1.93 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalControllerTest.java

     * Test cases for {@link AbstractIntervalController}
     *
     * @author shinsuke
     */
    public class AbstractIntervalControllerTest extends PlainTestCase {
    
        /**
         * Test implementation of AbstractIntervalController for testing
         */
        private static class TestIntervalController extends AbstractIntervalController {
            int beforeProcessingCount = 0;
            int afterProcessingCount = 0;
            int noUrlInQueueCount = 0;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. README.md

    mvn license:format
    
    # Generate test coverage report
    mvn jacoco:prepare-agent test jacoco:report
    
    # Generate API documentation
    mvn javadoc:javadoc
    ```
    
    ### Testing
    
    The project uses JUnit 4 with embedded OpenSearch for integration testing:
    
    ```bash
    # Run all tests
    mvn test
    
    # Run specific test class
    mvn test -Dtest=SuggesterTest
    
    # Run with verbose output
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

        @Mock
        private FileNotifyInformation mockNotifyInfo2;
    
        @Mock
        private CommonServerMessageBlockRequest mockRequest;
    
        /**
         * Mock implementation of NotifyResponse for testing interface behavior
         */
        private static class MockNotifyResponse implements NotifyResponse {
    
            private List<FileNotifyInformation> notifyInformation;
            private boolean async = false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x80, SmbConstants.FLAGS_RESPONSE);
        }
    
        /**
         * Test interaction with SmbTransport using Mockito.
         * This demonstrates mocking capabilities for testing.
         */
        @Test
        @DisplayName("Mock interaction example with SmbTransport")
        void mockTransportInteraction() {
            // Create a mock of SmbTransport from jcifs package
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            // The exception should be serializable since it extends CIFSException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        /**
         * Helper class for testing - not actually needed but demonstrates IOException usage
         */
        private static class IOException extends Exception {
            public IOException(String message) {
                super(message);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

     * {@code readBytesWireFormat}.
     */
    public class SmbComTransactionResponseTest {
        /** A minimal concrete subclass for testing */
        private static class DummyResponse extends SmbComTransactionResponse {
            DummyResponse() {
                super();
            }
    
            // Expose protected/private fields for testing
            boolean getIsPrimary() {
                return isPrimary;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. README.md

    ```bash
    # Compile the source code
    mvn compile
    
    # Build JAR file
    mvn package
    
    # Clean and rebuild
    mvn clean compile
    
    # Install to local repository
    mvn install
    ```
    
    ### Testing
    ```bash
    # Run all tests (JUnit 4 based)
    mvn test
    
    # Run specific test class
    mvn test -Dtest=SpecificTest
    
    # Alternative test runner
    mvn surefire:test
    ```
    
    ### Code Quality
    ```bash
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

         * @throws CIFSException if an error occurs during comparison
         */
        boolean overlaps(SmbResourceLocator other) throws CIFSException;
    
        /**
         * Internal: for testing only
         *
         * @param dr the DFS referral data to process
         * @param reqPath the requested path to resolve
         * @return resolved unc path
         */
        String handleDFSReferral(DfsReferralData dr, String reqPath);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/BufferCacheTest.java

            // Then
            assertSame(originalBuffer, reusedBuffer, "Released buffer should be reused");
        }
    
        /**
         * Simple test implementation of BufferCache for testing purposes
         */
        private static class TestBufferCacheImpl implements BufferCache {
            private final List<byte[]> cache;
            private final int bufferSize;
            private final int maxBuffers;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

    /**
     * Test class for CreateContextRequest interface
     */
    @DisplayName("CreateContextRequest Tests")
    class CreateContextRequestTest {
    
        /**
         * Test implementation of CreateContextRequest for testing purposes
         */
        static class TestCreateContextRequest implements CreateContextRequest {
            private byte[] name;
            private byte[] data;
            private int encodedSize;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top