- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 904 for handler3 (0.14 sec)
-
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
private TestLogHandler handler; private final TearDownStack stack = new TearDownStack(); @Override protected void setUp() throws Exception { super.setUp(); handler = new TestLogHandler(); // You could also apply it higher up the Logger hierarchy than this ExampleClassUnderTest.logger.addHandler(handler);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
} @Test @DisplayName("run method handles null URL gracefully") void testRunWithNullUrl() { TestLocking t = new TestLocking(); t.url = null; // Null URL t.numIter = 0; // No iterations to avoid NPE // Should not throw exception assertDoesNotThrow(() -> t.run(), "run() should handle null URL gracefully");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("close(): clears cache and closes handle; does not close shared SmbFile") void close_sharedFile_closesHandle_only() throws Exception { SmbRandomAccessFile raf = newInstance("rw", false, true, false); SmbFile file = (SmbFile) getField(raf, "file"); SmbFileHandleImpl handle = (SmbFileHandleImpl) getField(raf, "handle"); // Act raf.close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
* backing store (e.g. file system, database, memory). * <p> * This is mainly used to parse files into objects such as Maven projects, * models, settings, or toolchains. The source implementation handles * all the details of accessing the underlying content while providing * a uniform API to consumers. * <p> * Sources can represent: * <ul> * <li>Local filesystem files</li> * <li>In-memory content</li>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 09:46:53 UTC 2025 - 4K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
try { // Create RPC handle to witness service this.handle = DcerpcHandle.getHandle( "ncacn_ip_tcp:" + serverAddress.getHostAddress() + "[135]", WITNESS_INTERFACE_UUID, WITNESS_INTERFACE_VERSION, context ); // Bind to witness interface handle.bind();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
ProtwordsFile errorFile = new ProtwordsFile("test_id", nonExistentFile.getAbsolutePath(), new Date()); errorFile.reload(null); // If no exception, the file might have been handled gracefully assertTrue(true); } catch (Exception e) { // Expected for missing file assertTrue(true); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertNotNull(result.getServer()); // Empty components between double backslashes are handled } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCasesTests { @ParameterizedTest @NullAndEmptySource @DisplayName("Should handle null and empty domains") void testNullAndEmptyDomains(String domain) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
return baseQuery; } return baseQuery + " sort:" + sortField; } /** * Appends a query string to the query buffer with proper formatting. * Handles OR operators and wraps complex queries in parentheses when necessary. * * @param queryBuf the StringBuilder to append to * @param query the query string to append */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* SomeClass.logger.addHandler(handler); * addTearDown(new TearDown() { * public void tearDown() throws Exception { * SomeClass.logger.removeHandler(handler); * } * }); * } * * public void test() { * SomeClass.foo(); * LogRecord firstRecord = handler.getStoredLogRecords().get(0); * assertEquals("some message", firstRecord.getMessage()); * }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
try { digest.sign(data, 0, data.length, request, response); // If no exception is thrown, the operation should have been no-op or handled gracefully assertTrue(true, "Sign operation after close should either throw exception or handle gracefully"); } catch (RuntimeException e) { // Accept runtime exceptions that might be thrown due to closed state
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0)