- Sort Score
- Num 10 results
- Language All
Results 1531 - 1540 of 4,150 for avoid (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java
@Test public void test_constructor() { // Test basic class structure without complex mocking assertEquals("FessActionValidator should be in correct package", "org.codelibs.fess.validation.FessActionValidator", FessActionValidator.class.getName()); } @Test public void test_inheritance() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
}); } public void test() throws Exception { assertTrue(handler.getStoredLogRecords().isEmpty()); ExampleClassUnderTest.foo(); LogRecord record = handler.getStoredLogRecords().get(0); assertEquals(Level.INFO, record.getLevel()); assertThat(record.getMessage()).isEqualTo("message"); assertThat(record.getThrown()).isEqualTo(EXCEPTION); } public void testConcurrentModification() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportTest.java
private SmbTransport smbTransport; @Mock private CIFSContext cifsContext; @Mock private Address remoteAddress; @BeforeEach void setUp() { // Common setup for mocks if needed } @Test void testGetContext() { // Arrange when(smbTransport.getContext()).thenReturn(cifsContext); // Act CIFSContext result = smbTransport.getContext();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/test/TestClasspathUtils.java
import static org.junit.Assert.fail; public class TestClasspathUtils { public static void setupJarJdkClasspath(File projectRoot) { generateJdkJarHellCheck(projectRoot, FixedValue.value(TypeDescription.VOID)); } public static void setupJarJdkClasspath(File projectRoot, String errorMessage) { generateJdkJarHellCheck(projectRoot,Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jun 07 15:14:44 GMT 2021 - 2.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
} } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(ALLOWS_NULL_KEYS) public void testAsMapGetNullKeyPresent() { initMultimapWithNullKey(); assertContentsAnyOrder(multimap().asMap().get(null), getValueForNullKey()); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testAsMapGetNullKeyAbsent() { assertNull(multimap().asMap().get(null)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
@IgnoreJRERequirement // We opt into library desugaring for our tests. public class MapComputeTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testCompute_absentToPresent() { assertEquals( "Map.compute(absent, functionReturningValue) should return value", v3(), getMap() .compute( k3(),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 7.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapComputeTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testCompute_absentToPresent() { assertEquals( "Map.compute(absent, functionReturningValue) should return value", v3(), getMap() .compute( k3(),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testGetCredentials() { assertEquals(mockCredentials, context.getCredentials()); } @Test void testHasDefaultCredentials_withNonAnonymous() { when(mockCredentials.isAnonymous()).thenReturn(false); assertTrue(context.hasDefaultCredentials()); } @Test void testHasDefaultCredentials_withAnonymous() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
} @Test void testGetResults() { // Test the getResults method // By default, it should return null until results are set assertNull(response.getResults()); } @Test void testGetLastName() { // Test the getLastName method // By default, it should return null assertNull(response.getLastName()); } @Test void testGetSubCommand() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsScheduledJobBhv.java
public void insert(ScheduledJob entity) { doInsert(entity, null); } public void insert(ScheduledJob entity, RequestOptionCall<IndexRequestBuilder> opLambda) { entity.asDocMeta().indexOption(opLambda); doInsert(entity, null); } public void update(ScheduledJob entity) { doUpdate(entity, null); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 10.3K bytes - Click Count (0)