- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,121 for original (0.05 seconds)
-
src/test/java/org/codelibs/core/crypto/CachedCipherTest.java
final String original = "Hello World"; final String encrypted1 = cipher1.encryptText(original); final String encrypted2 = cipher2.encryptText(original); assertThat(encrypted1, is(not(encrypted2))); assertThat(cipher1.decryptText(encrypted1), is(original)); assertThat(cipher2.decryptText(encrypted2), is(original)); } @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 5.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TransposedTableTest.java
assertThat(transpose.columnMap()).isSameInstanceAs(original.rowMap()); assertThat(transpose.values()).isSameInstanceAs(original.values()); assertEquals(original.row(1), transpose.column(1)); assertEquals(original.row(2), transpose.column(2)); assertEquals(original.column("foo"), transpose.row("foo")); assertEquals(original.column("bar"), transpose.row("bar")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 2.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java
} return result; } /** * Quote and escape input value for CSV * * @param original Original text. * @return Escaped text. */ public static String quoteEscape(final String original) { String result = original; if (result.indexOf('\"') >= 0) { result = result.replace("\"", ESCAPED_QUOTE); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
assertEquals("Deserialized integer should match original", original, deserialized); } /** * Test serialization and deserialization of List */ @Test public void test_serializeDeserialize_list() { List<String> original = new ArrayList<>(); original.add("item1"); original.add("item2"); original.add("item3");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
try { String result = SystemUtil.getSearchEngineHttpAddress(); assertNull(result); } finally { // Restore original value if it existed if (originalValue != null) { System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, originalValue); } } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.1K bytes - Click Count (0) -
docs/en/docs/advanced/testing-dependencies.md
There are some scenarios where you might want to override a dependency during testing. You don't want the original dependency to run (nor any of the sub-dependencies it might have). Instead, you want to provide a different dependency that will be used only during tests (possibly only some specific tests), and will provide a value that can be used where the value of the original dependency was used. ### Use cases: external service { #use-cases-external-service }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
} public void testCopyOf() { Map<String, Integer> original = new LinkedHashMap<>(); original.put("one", 1); original.put("two", 2); original.put("three", 3); ImmutableSortedMap<String, Integer> copy = ImmutableSortedMap.copyOf(original); assertMapEquals(copy, "one", 1, "three", 3, "two", 2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 29.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java
static <E> Set<E> reserializeAndAssertLenient(Set<E> original) { Set<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableSet); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) { Multiset<E> copy = reserialize(original); assertEquals(original, copy);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
} companion object { fun uppercase(original: ResponseBody): ResponseBody = object : ResponseBody() { override fun contentType() = original.contentType() override fun contentLength() = original.contentLength() override fun source() = uppercase(original.source()).buffer() } private fun uppercase(original: Source): Source {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java
@CollectionSize.Require(absent = ZERO) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testEqualsMultimapWithNullKey() { Multimap<K, V> original = multimap(); initMultimapWithNullKey(); Multimap<K, V> withNull = multimap(); new EqualsTester() .addEqualityGroup(original) .addEqualityGroup( withNull, getSubjectGenerator().create((Object[]) createArrayWithNullKey())) .testEquals(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.6K bytes - Click Count (0)