- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 574 for correctos (0.2 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F })); } @ParameterizedTest @MethodSource("int32Provider") @DisplayName("readParameterWordsWireFormat correctly decodes 32-bit offset") void testReadParameterWords(int expectedInt, byte[] bytes) { // The implementation reads via SMBUtil.readInt4 which returns an int // When assigned to a long field, it gets sign-extended
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
@Nested @DisplayName("Decode Method Tests") class DecodeMethodTests { @Test @DisplayName("Should decode buffer with typical values correctly") void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException { // Given - prepare buffer with typical file system values ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
@Nested @DisplayName("Decode Method Tests") class DecodeMethodTests { @Test @DisplayName("Should decode buffer with typical values correctly") void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException { // Given - prepare buffer with typical file system values ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
assertEquals("shared", file.getShare(), "Share should be extracted correctly"); assertNotNull(file.getParent(), "Parent should not be null"); assertTrue(file.getParent().endsWith("/shared/path/"), "Parent path should be correct"); } @Test void testUNCPath() throws Exception { SmbFile file = new SmbFile(baseUrl + "shared/unc.txt", context);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// Change name generator.setName("new-name"); assertEquals("new-name", generator.getName()); } public void test_generate() { // Test generate method is called correctly generator = new TestThumbnailGenerator(); File outputFile = new File("test.jpg"); assertFalse(generator.isGenerateCalled()); assertTrue(generator.generate("id123", outputFile));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
*/ class NtlmChallengeTest { @Nested @DisplayName("Constructor and Field Tests") class ConstructorTests { @Test @DisplayName("Constructor sets fields correctly") void testConstructorSetsFields() { byte[] challenge = new byte[] { 1, 2, 3 }; UniAddress dc = mock(UniAddress.class); NtlmChallenge nc = new NtlmChallenge(challenge, dc);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
docs/pt/docs/advanced/security/http-basic-auth.md
<img src="/img/tutorial/security/image12.png"> ## Verifique o usuário Aqui está um exemplo mais completo. Utilize uma dependência para verificar se o usuário e a senha estão corretos. Para isso, utilize o módulo padrão do Python <a href="https://docs.python.org/3/library/secrets.html" class="external-link" target="_blank">`secrets`</a> para verificar o usuário e senha.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
int tid = response.getTid(); // Then assertEquals(54321, tid, "getTid should return tree ID"); } @Test @DisplayName("Should validate tree ID correctly") void testIsValidTid() { // Test valid TID response.setTreeId(100); assertTrue(response.isValidTid(), "Positive tree ID should be valid");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} } @Nested @DisplayName("Flag Operations Tests") class FlagOperationsTests { @Test @DisplayName("Should add flags correctly") void testAddFlags() { assertEquals(0, testMessage.getFlags()); testMessage.addFlags(ServerMessageBlock2.SMB2_FLAGS_SIGNED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java
"flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); // Verify that the super constructor was called with the correct handle. // This is implicitly tested by the object being created without error and // the fields set by the constructor being correct. }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.4K bytes - Viewed (0)