- Sort Score
- Num 10 results
- Language All
Results 1311 - 1320 of 5,228 for avoid (0.03 seconds)
-
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
return bytesRead; } public void setParamWordsRead(int value) { this.paramWordsRead = value; } public void setBytesRead(int value) { this.bytesRead = value; } public int getWordCount() { return wordCount; } } @BeforeEach void setUp() { MockitoAnnotations.openMocks(this);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
private static final int KEY_TYPE_1 = 1; private static final int KEY_TYPE_2 = 2; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } /** * Test constructor with a valid login context. * * @throws LoginException if login fails. */ @Test void testConstructor_Success() throws LoginException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
void testSingletonInstance() { MonotonicClock clock1 = MonotonicClock.get(); MonotonicClock clock2 = MonotonicClock.get(); assertSame(clock1, clock2, "Multiple calls to get() should return the same instance"); } @Test @DisplayName("MonotonicClock should always use UTC timezone") void testClockTimezone() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutIfAbsent_supportedAbsent() { assertNull( "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3())); expectAdded(e3()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_supportedPresent() { assertEquals(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 02:04:51 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
} @Test public void test_constructor() { LogNotificationTarget target = new LogNotificationTarget(); assertNotNull(target); } @Test public void test_expired_emptyBuffer() { // expired() with empty buffer is no-op (no exception) logNotificationTarget.expired(); } @Test public void test_flush_callsExpired() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
/** * @throws Exception */ public void testGetResourceAsStreamNoException() throws Exception { assertNotNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String.class", "class")); assertNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String2.class", "class")); } /** * @throws Exception */ public void testGetBuildDir() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
// ========== escapeQueryValue tests ========== @Test public void test_escapeQueryValue_null() { assertEquals("", chatClient.testEscapeQueryValue(null)); } @Test public void test_escapeQueryValue_empty() { assertEquals("", chatClient.testEscapeQueryValue("")); } @Test public void test_escapeQueryValue_noSpecialChars() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java
public class WebFsIndexHelperTest extends UnitFessTestCase { private WebFsIndexHelper webFsIndexHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); webFsIndexHelper = new WebFsIndexHelper(); } @Test public void test_crawl_withNullParameters() { try { webFsIndexHelper.crawl("sessionId", null, null); assertTrue(true);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
*/ public class TimestampConversionUtilTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ // @Test // public void testToDate_Null() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
// retainAll(empty) @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRetainAll_emptyPreviouslyEmpty() { expectReturnsFalse(empty); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testRetainAll_emptyPreviouslyEmptyUnsupported() { expectReturnsFalseOrThrows(empty); expectUnchanged();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 10.7K bytes - Click Count (0)