- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testClose (0.03 sec)
-
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 Exception
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.2K bytes - Viewed (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());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (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());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0)