- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for testClose (0.05 seconds)
-
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
import java.io.OutputStream; import org.junit.Test; /** * @author shot */ public class CloseableUtilTest { /** * @throws Exception */ @Test public void testClose() throws Exception { final NotifyOutputStream out = new NotifyOutputStream(); CloseableUtil.close(out); assertThat(out.getNotify(), is("closed")); } /** * @throws ExceptionCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
} public void testOpen_invalid() { assertThrows(IllegalArgumentException.class, () -> Range.open(4, 3)); assertThrows(IllegalArgumentException.class, () -> Range.open(3, 3)); } public void testClosed() { Range<Integer> range = Range.closed(5, 7); checkContains(range); assertTrue(range.hasLowerBound()); assertEquals(5, (int) range.lowerEndpoint()); assertEquals(CLOSED, range.lowerBoundType());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/RangeTest.java
} public void testOpen_invalid() { assertThrows(IllegalArgumentException.class, () -> Range.open(4, 3)); assertThrows(IllegalArgumentException.class, () -> Range.open(3, 3)); } public void testClosed() { Range<Integer> range = Range.closed(5, 7); checkContains(range); assertTrue(range.hasLowerBound()); assertEquals(5, (int) range.lowerEndpoint()); assertEquals(CLOSED, range.lowerBoundType());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
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)