- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 162 for minipay (1.09 sec)
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
when(tree.getConfig()).thenReturn(config); when(config.getMaximumBufferSize()).thenReturn(65535); when(config.getListSize()).thenReturn(65535); // Arrange minimal successful open with one entry FileEntry fe1 = mock(FileEntry.class); lenient().when(fe1.getName()).thenReturn("x"); when(fe1.getFileIndex()).thenReturn(1); doAnswer(inv -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
} @ParameterizedTest @DisplayName("Should decode various sector and allocation configurations") @CsvSource({ "1000, 500, 600, 1, 512", // Minimal sectors per alloc "1000, 500, 600, 8, 512", // Typical configuration "1000, 500, 600, 64, 512", // Large allocation units "1000, 500, 600, 8, 4096", // 4K sectorsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
docs/en/docs/help-fastapi.md
In many cases they will only copy a fragment of the code, but that's not enough to **reproduce the problem**. * You can ask them to provide a <a href="https://stackoverflow.com/help/minimal-reproducible-example" class="external-link" target="_blank">minimal, reproducible, example</a>, that you can **copy-paste** and run locally to see the same error or behavior they are seeing, or to understand their use case better.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
} @Test @DisplayName("getSmbSession creates and then reuses matching session") void getSmbSession_createAndReuse() { // Arrange: minimal credentials chain so SmbSessionImpl constructor succeeds CredentialsInternal creds = mock(CredentialsInternal.class); when(ctx.getCredentials()).thenReturn(creds);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
assertTrue(parsed.getContextFlag(NegTokenInit.INTEGRITY)); assertFalse(parsed.getContextFlag(NegTokenInit.CONFIDENTIALITY)); } @Test @DisplayName("Minimal token: no fields present") void testMinimalTokenRoundTrip() throws Exception { NegTokenInit init = new NegTokenInit(); // no fields byte[] bytes = init.toByteArray();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
@Test void readWireFormat_shouldDelegateToParent() { // Arrange nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName); byte[] src = new byte[200]; // Setup minimal valid header src[0] = 0x00; src[1] = 0x01; // Transaction ID src[2] = 0x00; // Flags src[3] = 0x00; // Flags src[4] = 0x00; src[5] = 0x01; // Question countRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
@Mock private sid_t mockSidT; private MsrpcLookupSids lookupSids; private jcifs.SID[] testSids; @BeforeEach void setUp() { // Setup is minimal - mocks are configured per test as needed } @Test void constructor_shouldInitializeWithValidParameters() { // Arrange jcifs.SID mockSid1 = mock(jcifs.SID.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
assertEquals(TEST_BATCH_COUNT, SMBUtil.readInt2(buffer, 2)); assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6)); // Empty filename should result in minimal bytes written assertTrue(written >= 12); // At least the fixed parameters } @Test void testInformationLevelConstant() { // Verify the information level is set correctly
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; import jcifs.smb.NtStatus; import jcifs.smb.SmbException; class Smb2IoctlResponseTest { // Helper: build a minimal SMB2 header with a given status private static byte[] buildHeader(int status) { byte[] hdr = new byte[64]; // SMB2 header is 64 bytes System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
} @Test @DisplayName("Test decode returns correct bytes consumed") void testDecodeBytesConsumed() throws SMBProtocolDecodingException { // Prepare minimal buffer byte[] buffer = new byte[24]; // Test with offset 0 int bytesDecoded = response.decode(buffer, 0, 24);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0)