- Sort Score
- Num 10 results
- Language All
Results 1111 - 1120 of 5,228 for avoid (0.04 seconds)
-
src/test/java/org/codelibs/fess/it/search/SuggestWordsApiTests.java
@Tag("it") public class SuggestWordsApiTests extends ITBase { @BeforeAll protected static void initAll() { RestAssured.baseURI = getFessUrl(); settingTestToken(); } @AfterAll protected static void tearDownAll() { deleteTestToken(); } @Test public void testSuggestWords_ok() { Map<String, String> params = new HashMap<>(); params.put("q", "test");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; public class QueryParseExceptionTest extends UnitFessTestCase { @Test public void test_constructor() { // Test constructor with ParseException cause ParseException parseException = new ParseException("Test parse error");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
void defaultStateIsNull() { TestSpnegoToken t = new TestSpnegoToken(); assertNull(t.getMechanismToken(), "mechanismToken should default to null"); assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null"); } @Test @DisplayName("Setter and getter for mechanismToken work") void setGetMechanismToken() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void testConstructor_validValue() { // Test with a value within the byte range NdrSmall ndrSmall = new NdrSmall(123); assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input."); } @Test void testConstructor_maxValue() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
private static final int ALL_SECURITY_INFORMATION = 0x0000000F; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @Test @DisplayName("Test constructor initialization with basic parameters") void testConstructorBasic() { int fid = 0x1234; int securityInfo = OWNER_SECURITY_INFORMATION;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java
@Test public void test_getIndex() throws Exception { Suggester suggester = createSuggester(); // The index name should be {id}.suggest assertEquals("Should return correct index name", getIndexName(), suggester.getIndex()); } @Test public void test_getAllWordsNum_onEmptyIndex() throws Exception {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
void testGetLastWriteTime() { assertEquals(0, response.getLastWriteTime()); } @Test @DisplayName("getChangeTime should return initial value of 0") void testGetChangeTime() { assertEquals(0, response.getChangeTime()); } @Test @DisplayName("getAllocationSize should return initial value of 0") void testGetAllocationSize() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSinkTest.java
*/ @NullUnmarked public class CharSinkTest extends IoTestCase { private static final String STRING = ASCII + I18N; private TestCharSink sink; @Override public void setUp() { sink = new TestCharSink(); } public void testOpenBufferedStream() throws IOException { Writer writer = sink.openBufferedStream(); assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtStatusTest.java
void testSuccessStatusIdentification() { // Given int successStatus = NtStatus.NT_STATUS_SUCCESS; // When/Then assertEquals(0x00000000, successStatus); // Success status should be zero assertTrue(successStatus == 0); } @Test @DisplayName("Should identify error status codes") void testErrorStatusIdentification() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
@GwtIncompatible // SerializableTester public void testToStringFunctionSerializable() { checkCanReserializeSingleton(Functions.toStringFunction()); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Functions.class); } public void testForMapWithoutDefault() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0)