- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for constructions (1.03 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
// Act & Assert assertThrows(NullPointerException.class, () -> handler.openConnection(null), "Null URL should throw NPE"); verify(mockCtx, never()).getConfig(); // no interaction expected on failure before construction } @Test @DisplayName("openConnection uses SingletonContext when no context provided") void testOpenConnection_UsesSingletonContext() throws Exception { // ArrangeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/Traverser.java
/** * Returns <code>true</code> if the class file corresponding to the specified class name exists in the resources handled by this instance. * <p> * If a root package is specified at instance construction, the specified class name is interpreted as a relative name from the root package. * </p> * * @param className the class nameRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
} @Nested @DisplayName("Invalid constructor inputs") class InvalidInputs { @Test @DisplayName("Null delegate causes NullPointerException during construction") void nullDelegate_throwsNPE() throws Exception { SmbFile parent = newParent(); assertThrows(NullPointerException.class, () -> new ShareEnumIterator(parent, null, null)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
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 validationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (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 valueRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 7.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingCreator.java
*/ public CharMappingCreator() { super("mapping.*\\.txt"); } /** * Registers this creator with the dictionary manager after construction. */ @PostConstruct public void register() { if (logger.isInfoEnabled()) { logger.info("Loaded {}", this.getClass().getSimpleName()); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java
*/ public FacetResponse getFacetResponse() { return facetResponse; } /** * Creates a new SearchResultBuilder for constructing SearchResult instances. * * @return A new SearchResultBuilder instance */ public static SearchResultBuilder create() { return new SearchResultBuilder(); } @OverrideRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.8K bytes - Viewed (0)