- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 3,804 for throws (0.06 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
} catch (XMLStreamException e) { throw new RuntimeException("Error parsing: " + pom, e); } } return i; } /** * <p>main.</p> * * @param args a {@link String} object. * @throws org.openjdk.jmh.runner.RunnerException if any. */ public static void main(String... args) throws RunnerException {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
public void testSuccessful() throws Exception { TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2)); assertFalse(task.isDone()); task.run(); assertTrue(task.isDone()); assertFalse(task.isCancelled()); assertEquals(2, getDone(task).intValue()); } public void testCancelled() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
assertNotEquals(oldHash, newHash); // Should be different instance } /** * Test pre-auth integrity with non-SMB3.1.1 should throw exception */ @Test @DisplayName("Pre-auth integrity should fail with non-SMB3.1.1") void testPreauthWithNonSmb311() throws Exception { // Setup SMB3.0 when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB300);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/SwitchableMetadataSource.java
@Override public ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException { return delegate.retrieve(request); } @Override public ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) throws ArtifactMetadataRetrievalException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
src/main/java/jcifs/util/InputValidator.java
* @param fieldName the field name for error reporting * @throws IllegalArgumentException if size is invalid */ public static void validateBufferSize(int size, int maxSize, String fieldName) { if (size < 0) { throw new IllegalArgumentException(fieldName + " size cannot be negative: " + size); } if (size > maxSize) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
@Override protected void tearDown() throws Exception { super.tearDown(); assertWithMessage("finishToValueAndCloserExecutor was shut down") .that(shutdownAndAwaitTermination(finishToValueAndCloserExecutor, 10, SECONDS)) .isTrue(); } public void testFinishToValueAndCloser_throwsIfCalledTwice() throws Exception { ClosingFuture<Closeable> closingFuture =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
} /** * Tests the isCredentialTypeCorrect method with a valid byte array. * * @throws PACDecodingException if the PAC decoding fails. */ @Test void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException { // A byte array with a length less than 32 should be correct. byte[] validData = new byte[31];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/context/BaseContextTest.java
*/ @DisplayName("BaseContext Tests") class BaseContextTest extends BaseTest { @Mock private Configuration mockConfig; private BaseContext context; @BeforeEach void setUp() throws CIFSException { // Setup mock configuration with required methods when(mockConfig.getDefaultUsername()).thenReturn(null); when(mockConfig.getDefaultPassword()).thenReturn(null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
* @param chain the filter chain to continue processing * @throws IOException if an I/O error occurs during processing * @throws ServletException if a servlet error occurs */ @Override public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain) throws IOException, ServletException {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
} @Test @DisplayName("toString shows basic info when not established") void toString_notEstablished() throws Exception { when(gssContext.isEstablished()).thenReturn(false); String s = ctx.toString(); assertTrue(s.startsWith("KERB5[")); assertTrue(s.contains("src=null")); } @Test @DisplayName("toString shows names and mech when established")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0)