- Sort Score
- Num 10 results
- Language All
Results 6671 - 6680 of 7,804 for RETURN (0.06 seconds)
-
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
@Override public String getInputsValue() { // Simulate null inputs scenario if (getInputs() == null) { return super.getInputsValue(); } return super.getInputsValue(); } }; // Since we can't easily set inputs to null, test with empty array String[] emptyInputs = {};Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
.setException(e)); } cache.put(value, c); } return c; } return value; } }; } @SuppressWarnings("StringEquality") private static final class ModelVisitor { private final InnerInterpolator interpolator;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 43.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertEquals("word", item1.getInputValue()); StopwordsItem item2 = new StopwordsItem(2, ""); assertEquals("", item2.getInputValue()); // Test with null input - should return empty string StopwordsItem item3 = new StopwordsItem(3, null); assertEquals("", item3.getInputValue()); } @Test public void test_isUpdated() { // Test isUpdated method
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
override fun contains(element: Protocol?): Boolean { if (element == null) throw NullPointerException() return super.contains(element) } override fun indexOf(element: Protocol?): Int { if (element == null) throw NullPointerException() return super.indexOf(element) } } as List<Protocol> val client = OkHttpClient .Builder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 13.4K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java
E duplicate = arrayAndDuplicate.duplicate; int firstIndex = getList().indexOf(duplicate); int initialSize = getList().size(); assertTrue("remove(present) should return true", getList().remove(duplicate)); assertTrue( "After remove(duplicate), a list should still contain the duplicate element", getList().contains(duplicate)); assertFalse(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
*/ static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException { checkState(future.isDone(), "Future was expected to be done: %s", future); try { return getUninterruptibly(future, 0, SECONDS); } catch (TimeoutException e) { throw new AssertionError(e); } } private TestPlatform() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
T stubber = doReturn(delegate).when(mock); DELEGATE_METHOD.invoke(stubber); } catch (Exception e) { throw new RuntimeException(e); } return mock; }); } private ForwardingObjectTester() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
T stubber = doReturn(delegate).when(mock); DELEGATE_METHOD.invoke(stubber); } catch (Exception e) { throw new RuntimeException(e); } return mock; }); } private ForwardingObjectTester() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
tests/test_datastructures.py
app = FastAPI() testing_file_store: list[UploadFile] = [] @app.post("/uploadfile/") def create_upload_file(file: UploadFile): testing_file_store.append(file) return {"filename": file.filename} client = TestClient(app) with path.open("rb") as file: response = client.post("/uploadfile/", files={"file": file}) assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
* constants, the tests exercise the data and small helper logic in this * test class. */ public class DosErrorTest { private static Optional<Integer> findNtStatus(int dosErrorCode) { return Arrays.stream(DosError.DOS_ERROR_CODES).filter(pair -> pair[0] == dosErrorCode).map(pair -> pair[1]).findFirst(); } @Test @DisplayName("DOS_ERROR_CODES is non‑null and non‑empty")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0)