- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 90 for 1234ef (0.72 sec)
-
src/test/java/jcifs/pac/PacSidAttributesTest.java
import org.junit.jupiter.api.Test; import jcifs.smb.SID; class PacSidAttributesTest { private SID sidMock; private PacSidAttributes pacSidAttributes; private final int attributes = 12345; @BeforeEach void setUp() { // Mock the SID object sidMock = mock(SID.class); // Create a new PacSidAttributes instance before each testRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null); // Build a token with an arbitrary non-kerberos mechanism OID ASN1ObjectIdentifier unsupported = new ASN1ObjectIdentifier("1.2.3.4.5"); byte[] init = spnegoInitWithMechs(unsupported); // Host is a FQDN to pass the short-name check SmbUnsupportedOperationException ex =
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
*/ @Test @DisplayName("happy: constructor sets command correctly") void testConstructorSetsCommand() { SmbComClose close = new SmbComClose(1, 12345L); assertEquals(SMB_COM_CLOSE, close.command, "command should be SMB_COM_CLOSE after construction"); } /** * Verify that writeParameterWordsWireFormat writes the file id and theRegistered: 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/netbios/NbtExceptionTest.java
assertTrue(message.contains(description)); } @Test @DisplayName("getErrorString for unknown error class") void testUnknownErrorClass() { int unknownClass = 1234; String expected = "unknown error class: 1234"; assertEquals(expected, NbtException.getErrorString(unknownClass, 0)); } @Test @DisplayName("Constructor sets fields and message correctly") void testConstructor() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
private SmbComSetInformationResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig); } @Test @DisplayName("Constructor accepts valid config") void constructorValid() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
} @Test void throwsWhenOutputExceedsProvidedBuffer() throws Exception { byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS); byte[] output = new byte[] { 1, 2, 3, 4, 5, 6 }; byte[] body = buildIoctlResponseBody(Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK_WRITE, new byte[16], 0, null, output.length, output, 0); byte[] packet = new byte[header.length + body.length];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java
assertEquals("transliteratorId must not be null", e.getMessage()); } } public void test_invalidTransliteratorId() { try { new ICUNormalizer("Invalid-Transliterator-ID-12345"); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { assertTrue(e.getMessage().contains("Invalid transliterator ID")); } }
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
public int getWordCount() { return wordCount; } } @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getPid()).thenReturn(12345); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Test constructor with config only")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
setTreeIdMethod.setAccessible(true); setTreeIdMethod.invoke(response, 12345); // When int tid = response.getTid(); // Then assertEquals(12345, tid); } @Test @DisplayName("Should validate TID correctly") void testIsValidTid() throws Exception { // Test invalid TID (-1)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
final SQLRuntimeException sqlRuntimeException = new SQLRuntimeException(sqlException); // ## Act ## final String message = sqlRuntimeException.getMessage(); // ## Assert ## System.out.println(message); assertContains(message, "ErrorCode=1234"); assertContains(message, "SQLState=barState");Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.2K bytes - Viewed (0)