- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 338 for toen (0.08 sec)
-
src/test/java/jcifs/NetbiosNameTest.java
int result = mockNetbiosName.getNameType(); // Then assertEquals(nameType, result); } @Test @DisplayName("Should handle null name") void testNullName() { // Given when(mockNetbiosName.getName()).thenReturn(null); // When String name = mockNetbiosName.getName(); // Then assertNull(name); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java
} return permissions; } @Override public boolean refresh() { // MSAL4J handles token refresh internally through silent authentication // Check if token is still valid by comparing absolute timestamps final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epochRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// Then assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } @Test @DisplayName("Should handle null message gracefully") void testNullMessage() { // When/Then assertDoesNotThrow(() -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
int informationLevel = 0x0100; // SMB_QUERY_FILE_BASIC_INFO // When Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel); // Then assertEquals(filename, trans.path, "The path should be set correctly."); assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, trans.command, "The command should be SMB_COM_TRANSACTION2.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
setMechanismListMIC(mechanismListMIC); } /** * Constructs a NegTokenTarg by parsing the provided token bytes * @param token the SPNEGO token bytes to parse * @throws IOException if parsing fails */ public NegTokenTarg(final byte[] token) throws IOException { parse(token); } /** * Gets the negotiation result code * @return the result code */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
@DisplayName("Default constructor should create instance with default values") void testDefaultConstructor() { // When DcerpcBind defaultBind = new DcerpcBind(); // Then assertNotNull(defaultBind, "Default constructor should create instance"); assertEquals(0, defaultBind.getOpnum(), "Default opnum should be 0"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
SmbTransportImpl pooled = pool.getSmbTransport(ctx, address, 445, false); SmbTransportImpl nonPooled = pool.getSmbTransport(ctx, address, 445, true); // Then: Pool should track pooled but not non-pooled assertTrue(pool.contains(pooled), "Pooled connection should be tracked"); assertFalse(pool.contains(nonPooled), "Non-pooled connection should not be tracked"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
/** * Creates a Kerberos AP request from a token. * * @param token the Kerberos AP-REQ token * @param keys the Kerberos keys for decryption * @throws PACDecodingException if the token cannot be decoded */ public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException { this(parseSequence(token), keys); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
// Then String decoded = new String(buffer); assertEquals(testString, decoded); } @Test @DisplayName("Should handle buffer bounds checking") void testBufferBounds() { // Given byte[] smallBuffer = new byte[2]; // When/Then assertThrows(IndexOutOfBoundsException.class, () -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// When & Then assertThrows(ArrayIndexOutOfBoundsException.class, () -> { req.encode(smallBuffer, 0); }); } @Test @DisplayName("Should correctly inherit from ServerMessageBlock2Request") void testInheritance() { // Then assertTrue(request instanceof ServerMessageBlock2Request);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)