- Sort Score
- Num 10 results
- Language All
Results 1061 - 1070 of 2,346 for result (0.04 seconds)
-
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
String message = "Script engine test error"; ScriptEngineException exception = new ScriptEngineException(message); String result = exception.toString(); assertNotNull(result); assertTrue(result.contains("ScriptEngineException")); assertTrue(result.contains(message)); } @Test public void test_withComplexCauseChain() { // Test with a chain of exceptions
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
try (FileOutputStream fos = new FileOutputStream(normalFile)) { fos.write(content.getBytes("UTF-8")); } final byte[] result = FileUtil.readBytes(normalFile); assertThat(new String(result, "UTF-8"), is(content)); } /** * Test readBytes with empty file * * @throws Exception */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
flags: Int, padding: Int, ): Int { var result = length if (flags and FLAG_PADDED != 0) result-- // Account for reading the padding length. if (padding > result) { throw IOException("PROTOCOL_ERROR padding $padding > remaining length $result") } result -= padding return result } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 19.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
public void testCheckNotNull_simple_success() { String result = checkNotNull(NON_NULL_STRING); assertThat(result).isSameInstanceAs(NON_NULL_STRING); } public void testCheckNotNull_simple_failure() { assertThrows(NullPointerException.class, () -> checkNotNull(null)); } public void testCheckNotNull_simpleMessage_success() { String result = checkNotNull(NON_NULL_STRING, IGNORE_ME);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 19.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
public void testCheckNotNull_simple_success() { String result = checkNotNull(NON_NULL_STRING); assertThat(result).isSameInstanceAs(NON_NULL_STRING); } public void testCheckNotNull_simple_failure() { assertThrows(NullPointerException.class, () -> checkNotNull(null)); } public void testCheckNotNull_simpleMessage_success() { String result = checkNotNull(NON_NULL_STRING, IGNORE_ME);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 19.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/DummyProxy.java
interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]), new DummyHandler(interfaceType)); @SuppressWarnings("unchecked") // interfaceType is T T result = (T) dummy; return result; } /** Returns the dummy return value for {@code returnType}. */ abstract <R> @Nullable R dummyReturnValue(TypeToken<R> returnType);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 22:10:29 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterators.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
src/test/java/jcifs/SmbFileHandleTest.java
// Reset mock before each test if necessary, though MockitoExtension does this. } /** * Test that getTree() returns the correct SmbTreeHandle. */ @Test void testGetTree() { when(smbFileHandle.getTree()).thenReturn(smbTreeHandle); SmbTreeHandle result = smbFileHandle.getTree();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
} } // Test toString method @Test public void test_toString() { // Test that toString returns a non-null value String result = crawlerEngineClient.toString(); assertNotNull(result); } // Test hashCode method @Test public void test_hashCode() { // Test that hashCode returns consistent valueCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K bytes - Click Count (0)