- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,367 for construction (0.13 sec)
-
src/test/java/jcifs/pac/PacGroupTest.java
*/ @Test void testConstructor() { // Verify that the constructor correctly sets the id and attributes assertEquals(mockSid, pacGroup.getId(), "The SID should be correctly set in the constructor."); assertEquals(attributes, pacGroup.getAttributes(), "The attributes should be correctly set in the constructor."); } /** * Test method for {@link jcifs.pac.PacGroup#getId()}. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
// Creates a minimal valid CIFS context that does not perform I/O by itself private CIFSContext ctx() { return SingletonContext.getInstance(); } @Nested @DisplayName("Constructor behavior") class ConstructorTests { @ParameterizedTest @DisplayName("Accepts IPC$ URLs (happy path)") @ValueSource(strings = { "smb://server/IPC$/foo", "smb://server/IPC$/PIPE/foo" })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
@MethodSource("messages") @DisplayName("Message constructor preserves provided messages, including null/edge cases") void messageConstructor_preservesMessage(String msg) { // Arrange & Act SmbUnsupportedOperationException ex = new SmbUnsupportedOperationException(msg); // Assert assertEquals(msg, ex.getMessage(), "Constructor should preserve the provided message (including null)");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// Although we cannot directly verify the super constructor call with Mockito for a real class, // we can infer its correct behavior if the object is successfully constructed and its own fields are correct. // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import java.nio.charset.StandardCharsets; import org.junit.jupiter.api.Test; class AvTargetNameTest { /** * Test constructor with raw bytes. * Verifies that the AvPair type is correctly set and raw bytes are stored. */ @Test void testConstructorWithRawBytes() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* constructor that omits the cause. */ @Deprecated protected UncheckedExecutionException() {} /** * Creates a new instance with the given detail message and no cause. * * @deprecated Prefer {@linkplain UncheckedExecutionException(String, Throwable)} a constructor
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
// We cannot directly access private fields of MsrpcSamrOpenAlias or its superclass // Instead, we verify the interaction with the DcerpcHandle and the return value. // The fact that the constructor completes without exception and sets 'opened' to true // implies the correct parameters were used internally. } @Test void constructor_shouldThrowSmbExceptionOnOpenFailure() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
import jcifs.smb1.UniAddress; /** * Unit tests for {@link NtlmChallenge}. */ class NtlmChallengeTest { @Nested @DisplayName("Constructor and Field Tests") class ConstructorTests { @Test @DisplayName("Constructor sets fields correctly") void testConstructorSetsFields() { byte[] challenge = new byte[] { 1, 2, 3 }; UniAddress dc = mock(UniAddress.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
/** * Test class for TransportException */ public class TransportExceptionTest { @Test @DisplayName("Test default constructor creates exception with null message") public void testDefaultConstructor() { // Create exception with default constructor TransportException exception = new TransportException(); // Verify the exception is created and has no message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
/** The status code of the response. */ protected int status; /** * Default constructor for ApiResponse. */ public ApiResponse() { // Default constructor } /** * Sets the status of the response. * @param status The status to set. * @return This ApiResponse instance.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.9K bytes - Viewed (0)