- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 143 for testLink (1.6 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Mock witness service for integration testing. * Simulates a basic witness service that can accept registrations * and send notifications. */ public class MockWitnessService implements AutoCloseable {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
* values are verified to ensure proper exception handling and byte * conversion. */ @ExtendWith(MockitoExtension.class) class NtlmMessageTest { /** Lightweight concrete implementation used only for testing. */ private static class Dummy extends NtlmMessage { @Override public byte[] toByteArray() { return new byte[0]; } } private Dummy msg; @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
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) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
import org.junit.jupiter.api.Test; /** * Tests for SpnegoToken. * Uses a minimal concrete subclass to exercise abstract methods. */ class SpnegoTokenTest { /** * Minimal concrete implementation for testing. * - parse: sets mechanismToken, throws on null * - toByteArray: returns mechanismToken or empty array if null */ static class TestSpnegoToken extends SpnegoToken { private boolean parsed = false;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0)