- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 1,622 for Contains (0.04 sec)
-
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
assertThat(e).hasMessageThat().contains("toString representation"); } private static void assertErrorMessage(Throwable e, String message) { // TODO(kevinb): use a Truth assertion here if (!e.getMessage().contains(message)) { fail("expected <" + e.getMessage() + "> to contain <" + message + ">"); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java
String pattern = fessConfig.getAppEncryptPropertyPattern(); assertNotNull(pattern); assertTrue(pattern.contains("password")); assertTrue(pattern.contains("key")); assertTrue(pattern.contains("token")); assertTrue(pattern.contains("secret")); } // Test array field parsing public void test_arrayFieldParsing() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
} else { analyzerName = READING_ANALYZER; } final String analyzerNameWithlang = isSupportedLanguage(lang) ? analyzerName + '_' + lang : analyzerName; if (analyzerNames.contains(analyzerNameWithlang)) { return analyzerNameWithlang; } return analyzerName; } /** * Returns the name of the reading term analyzer for a given field and language.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
} public void testContains() { assertThat(Ints.contains(EMPTY, (int) 1)).isFalse(); assertThat(Ints.contains(ARRAY1, (int) 2)).isFalse(); assertThat(Ints.contains(ARRAY234, (int) 1)).isFalse(); assertThat(Ints.contains(new int[] {(int) -1}, (int) -1)).isTrue(); assertThat(Ints.contains(ARRAY234, (int) 2)).isTrue(); assertThat(Ints.contains(ARRAY234, (int) 3)).isTrue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
Service b = new FailStartService(); ServiceManager manager = new ServiceManager(asList(a, b)); String toString = manager.toString(); assertThat(toString).contains("NoOpService"); assertThat(toString).contains("FailStartService"); } public void testTimeouts() throws Exception { Service a = new NoOpDelayedService(50); ServiceManager manager = new ServiceManager(asList(a));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
} @Override public int count(@Nullable Object element) { try { @SuppressWarnings("unchecked") E e = (E) element; AvlNode<E> root = rootReference.get(); if (!range.contains(e) || root == null) { return 0; } return root.count(comparator(), e); } catch (ClassCastException | NullPointerException e) { return 0; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.8K bytes - Viewed (0) -
cmd/leak-detect_test.go
// Again split on a new line, the first line of the second half contains the info about the go routine. sl := strings.SplitN(g, "\n", 2) if len(sl) != 2 { continue } stack := strings.TrimSpace(sl[1]) // ignore the testing go routine. // since the tests will be invoking the leaktest it would contain the test go routine. if strings.HasPrefix(stack, "testing.RunTests") { continue }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
assertTrue(Iterables.contains(set, null)); } public void test_contains_null_set_no() { Iterable<String> set = newHashSet("a", "b"); assertFalse(Iterables.contains(set, null)); } public void test_contains_null_iterable_yes() { Iterable<@Nullable String> set = iterable("a", null, "b"); assertTrue(Iterables.contains(set, null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
CurlException exception = new CurlException(message); String toString = exception.toString(); assertNotNull(toString); assertTrue(toString.contains("CurlException")); assertTrue(toString.contains(message)); } @Test public void testStackTrace() { CurlException exception = new CurlException("Test message");
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
} } @Test @DisplayName("toString contains class name and delegates to superclass") void toStringMatches() { String s = response.toString(); assertNotNull(s); assertTrue(s.startsWith("SmbComSetInformationResponse[")); assertTrue(s.endsWith("]")); // Verify it contains superclass toString content
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0)