- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 162 for So (0.02 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
*/ @Test @DisplayName("Test toString requires valid configuration") public void testToStringRequiresValidConfig() { // Constructor with null config throws exception, so we can't test toString with null config // Instead, test that toString works with a valid config // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
String lang = "en"; List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang); assertNotNull(tokens); assertEquals(4, tokens.size()); // Our simple tokenizer splits on '.' so 456.789 becomes 456 and 789 assertEquals("123", tokens.get(0).getTerm()); assertEquals("456", tokens.get(1).getTerm()); assertEquals("0xFF", tokens.get(2).getTerm());
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
void testDeriveKeys_NullPreauthForSMB300() { // Given int dialect = Smb2Constants.SMB2_DIALECT_0300; // When - SMB 3.0.0 doesn't use preauth integrity, so null should be acceptable byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, null); // Then assertNotNull(signingKey, "Should handle null preauth for SMB 3.0.0");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
@Test public void testCreateSuggestTextIdBoundaryExactly445() { // Create text that encodes to exactly 445 characters // Base64 encoding increases size by ~4/3, so original size should be ~333 bytes StringBuilder sb = new StringBuilder(); for (int i = 0; i < 333; i++) { sb.append("a"); } String text = sb.toString();Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(-1); // Immediate EOF byte[] buffer = new byte[10]; // The readn method will return 0 when stream returns -1 // So this should still throw IOException, not return -1 IOException exception = assertThrows(IOException.class, () -> { SessionServicePacket.readPacketType(mockInputStream, buffer, 0); });
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
if (netbiosName != null && tcax.path.endsWith("\\IPC$")) { /* Some pipes may require that the hostname in the tree connect * be the netbios name. So if we have the netbios server name * from the NTLMSSP type 2 message, and the share is IPC$, we * assert that the tree connect path uses the netbios hostname. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java
assertEquals("serializeRule", deserializedRule.getRuleId()); assertNotNull(deserializedRule.getResponseProcessor()); // Note: crawlerContainer is transient (marked with @Resource) // so it won't be serialized assertNull(deserializedRule.crawlerContainer); } /** * Test with null CrawlerContainer */ public void test_nullCrawlerContainer() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
assertEquals(1, packet.addrEntry.length); } @Test void testReadResourceRecordWireFormat_differentRecordName() { byte[] src = new byte[20]; // No pointer, so mockRecordName will be read NameServicePacket.writeInt2(NameServicePacket.A, src, 10); // recordType (assuming name takes 10 bytes) NameServicePacket.writeInt2(NameServicePacket.IN, src, 12); // recordClass
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
} @Test @DisplayName("getInput/getOutput return cached streams when open; throw when closed") void getInputOutput_caching_and_closed() throws Exception { // Arrange: minimal stubs so stream construction works SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo"); when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
when(response.getHeaderStart()).thenReturn(0); // Note: Due to bug in line 96 (commented out bufferIndex = bufferOffset), // the decode starts at bufferIndex=8 instead of dataOffset=80 // So we need to write data at bufferIndex=8 // Write first FileBothDirectoryInfo at bufferIndex=8 SMBUtil.writeInt4(104, buffer, 8); // NextEntryOffset to second entry
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0)