- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for Construction (0.06 sec)
-
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
// Test successful PAC creation with mocked Pac construction @Test void testConstructorSuccess() throws PACDecodingException { // Setup key byte[] keyBytes = new byte[32]; KerberosKey kdcKey = new KerberosKey(null, keyBytes, PacSignature.HMAC_SHA1_96_AES256, 1); keys.put(PacSignature.ETYPE_AES256_CTS_HMAC_SHA1_96, kdcKey); // Mock Pac construction to bypass complex validation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java
// Note: Mockito cannot directly verify super constructor calls. // We assume if the object is created, the super constructor was called. // We can verify the state of the object after construction. // Verify ptype and flags are set correctly assertEquals(0, policy.getPtype(), "ptype should be 0");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
return Stream.of(Arguments.of((String) null), Arguments.of("")); } /** * Validate message+cause constructor and that no interaction with cause occurs during construction. */ @Test @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status") void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
@Test @DisplayName("constructor accepts null andx") void constructorWithNullAndx() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertNotNull(msg, "Message must not be null after construction"); } @ParameterizedTest @ValueSource(ints = { 0, 1, 5, -1, 10 }) @DisplayName("writeParameterWordsWireFormat always returns 0") void writeParameterWordsWireFormatReturnsZero(int index) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* </ul> * * <p>Disadvantages compared to {@code long[]}: * * <ul> * <li>Memory footprint has a fixed overhead (about 24 bytes per instance). * <li><i>Some</i> construction use cases force the data to be copied (though several construction * APIs are offered that don't). * <li>Can't be passed directly to methods that expect {@code long[]} (though the most common * utilities do have replacements here).
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* </ul> * * <p>Disadvantages compared to {@code int[]}: * * <ul> * <li>Memory footprint has a fixed overhead (about 24 bytes per instance). * <li><i>Some</i> construction use cases force the data to be copied (though several construction * APIs are offered that don't). * <li>Can't be passed directly to methods that expect {@code int[]} (though the most common * utilities do have replacements here).
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
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 the * unsigned time correctly. The last write time is zero which should be
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
assertNotNull(ex.toString(), "toString should be non-null"); ex.getMessage(); // don't assert content to avoid implementation assumptions // Verify no interactions happened with the mocked cause during construction/access verifyNoInteractions(mockCause); } @Test @DisplayName("Cause-only constructor with null: null cause maintained") void causeOnlyConstructor_acceptsNull() { // Arrange & Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
MemoizingSupplier(Supplier<T> delegate) { this.delegate = checkNotNull(delegate); } @Override @ParametricNullness // We set the field only once (during construction or deserialization). @SuppressWarnings("SynchronizeOnNonFinalField") public T get() { // A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (lock) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
* * <p><b>Warning:</b> {@code ArrayTable} is rarely the {@link Table} implementation you want. First, * it requires that the complete universe of rows and columns be specified at construction time. * Second, it is always backed by an array large enough to hold a value for every possible * combination of row and column keys. (This is rarely optimal unless the table is extremely dense.)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0)