- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 3,804 for throws (0.04 seconds)
-
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
* Test a successful NTLM authentication handshake. * This is a simplified test that verifies the basic flow without full NTLM protocol simulation. * @throws IOException * @throws SecurityException */ @Test void testSuccessfulHandshake() throws IOException, SecurityException { // This test is simplified to verify basic handshake behaviorCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Transport.java
/** * Send a request over the transport * * @param request the request to send * @throws IOException if an I/O error occurs */ protected abstract void doSend(Request request) throws IOException; /** * Receive a response from the transport * * @param response the response object to populate * @throws IOException if an I/O error occurs */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
throws CIFSException { return delegate.getDfsReferrals(ctx, name, targetHost, targetDomain, rn); } @Override public boolean isSigningOptional() throws SmbException { return delegate.isSigningOptional(); } @Override public boolean isSigningEnforced() throws SmbException { return delegate.isSigningEnforced();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
baos.write(buffer.array(), 0, 4); } /** * Test constructor with KERB_CHECKSUM_HMAC_MD5 type. * * @throws IOException if an I/O error occurs * @throws PACDecodingException if the PAC is malformed */ @Test void testConstructorKerbChecksumHmacMd5() throws IOException, PACDecodingException { // Prepare data ByteArrayOutputStream baos = new ByteArrayOutputStream();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Cleanup iterator.close(); } @Test @DisplayName("Iterator should handle filter that throws CIFSException") void testIterator_FilterThrowsException() throws Exception { // Given: A filter that throws exception when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP); when(locator.getURL()).thenReturn(createSmbURL("smb://"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSourceTester.java
if (expectedLines.isEmpty()) { assertThat(source.readFirstLine()).isNull(); } else { assertThat(source.readFirstLine()).isEqualTo(expectedLines.get(0)); } } public void testReadLines_toList() throws IOException { assertExpectedLines(source.readLines()); } public void testIsEmpty() throws IOException { assertEquals(expected.isEmpty(), source.isEmpty());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
public class CloseableUtilTest { /** * @throws Exception */ @Test public void testClose() throws Exception { final NotifyOutputStream out = new NotifyOutputStream(); CloseableUtil.close(out); assertThat(out.getNotify(), is("closed")); } /** * @throws Exception */ @Test public void testCloseNull() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
// Callback should still be invoked even if it throws assertTrue("Callback should be invoked", latch.await(10, TimeUnit.SECONDS)); assertEquals("Callback should be called", 1, callbackCount.get()); } @Test public void test_errorCallbackException_doesNotBreakDeferred() throws Exception { final Deferred<SuggestResponse> deferred = new Deferred<>();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 21.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
@Test @DisplayName("read(null) throws NullPointerException") void readNullArrayThrows() throws Exception { SmbFileInputStream in = newStream(); assertThrows(NullPointerException.class, () -> in.read(null)); } @Test @DisplayName("readDirect with len <= 0 returns 0") void readDirectZeroLen() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java
* @throws DependencyResolverException * @throws ArtifactResolverException * * @see DependencyResolver#collect(DependencyResolverRequest) * @see #flatten(Session, Node, PathScope) * @see ArtifactResolver#resolve(ArtifactResolverRequest) */ DependencyResolverResult resolve(DependencyResolverRequest request)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 16 14:15:37 GMT 2024 - 9.4K bytes - Click Count (0)