- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 167 for minimal (0.82 sec)
-
src/test/java/jcifs/pac/PacTest.java
pacMacMock.when(() -> PacMac.calculateMac(anyInt(), any(), any())).thenReturn(mockChecksum); // Create a minimal valid PAC structure ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, 3); // bufferCount = 3 (minimum required) writeLittleEndianInt(baos, PacConstants.PAC_VERSION); // version // Buffer 1: LOGON_INFO
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import jcifs.pac.PACDecodingException; class KerberosApRequestTest { // Helper: build a minimal, valid-looking ASN.1 AP-REQ sequence with tags 0/1/2 private ASN1Sequence buildMinimalApReqSeq(byte apOptions) { ASN1EncodableVector v = new ASN1EncodableVector(); // pvno [0] INTEGER 5Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer[5] = 0x00; // Access mask byte 1 testBuffer[6] = 0x12; // Access mask byte 2 testBuffer[7] = 0x00; // Access mask byte 3 // Add minimal SID data (S-1-1-0 - Everyone) testBuffer[8] = 0x01; // Revision testBuffer[9] = 0x01; // Sub-authority count testBuffer[10] = 0x00; // Identifier authority testBuffer[11] = 0x00;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
assertEquals("Invalid PAC credential type", exception.getMessage()); } /** * Tests the constructor with a byte array that is larger than the minimal buffer size. */ @Test void testConstructorWithDataMuchLarger() { // A byte array with a length greater than 32 should also be considered too large. byte[] veryLargeData = new byte[100];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readDataWireFormat(buffer, 0, 0); }); } @Test @DisplayName("Should handle minimal DFS referral buffer") void testReadDataWireFormatMinimalBuffer() { byte[] buffer = createMinimalDfsReferralBuffer(); int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java
// If no exception is thrown, result should be empty or minimal assertNotNull("Result should not be null", result); assertNotNull("Content should not be null", result.getContent()); // Empty or minimal content is acceptable for invalid archives } catch (final ExtractException e) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
import java.io.IOException; import org.junit.jupiter.api.DisplayName; 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 */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
import jcifs.Configuration; import jcifs.NetbiosAddress; import jcifs.NetbiosName; import jcifs.ResolverType; /** * Test class for NameServiceClientImpl focusing on public API methods. * Optimized for fast execution with minimal network calls. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) @DisplayName("NameServiceClientImpl Tests") class NameServiceClientImplTest { @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
README.md
- Automatic in-memory or on-disk caching of request/response bodies - Synchronous and asynchronous (callback) execution - Minimal dependencies (only Apache Commons IO) ## Installation ### Maven Add the dependency to your `pom.xml` (replace `x.y.z` with the latest version): ```xml <dependency> <groupId>org.codelibs</groupId>
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
* Mockito to guarantee that implementation classes do not inadvertently * bypass the filter logic. */ public class SmbFileFilterTest { /** * A minimal implementation that accepts every {@link SmbFile}. */ private final SmbFileFilter ALWAYSACTIVE = new SmbFileFilter() { @Override public boolean accept(SmbFile file) throws SmbException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0)