- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 2,342 for Exceptions (0.34 sec)
-
src/test/java/jcifs/smb/SmbTreeInternalTest.java
void connectLogon_withNull_isInvoked() throws Exception { // Act tree.connectLogon(null); // Assert - even null should be passed through to implementation verify(tree).connectLogon(null); } @Test @DisplayName("connectLogon propagates SmbException from implementation") void connectLogon_throws_propagates() throws Exception { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
@SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); buffer = new ByteArrayInputStream(testBytes); when(hashFunction.newHasher()).thenReturn(hasher); } public void testRead_putSingleByte() throws Exception { HashingInputStream in = new HashingInputStream(hashFunction, buffer);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
} @Override protected void tearDown() throws Exception { classReloader.close(); Thread.currentThread().setContextClassLoader(oldClassLoader); System.clearProperty("guava.concurrent.generate_cancellation_cause"); } public void testCancel_notDoneNoInterrupt() throws Exception { Future<?> future = newFutureInstance(); assertTrue(future.cancel(false));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertNotNull(errorHandler, "Error handler should not be null"); // Test error classification for different exception types Exception hardwareError = new RuntimeException("RDMA hardware not supported"); Exception networkError = new java.io.IOException("Network connection failed"); Exception timeoutError = new java.net.SocketTimeoutException("Operation timed out"); // Test fallback logic
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
private Artifact projectArtifact; @BeforeEach @Override public void setUp() throws Exception { super.setUp(); projectArtifact = createLocalArtifact("project", "3.0"); } @Override protected DefaultRepositorySystemSession initRepoSession() throws Exception { DefaultRepositorySystemSession session = super.initRepoSession();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 10.1K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals("MESSAGE", problem.getMessage()); problem = new DefaultProblem(null, null, null, -1, -1, new Exception()); assertEquals("", problem.getMessage()); problem = new DefaultProblem(null, null, null, -1, -1, new Exception("EXCEPTION MESSAGE")); assertEquals("EXCEPTION MESSAGE", problem.getMessage()); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
} @Test void testNullSafe() throws Exception { Profile p = Profile.newInstance(); assertActivation(false, p, newContext(null, null)); p = p.withActivation(Activation.newInstance()); assertActivation(false, p, newContext(null, null)); } @Test void testPrefix() throws Exception { Profile profile = newProfile("1.4");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
assertEquals(null, getResponse(methodName).getResult()); } /** * Asserts that a prior call that had caused this thread to block or wait has since returned the * expected boolean value. */ public void assertPriorCallReturns(boolean expected, @Nullable String methodName) throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
class BasicTests { @Test @DisplayName("Textual constructor happy path and toString consistency") void testTextualConstructorAndToString() throws Exception { // Arrange SID sid = new SID("S-1-5-21-1-2-3-1029"); // Act & Assert // toString should reconstruct exact textual formRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0)