- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for test_close (0.5 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
assertEquals(0, engine.evaluate("return 0", params)); engine.close(); } /** * Test that close() can be called without error */ @Test public void test_close() { final GroovyEngine engine = new GroovyEngine(); engine.evaluate("return 1", new HashMap<>()); engine.close(); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
src/archive/tar/writer_test.go
} testReadFrom struct { // ReadFrom(testFile{ops}) == (wantCnt, wantErr) ops fileOps wantCnt int64 wantErr error } testClose struct { // Close() == wantErr wantErr error } testFnc any // testHeader | testWrite | testReadFrom | testClose ) vectors := []struct { file string // Optional filename of expected output obscured bool // Whether file is obscured tests []testFncCreated: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testRenewCredentials() { assertFalse(context.renewCredentials("someLocation", new Exception("someError"))); } @Test void testClose() throws CIFSException { assertFalse(context.isCloseCalled()); boolean result = context.close(); assertFalse(result); // AbstractCIFSContext always returns false for close()Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Verifies that the close method can be called without throwing an exception. * @throws CIFSException if an error occurs during close. */ @Test public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was calledCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java
queryCommand.setLowercaseWildcard(true); assertEquals("testcase", queryCommand.toLowercaseWildcard("TestCase")); assertEquals("test_case", queryCommand.toLowercaseWildcard("Test_Case")); assertEquals("test-case", queryCommand.toLowercaseWildcard("Test-Case")); } @Test public void test_toLowercaseWildcard_internationalCharacters() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java
chain.add((text, field, langs) -> text.replace(" ", "_")); String result = chain.normalize(" TEST CASE ", "field"); assertEquals("test_case", result); } @Test public void test_nullInput() throws Exception { NormalizerChain chain = new NormalizerChain(); chain.add(new FullWidthToHalfWidthAlphabetNormalizer());
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
smbRandomAccessFile.write(testData); assertEquals(testData.length, smbRandomAccessFile.getFilePointer()); } @Test void testClose() throws SmbException { // Mock isOpen to return false after close doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1)