- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,628 for constructors (0.06 sec)
-
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
// Test constructor with null cause final JobProcessingException exception = new JobProcessingException((Throwable) null); assertNotNull(exception); assertNull(exception.getCause()); assertNull(exception.getMessage()); } public void test_constructor_withNullMessageAndCause() { // Test constructor with null message and cause
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
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/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
class Smb2ConstantsTest { @Test @DisplayName("Should have private constructor to prevent instantiation") void testPrivateConstructor() throws Exception { // Verify constructor is private Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor(); assertTrue(Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
void testConstructor() { // Verify that the id and attributes are correctly set by the constructor assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor."); assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor."); } /** * Test method for {@link jcifs.pac.PacSidAttributes#getId()}. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K 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) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* The parameter types array * @return The {@link Constructor} object for the {@code public} constructor matching the specified {@code argTypes} * @throws NoSuchConstructorRuntimeException * If a matching constructor is not found * @see Class#getConstructor(Class...) */ public static <T> Constructor<T> getConstructor(final Class<T> clazz, final Class<?>... argTypes)
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 25.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/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/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)