- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 3,933 for avoid (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java
// CollectionToArrayTester tests everything except ordering. public void testToArray_noArg() { Object[] actual = getList().toArray(); assertArrayEquals("toArray() order should match list", createOrderedArray(), actual); } @CollectionSize.Require(absent = ZERO) public void testToArray_tooSmall() { Object[] actual = getList().toArray(new Object[0]);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
class NtlmHttpServletRequestTest { @Mock private HttpServletRequest mockRequest; @Mock private Principal mockPrincipal; private NtlmHttpServletRequest ntlmRequest; @BeforeEach void setUp() { // Create a new NtlmHttpServletRequest with mocked dependencies before each test ntlmRequest = new NtlmHttpServletRequest(mockRequest, mockPrincipal); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
} return queue.poll(); } @Override public void close() { isFinished.set(true); queue.clear(); } /** * Sets the scroll size. * @param scrollSize The scroll size. */ public void setScrollSize(final int scrollSize) { this.scrollSize = scrollSize; } /**Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionAggregation.java
protected void checkEsInvalidAggregation(String name, Object value) { if (value == null || (value instanceof String && ((String) value).isEmpty())) { String msg = "Cannot register null or empty aggregation: name=" + name + " value=" + value; throw new InvalidQueryRegisteredException(msg); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
private static final String EXPECTED_LOGIN_MODULE = "com.sun.security.auth.module.Krb5LoginModule"; @Test @DisplayName("Default constructor yields REQUIRED Krb5 entry with empty options") void defaultConstructor_producesRequiredKrb5EntryWithEmptyOptions() { // Arrange StaticJAASConfiguration cfg = new StaticJAASConfiguration(); // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception { int level = 42; Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level); // constants are defined on SmbComTransaction, inherited via
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java
final class TestPlatform { static void verifyGetOnPendingFuture(Future<?> future) { try { future.get(); fail(); } catch (Exception e) { assertThat(e).isInstanceOf(IllegalStateException.class); assertThat(e).hasMessageThat().isEqualTo("Cannot get() on a pending future."); } } static void verifyTimedGetOnPendingFuture(Future<?> future) { try {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java
* </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /** * Tests that <code>a:2.0</code> wins in the scenario: * <pre> * a:2.0 * a:1.0 * </pre> */ @Test void testEqualReversed() {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java
* </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /** * Tests that <code>a:2.0</code> wins in the scenario: * <pre> * a:2.0 * a:1.0 * </pre> */ @Test void testEqualReversed() {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java
* </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /** * Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:2.0 * a:1.0 * </pre> */ @Test void testEqualReversed() {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.8K bytes - Viewed (0)