- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 460 for logic (0.02 sec)
-
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
Subject first = orig.getSubject(); // In test environments, getSubject() may return null if JAAS is not configured // This is acceptable behavior - the test should focus on the cloning logic // Clone and verify basic fields copied JAASAuthenticator copy = (JAASAuthenticator) orig.clone(); assertEquals(orig.getUsername(), copy.getUsername());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/object-handlers_test.go
if err != nil { t.Fatalf("Test %d: %s: Failed to create HTTP request for Head Object: <ERROR> %v", i+1, instanceType, err) } // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler,`func (api objectAPIHandlers) GetObjectHandler` handles the request. apiRouter.ServeHTTP(rec, req) // Assert the response code with the expected status.Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java
* Returns a list of core extensions from all sources, that were discovered and loaded. Each instance of * {@link CoreExtensions} is validated, but the list elements may have overlapping elements, that requires * some logic to sort out (like precedence). * <p> * The list of {@link CoreExtensions} if present, is in precedence order. *Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 6.7K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java
* <p> * This annotation can be used on static methods to programmatically create and configure * beans that will be managed by the dependency injection container. It's particularly * useful when the bean creation requires complex logic or when the bean needs to be * configured based on runtime conditions. * <p> * Example usage: * <pre> * public class Providers { * {@literal @}Provides * {@literal @}Singleton
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.8K bytes - Viewed (0) -
.github/PULL_REQUEST_TEMPLATE.md
- [ ] Provide integration tests (under `<subproject>/src/integTest`) to verify changes from a user perspective. - [ ] Provide unit tests (under `<subproject>/src/test`) to verify logic. - [ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes. - [ ] Ensure that tests pass sanity check: `./gradlew sanityCheck`. - [ ] Ensure that tests pass locally: `./gradlew <changed-subproject>:quickTest`.
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Feb 13 22:36:19 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for the SmbFile class. * This class focuses on testing the logic of SmbFile without actual network communication, * using mocks where necessary. */ @ExtendWith(MockitoExtension.class) public class SmbFileTest { @Mock private NtlmPasswordAuthentication mockAuth;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/CoreExtensions.java
import static java.util.Objects.requireNonNull; /** * Represents the list of core extensions configured at one source. The list is validated (are GA unique), but no * other logic than that is applied. * * @since 4.0.0 * @param source The source file of core extensions, is never {@code null}.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Mar 13 12:50:59 UTC 2025 - 1.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Integration test to confirm that [TaskRunner] works with a real backend. Business logic is all * exercised by [TaskRunnerTest]. * * This test is doing real sleeping with tolerances of 250 ms. Hopefully that's enough for even the * busiest of CI servers. */ @Tag("Slowish")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
import jcifs.SmbConstants; /** * Basic unit tests for {@link SmbConstants}. The interface only * provides {@code static final} constants, so the test suite focuses on * value correctness, bit‑mask logic, and some derived properties. * * <p>Mockito is exercised in a dummy scenario to satisfy the * request for an interaction test. The mock represents a * {@code SmbTransport} collaborator and is used only forRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java
* Executes the behavior defined by this {@code Mojo}. This method is invoked * during the Maven build lifecycle to perform the Mojo's designated task. * * <p>Implementations should handle any task-specific logic and may communicate * errors by throwing an {@link Exception}. Error conditions should provide * sufficient detail to aid troubleshooting.</p> *Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 08:21:00 UTC 2025 - 2.8K bytes - Viewed (0)