- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,071 for constructors (0.05 sec)
-
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
import jcifs.CIFSException; /** * Tests for SMBProtocolDecodingException covering all constructors and observable behavior. */ @ExtendWith(MockitoExtension.class) public class SMBProtocolDecodingExceptionTest { @Mock Throwable mockCause; @Test @DisplayName("No-arg constructor: null message and cause; can be thrown") void defaultConstructor_behavesAsExpected() { // 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) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java
import java.lang.annotation.Target; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Marks a dependency injection point for constructor, method, or field injection. * <p>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java
/** * Tests <code>NewestConflictResolver</code>. * * @see NewestConflictResolver */ @Deprecated class NewestConflictResolverTest extends AbstractConflictResolverTest { // constructors ----------------------------------------------------------- NewestConflictResolverTest() throws Exception { super("newest"); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/ConstructorDesc.java
/** * Returns the constructor. * * @param <T> * The type of the Bean * @return The constructor */ <T> Constructor<T> getConstructor(); /** * Returns an array of the parameter types of the constructor. * * @return An array of the parameter types of the constructor */ Class<?>[] getParameterTypes(); /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
assertEquals(expectedStatus, ex.getNtStatus(), "status should map based on code"); assertNull(ex.getCause(), "cause must be null for int constructor"); assertNull(ex.getRootCause(), "rootCause must be null for int constructor"); } /** * Validate message-only constructor with both null and empty messages. */ @ParameterizedTest @MethodSource("messageProvider")
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/spnego/SpnegoExceptionTest.java
import org.junit.jupiter.api.Test; import jcifs.BaseTest; import jcifs.CIFSException; /** * Tests for SpnegoException constructors and behavior. */ @DisplayName("SpnegoException Tests") class SpnegoExceptionTest extends BaseTest { @Test @DisplayName("Should create SpnegoException with default constructor") void testDefaultConstructor() { // When SpnegoException ex = new SpnegoException();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(); // Assert - message and cause are null assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); // Assert - toString shows class name when message is null assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K 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) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java
private final String roleHint; @Inject private ArtifactFactory artifactFactory; private ConflictResolver conflictResolver; @Inject protected PlexusContainer container; // constructors ----------------------------------------------------------- public AbstractConflictResolverTest(String roleHint) throws Exception { this.roleHint = roleHint; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java
/** * Tests <code>FarthestConflictResolver</code>. * * @see FarthestConflictResolver */ @Deprecated class FarthestConflictResolverTest extends AbstractConflictResolverTest { // constructors ----------------------------------------------------------- FarthestConflictResolverTest() throws Exception { super("farthest"); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.8K bytes - Viewed (0)