- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for initially (2.99 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
*/ @Test public void testGetAttributes() { // Initially, attributes should be 0. assertEquals(0, response.getAttributes()); } /** * Test of getCreateTime method, of class SmbComQueryInformationResponse. */ @Test public void testGetCreateTime() { // Initially, lastWriteTime is 0, so createTime should be just the offset.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
// Session starts with usage count > 0 assertTrue(session.isInUse(), "Session should be in use initially"); // Create and release trees SmbTreeImpl tree = session.getSmbTree("share1", null); assertNotNull(tree, "Tree should be created"); tree.release(); // Release the session (back to initial state) session.release();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
assertNull(dcerpcBinding.getEndpoint(), "Endpoint should be null initially."); assertNull(dcerpcBinding.getUuid(), "UUID should be null initially."); assertEquals(0, dcerpcBinding.getMajor(), "Major version should be 0 initially."); assertEquals(0, dcerpcBinding.getMinor(), "Minor version should be 0 initially."); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
sessionIdField.setAccessible(true); // Initially sessionId should be null String initialSessionId = (String) sessionIdField.get(authenticator); assertNull(initialSessionId, "SessionId should initially be null"); } @Test @DisplayName("Test get password as char array") void testGetPasswordAsCharArray() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
assertTrue(transaction.hasMoreElements(), "hasMoreElements should be true after reset"); } @Test @DisplayName("Test hasMoreElements() initially returns true") void testHasMoreElements() { assertTrue(transaction.hasMoreElements(), "Initially, hasMoreElements should be true"); } @Test @DisplayName("Test nextElement() returns transaction on first call")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
assertEquals(1024, buffer2.length, "Buffer should have expected size"); assertNotSame(buffer1, buffer2, "Different calls should return different buffers initially"); } @Test @DisplayName("releaseBuffer and getBuffer should implement buffer reuse") void testBufferReuse() { // Given byte[] originalBuffer = testCache.getBuffer();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
assertTrue(registration.getLastHeartbeat() > initialTime); } @Test void testExpiration() throws InterruptedException { // Registration should not be expired initially with long timeout assertFalse(registration.isExpired(60000)); // Wait a bit to ensure some time has passed Thread.sleep(50);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java
void setUp() { response = new TestableSmbComNtTransactionResponse(); } @Test void testReadParameterWordsWireFormat_bufDataStartIsZero() { // Test case when bufDataStart is initially 0. byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount int bufferIndex = 0; // Reserved bytes buffer[bufferIndex++] = 0x00;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
} @Test void testGetInstanceInitializesIfNull() { // Test getInstance initializes the context if it's null assertNull(getSingletonInstanceViaReflection()); // Ensure it's null initially CIFSContext context = SingletonContext.getInstance(); assertNotNull(context); assertNotNull(getSingletonInstanceViaReflection()); // Should be initialized now } @TestRegistered: 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/SmbResourceLocatorTest.java
void testDfsReferralData() throws Exception { String url = "smb://server/share/path/"; DummySmbResourceLocator loc = new DummySmbResourceLocator(url); // Initially no DFS referral assertNull(loc.getDfsReferral()); // Set and retrieve DFS referral loc.setDfsReferral(dfs); assertSame(dfs, loc.getDfsReferral()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0)