- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 785 for elemLen (0.3 seconds)
-
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
assertTrue(exception.getStackTrace().length > 0); // Verify the stack trace contains this test method boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if (element.getMethodName().equals("test_stackTrace")) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
} private SafeTreeSet(NavigableSet<E> delegate) { this.delegate = delegate; for (E e : this) { checkValid(e); } } @Override public boolean add(E element) { return delegate.add(checkValid(element)); } @Override public boolean addAll(Collection<? extends E> collection) { for (E e : collection) { checkValid(e); } return delegate.addAll(collection); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/WrongType.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; /** * A type which will never be used as the element type of any collection in our tests, and so can be * used to test how a Collection behaves when given input of the wrong type. */ @GwtCompatible public enum WrongType { VALUECreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 934 bytes - Click Count (0) -
guava/src/com/google/common/annotations/VisibleForTesting.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.annotations; /** * Annotates a program element that exists, or is more widely visible than otherwise necessary, only * for use in test code. * * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 30 22:25:16 GMT 2023 - 1.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
} foundTrustedCertificate = true continue } // Search for the certificate in the chain that signed this certificate. This is typically // the next element in the chain, but it could be any element. val i = queue.iterator() while (i.hasNext()) { val signingCert = i.next() as X509Certificate if (verifySignature(toVerify, signingCert, result.size - 1)) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
public void testSubList_ofSubListNonEmpty() { List<E> subList = getList().subList(0, 2).subList(1, 2); assertEquals( "subList(0, 2).subList(1, 2) " + "should be a single-element list of the element at index 1", singletonList(getOrderedElements().get(1)), subList); } @CollectionSize.Require(absent = {ZERO}) public void testSubList_size() { List<E> list = getList();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
* UnsupportedOperationException when those mutators are called. * </ol> * * @param collection the presumed-immutable collection * @param sampleElement an element of the same type as that contained by {@code collection}. * {@code collection} may or may not have {@code sampleElement} as a member. */ public static <E extends @Nullable Object> void assertCollectionIsUnmodifiable(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
public void testSubList_ofSubListNonEmpty() { List<E> subList = getList().subList(0, 2).subList(1, 2); assertEquals( "subList(0, 2).subList(1, 2) " + "should be a single-element list of the element at index 1", singletonList(getOrderedElements().get(1)), subList); } @CollectionSize.Require(absent = {ZERO}) public void testSubList_size() { List<E> list = getList();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13.5K bytes - Click Count (0) -
android/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.emptyList())); expectUnchanged(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 7.4K bytes - Click Count (0)