- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 3,054 for throws (0.05 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
*/ public void test_throwAndCatch() { try { throw new CrawlerSystemException("Test throw"); } catch (CrawlerSystemException e) { assertEquals("Test throw", e.getMessage()); assertNull(e.getCause()); } try { throw new CrawlerSystemException("Test with cause", new IllegalArgumentException("Cause"));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java
* */ public class LongConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToLong() throws Exception { assertEquals(Long.valueOf("1000"), LongConversionUtil.toLong("1,000")); } /** * @throws Exception */ public void testToPrimitiveLong() throws Exception { assertEquals(1000, LongConversionUtil.toPrimitiveLong("1,000")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java
* Creates a Lucene Query from this query builder. * * @param context the query shard context * @return the Lucene Query * @throws IOException if an I/O error occurs */ @Override public Query toQuery(final QueryShardContext context) throws IOException { return queryBuilder.toQuery(context); } /** * Returns whether this query builder is a fragment. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { @Override public Object get(Object key) throws ExecutionException { Object v = valueRef.get(); if (v == null) { throw new ExecutionException(cause); } return v; } @Override public @Nullable Object getIfPresent(Object key) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
throws InterruptedException { lastMethodCalled = "invokeAll"; assertTaskWrapped(tasks); return inline.invokeAll(tasks); } @Override public <T> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException { assertTaskWrapped(tasks);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
public void testBuildTesterRequirements_class_notAnnotated() throws Exception { class Tester {} TesterRequirements requirements = buildTesterRequirements(Tester.class); assertThat(requirements.getPresentFeatures()).isEmpty(); assertThat(requirements.getAbsentFeatures()).isEmpty(); } public void testBuildTesterRequirements_class_empty() throws Exception { @Require class Tester {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
@Nested @DisplayName("readBytesWireFormat tests") class ReadBytesWireFormatTests { @Test @DisplayName("Should read valid structure with size 4") void testReadBytesWireFormatValid() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[10]; int bufferIndex = 2; SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
@Nested @DisplayName("Decode Method Tests") class DecodeMethodTests { @Test @DisplayName("Should decode buffer with typical values correctly") void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException { // Given - prepare buffer with typical file system values ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0)