- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 747 for correcta (0.04 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
// Then assertNotNull(chunk); } } @Nested @DisplayName("Size Method Tests") class SizeTests { @Test @DisplayName("Should return correct size of 24 bytes") void testSize() { // Given SrvCopychunk chunk = new SrvCopychunk(0, 0, 0); // When int size = chunk.size(); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
assertArrayEquals(originalBuffer, buffer); } } @Nested @DisplayName("ToString Tests") class ToStringTests { @Test @DisplayName("Should generate correct string representation") void testToString() throws Exception { // Set up notification with known values byte oplockLevel = 0x02; byte[] fileId = new byte[16];
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/smb1/smb1/SmbComLogoffAndXTest.java
String inner = s.substring("SmbComLogoffAndX[".length(), s.length() - 1); assertFalse(inner.isEmpty(), "inner part of toString should not be empty"); } @Test @DisplayName("constructor sets correct command value") void constructorSetsCorrectCommand() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertNotNull(msg, "Message should not be null"); // SMB_COM_LOGOFF_ANDX = 0x74
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
mimeMap = new MimeMap(); } @Nested @DisplayName("getMimeType with extension only") class GetMimeTypeWithExtension { @Test @DisplayName("Should return correct mime type for known extensions") void testKnownExtensions() throws IOException { assertEquals("application/pdf", mimeMap.getMimeType("pdf"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
buffer[bufferIndex + 35] = 0x00; // setupCount = 0 buffer[bufferIndex + 36] = 0x00; // reserved int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex); // Verify the correct number of bytes were read (37 bytes total) assertEquals(37, bytesRead); // Verify values through reflection
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
// Then assertNotNull(transCallNamedPipe); assertEquals(TEST_PIPE_NAME, transCallNamedPipe.name); } @Test @DisplayName("Test writeSetupWireFormat writes correct bytes") void testWriteSetupWireFormat() { // Given transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length); byte[] dst = new byte[10];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// When int bytesWritten = response.writeBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesWritten); } @Test @DisplayName("Should create correct context types") void testCreateContext() { // Test encryption context NegotiateContextResponse enc = Smb2NegotiateResponse.createContext(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
assertNotNull(result); assertNotNull(result.getContent()); } /** * Test that null input stream throws CrawlerSystemException with correct message. */ public void test_getText_nullInputStream_throwsWithMessage() { try { textExtractor.getText(null, null); fail("Expected CrawlerSystemException");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Verify all values are set correctly assertEquals(TEST_CREATE_TIME, info.getCreateTime()); assertEquals(TEST_LAST_ACCESS_TIME, info.getLastAccessTime()); assertEquals(TEST_LAST_WRITE_TIME, info.getLastWriteTime()); assertEquals(TEST_ATTRIBUTES, info.getAttributes()); } @Test @DisplayName("Test getFileInformationLevel returns correct value") void testGetFileInformationLevel() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
@Test @DisplayName("Should correctly implement SmbBasicFileInfo interface") void testSmbBasicFileInfoInterface() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); // Use proper millisecond times that will be converted correctly long creationTimeMs = System.currentTimeMillis();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)