- Sort Score
- Num 10 results
- Language All
Results 891 - 900 of 5,228 for avoid (0.04 seconds)
-
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
private JobExecutor jobExecutor; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // Create a concrete implementation for testing jobExecutor = new TestJobExecutor(); } @Test public void test_execute() { // Test execute method String scriptType = "test";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
class ASN1UtilTest { // --- as(Class, Object) --- @Test void testAs_Object_Success() throws PACDecodingException { // Test successful casting String expected = "test string"; Object obj = expected; String result = ASN1Util.as(String.class, obj); assertSame(expected, result); } @Test void testAs_Object_Failure() { // Test failed castingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
public void testOf0() { assertThat(ImmutableDoubleArray.of().asList()).isEmpty(); } public void testOf1() { assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0); } public void testOf2() { assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder(); } public void testOf3() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
private final long serverTimeZoneOffset = 3600000; // 1 hour in milliseconds @BeforeEach public void setUp() { response = new SmbComQueryInformationResponse(serverTimeZoneOffset); } /** * Test of constructor, of class SmbComQueryInformationResponse. */ @Test public void testConstructor() { // The constructor sets the command and serverTimeZoneOffset.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java
* Unit tests for MapValueExtractor. */ public class MapValueExtractorTest { @Test public void testGetString_withStringValue() { Map<String, Object> map = new HashMap<>(); map.put("key", "value"); assertEquals("value", MapValueExtractor.getString(map, "key")); } @Test public void testGetString_withNullValue() { Map<String, Object> map = new HashMap<>();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
@Subscribe public void notOverriddenInSubclass(Object o) { notOverriddenInSubclassEvents.add(o); } @Subscribe public void overriddenNotAnnotatedInSubclass(Object o) { overriddenNotAnnotatedInSubclassEvents.add(o); } @Subscribe public void overriddenAndAnnotatedInSubclass(Object o) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java
protected static final int NUM = 20; private AccessTokenHelper accessTokenHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); accessTokenHelper = new AccessTokenHelper(); } @Test public void test_generateAccessToken() { List<String> tokens = new ArrayList<String>(); for (int i = 0; i < NUM; i++) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
public class NumberConversionUtilTest extends TestCase { /** * @throws Exception */ public void testConvertNumber_byte() throws Exception { assertEquals(Byte.valueOf("1"), NumberConversionUtil.convertNumber(Byte.class, "1")); } /** * @throws Exception */ public void testConvertNumber_primitiveWrapper() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); dictionaryItem = new TestDictionaryItem(); } @Test public void test_getId_defaultValue() { // Test that default ID value is 0 assertEquals(0L, dictionaryItem.getId()); } @Test public void test_getId_afterSetting() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/LlmChatResponseTest.java
public class LlmChatResponseTest extends UnitFessTestCase { @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } @Test public void test_defaultConstructor() { final LlmChatResponse response = new LlmChatResponse();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 5.1K bytes - Click Count (0)