- Sort Score
- Result 10 results
- Languages All
Results 1371 - 1380 of 1,947 for threw (0.02 sec)
-
src/main/java/jcifs/smb/ShareEnumIterator.java
*/ @Override public void close() { // nothing to clean up this.next = null; } @Override public void remove() { throw new UnsupportedOperationException("remove"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
String sessionId = "test-session-013"; urlFilter.init(sessionId); try { urlFilter.processUrl(null); // Should handle null gracefully or throw appropriate exception } catch (NullPointerException e) { // Expected behavior for null input assertTrue(true); } } /** * Test processUrl with empty URL
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
* The wildcard parameter is stored but its filtering logic is handled server-side, * so we only verify its acceptance here. */ @Test void testConstructor() { // The constructor should not throw any exceptions with valid inputs. new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE); new DosFileFilter("?", SmbFile.ATTR_DIRECTORY); new DosFileFilter("file.txt", SmbFile.ATTR_READONLY | SmbFile.ATTR_HIDDEN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
queryFieldConfig.highlightedFields = null; // When highlightedFields is null, the method should handle it gracefully // or throw an exception. Test the actual behavior. queryFieldConfig.highlightedFields(stream -> { // If it doesn't throw NPE, it should provide an empty stream assertEquals(0, stream.count()); }); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
// and resetting the stream. duplexResponseSent.await() } catch (e: InterruptedException) { throw AssertionError() } super.responseHeadersEnd(call, response) } } client = client .newBuilder() .eventListener(listener) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
@Override public String load(String key) throws InterruptedException { int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null computeNullCount.incrementAndGet(); return null;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
@Override public String load(String key) throws InterruptedException { int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null computeNullCount.incrementAndGet(); return null;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
assertTrue(response.isShareDfs(), "Should detect DFS from decoded data"); } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidSize() throws Exception { // Given - Invalid structure size byte[] buffer = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
method.setAccessible(true); return method; } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchMethodException("readString method not found"); } private Field getSuperclassField(Class<?> clazz, String fieldName) throws NoSuchFieldException { while (clazz != null) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertEquals(1024, response.getEndOfFile()); assertEquals(0x20, response.getFileAttributes()); } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatWithInvalidStructureSize() { // Given byte[] buffer = new byte[60];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)