- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 1,850 for construct (0.05 sec)
-
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
public void test_constructorWithNullMessage() { // Test constructor with null message ThumbnailGenerationException exception = new ThumbnailGenerationException(null); assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_constructorWithNullMessageAndCause() { // Test constructor with null message and null cause
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 }; AvPair avPair = new AvPair(type, raw); assertEquals(type, avPair.getType(), "Type should match the constructor argument."); assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument."); // Test with another type and empty raw data int type2 = AvPair.MsvAvEOL; byte[] raw2 = new byte[] {};
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvTimestamp.java
* * @author mbechler */ public class AvTimestamp extends AvPair { /** * Constructs an AvTimestamp from raw byte data * * @param raw the raw byte data for the timestamp AV pair */ public AvTimestamp(final byte[] raw) { super(AvPair.MsvAvTimestamp, raw); } /** * Constructs an AvTimestamp with the specified timestamp value *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
@BeforeEach void setUp() { // Create mock objects for the constructor parameters aliasHandle = mock(SamrAliasHandle.class); sids = mock(LsarSidArray.class); } /** * Test method for {@link jcifs.dcerpc.msrpc.MsrpcGetMembersInAlias#MsrpcGetMembersInAlias(SamrAliasHandle, LsarSidArray)}. * Verifies that the constructor correctly initializes the object's fields using reflection for protected members.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
} } /** * Constructs an AndX message block with configuration and command * @param config the configuration * @param command the SMB command */ protected AndXServerMessageBlock(final Configuration config, final byte command) { this(config, command, null); } /** * Constructs an AndX message block with command and chained command
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
// Verify that SystemUtil has a private constructor (utility class pattern) try { Constructor<SystemUtil> constructor = SystemUtil.class.getDeclaredConstructor(); assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructor.getModifiers())); // Test that constructor is accessible when made accessible constructor.setAccessible(true);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// Verify that ThreadDumpUtil has a protected constructor (utility class pattern) try { Constructor<ThreadDumpUtil> constructor = ThreadDumpUtil.class.getDeclaredConstructor(); assertTrue("Constructor should be protected", java.lang.reflect.Modifier.isProtected(constructor.getModifiers())); // Test that constructor is accessible when made accessible
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
// Test constructor with message only String message = "SSO authentication failed"; SsoProcessException exception = new SsoProcessException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withMessageAndCause() { // Test constructor with message and Exception cause
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K 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/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)