- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,596 for construction (0.07 seconds)
-
android/guava/src/com/google/common/reflect/Invokable.java
return method.isVarArgs(); } } static class ConstructorInvokable<T> extends Invokable<T, T> { final Constructor<?> constructor; ConstructorInvokable(Constructor<?> constructor) { super(constructor); this.constructor = constructor; } @Override final Object invokeInternal(@Nullable Object receiver, @Nullable Object[] args)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 18.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/Maps.java
/** * Returns a {@literal Maps} for constructing a {@link Map} with the specified key and value. * * @param <KEY> the key type of the <code>Map</code> * @param <VALUE> the value type of the <code>Map</code> * @param key the key to be added to the <code>Map</code> * @param value the value to be added to the <code>Map</code> * @return a {@literal Maps} for constructing a {@link Map} with the specified key and valueCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
// Test constructor with null message SearchEngineClientException exception = new SearchEngineClientException(null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withNullMessageAndCause() { // Test constructor with null message and null causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
class PacCredentialTypeTest { /** * Tests the constructor with a valid byte array. */ @Test void testConstructorWithValidData() { // A byte array with a length less than 32 should be considered valid. byte[] validData = new byte[31]; assertDoesNotThrow(() -> new PacCredentialType(validData)); } /** * Tests the constructor with a null byte array, which should throw an exception.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
@Test @DisplayName("Default constructor should create exception with null message and cause") void testDefaultConstructor() { // Given & When CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(); // Then assertNull(exception.getMessage(), "Default constructor should have null message");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
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()); } @Test public void test_constructor_withNullMessageAndCause() { // Test constructor with null message and causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
// Test constructor with message only String message = "Test exception message"; FessSystemException exception = new FessSystemException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withMessageAndCause() { // Test constructor with message and causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java
// Then // Verify that the super constructor is called with correct arguments // Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito. // We verify the effects of the super constructor by checking the fields of the created object. // Assert object_attributes fieldsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (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[] {};
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
} @Test public void test_constructorSignature() { // Verify constructor parameter types try { final java.lang.reflect.Constructor<?> constructor = FessWebResourceRoot.class.getConstructor(Context.class); final Class<?>[] paramTypes = constructor.getParameterTypes(); assertEquals("Constructor should have one parameter", 1, paramTypes.length);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0)