- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 3,804 for throws (0.05 seconds)
-
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
import org.junit.jupiter.api.TestInfo; public class SambaHelperTest extends UnitFessTestCase { public SambaHelper sambaHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // Setup system properties for DI container File file = File.createTempFile("test", ".properties"); file.deleteOnExit();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
ArrayMap<String, String> map; /** * @throws Exception */ @Before public void setUp() throws Exception { map = new ArrayMap<String, String>(); map.put(null, null); map.put("1", "test"); map.put("2", "test2"); } /** * @throws Exception */ @After public void tearDown() throws Exception { map = null; } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
} @Test void testReadDataWireFormatZeroLength() throws SMBProtocolDecodingException { // Test with zero-length data byte[] buffer = new byte[100]; int result = response.readDataWireFormat(buffer, 50, 0); assertEquals(0, result); } @Test void testReadDataWireFormatAtBufferBoundary() throws SMBProtocolDecodingException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
public void testFlush_flushableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception on flush. setupFlushable(true); doFlush(mockFlushable, true, false); } public void testFlush_flushableWithThrownException() throws IOException { // make sure that the exception is thrown if 'swallowException' is false
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestOutputStream.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
void testDisposeDelegates() throws Exception { SpnegoContext ctx = newContext(); ctx.dispose(); verify(this.mechContext, times(1)).dispose(); } @Test @DisplayName("calculateMIC throws when context not established") void testCalculateMICRequiresEstablished() throws Exception { SpnegoContext ctx = newContext();
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) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
return true; } @Override public String get() throws InterruptedException, ExecutionException { throw new AssertionFailedError("get() shouldn't be called on this object"); } @Override public String get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { return get(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
assertEquals("alice", sid.getAccountName()); } @Test @DisplayName("unwrap returns this for assignable type; otherwise throws ClassCastException") void testUnwrap() throws Exception { SID sid = new SID("S-1-5-21-1"); // Happy path assertSame(sid, sid.unwrap(SID.class)); assertSame(sid, sid.unwrap(Object.class));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
public class NullArgumentExceptionTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testErrorMessage_ja() throws Exception { // ## Arrange ##Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java
} @Test public void test_getIndex() throws Exception { List<String> words = new ArrayList<>(); PopularWordsResponse response = new PopularWordsResponse("my-index", 50, words, 5, new ArrayList<>()); assertEquals("my-index", response.getIndex()); } @Test public void test_getTookMs() throws Exception { List<String> words = new ArrayList<>();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 5.6K bytes - Click Count (0)