- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 820 for elemnt (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
} public static class Chars extends SampleElements<Character> { public Chars() { // elements aren't sorted, to better test SortedSet iteration ordering super('b', 'a', 'c', 'd', 'e'); } } public static class Enums extends SampleElements<AnEnum> { public Enums() { // elements aren't sorted, to better test SortedSet iteration ordering super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
assertTrue(stackTrace.length > 0); // Check that the current test method is in the stack trace boolean foundTestMethod = false; for (StackTraceElement element : stackTrace) { if (element.getMethodName().equals("test_stackTrace")) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
/** * Returns {@code true} if reported problem count exceeded allowed count, and issues were lost. When this * method returns {@code true}, it means that element count of stream returned by method {@link #problems()} * and the counter returned by {@link #totalProblemsReported()} are not equal (latter is bigger than former). *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 18 17:30:19 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
assertTrue(stackTrace.length > 0); // Verify that current test method appears in stack trace boolean foundTestMethod = false; for (StackTraceElement element : stackTrace) { if (element.getMethodName().equals("test_stackTrace")) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
// Verify that this test method appears in the stack trace boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if ("test_stackTrace".equals(element.getMethodName())) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java
assertNotSame(thrower1, thrower2); } // Helper method to check if array contains a value private boolean containsValue(String[] array, String value) { for (String element : array) { if (element.equals(value)) { return true; } } return false; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
public void testPutAllNullForbidden() { assertThrows(NullPointerException.class, () -> multimap().putAll(null, singletonList(v3()))); } @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types @MapFeature.Require(SUPPORTS_PUT) public void testPutAllEmptyCollectionOnAbsentKey() { assertFalse(multimap().putAll(k3(), Collections.<V>emptyList())); expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
this.equivalence = checkNotNull(equivalence); } /** * Different orderings for combining the elements of an input array, which must all produce the * same result. */ enum CollectStrategy { /** Get one accumulator and accumulate the elements into it sequentially. */ SEQUENTIAL { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 15 21:47:56 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertTrue(exception.getStackTrace().length > 0); // Should contain this test method in stack trace boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if (element.getMethodName().contains("testStackTracePreservation")) { foundTestMethod = true; break; } } assertTrue(foundTestMethod);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
@CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testEquals_containingNull() { ArrayList<E> elements = new ArrayList<>(getSampleElements()); elements.set(elements.size() / 2, null); collection = getSubjectGenerator().create(elements.toArray()); List<E> other = new ArrayList<>(getSampleElements()); assertFalse(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0)