- Sort Score
- Num 10 results
- Language All
Results 2141 - 2150 of 5,742 for text (0.02 seconds)
-
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
} @Test void testConstructor_maxValue() { // Test with the maximum byte value NdrSmall ndrSmall = new NdrSmall(255); assertEquals(255, ndrSmall.value, "Value should be initialized correctly for max byte value."); } @Test void testConstructor_zeroValue() { // Test with zero value NdrSmall ndrSmall = new NdrSmall(0);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/http/NtlmHttpURLConnectionTest.java
} /** * Test a successful NTLM authentication handshake. * This is a simplified test that verifies the basic flow without full NTLM protocol simulation. * @throws IOException * @throws SecurityException */ @Test void testSuccessfulHandshake() throws IOException, SecurityException { // This test is simplified to verify basic handshake behaviorCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; public class DataStoreCrawlingExceptionTest extends UnitFessTestCase { @Test public void test_constructor_withUrlMessageAndException() { // Test with URL, message, and exception (abort defaults to false) String url = "http://example.com/test"; String message = "Test error message";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 16.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
} @Test public void test_convertPhraseQuery_searchField_content() { // Test with search field (content) PhraseQuery.Builder builder = new PhraseQuery.Builder(); builder.add(new Term("content", "test")); PhraseQuery phraseQuery = builder.build(); QueryContext context = new QueryContext("test", false);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/mail/CrawlerPostcardTest.java
} // Basic test to verify test framework is working @Test public void test_basicAssertion() { assertTrue(true); assertFalse(false); assertNotNull("test"); assertEquals(1, 1); } // Test placeholder for future implementation @Test public void test_placeholder() { // This test verifies the test class can be instantiated and runCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
import static org.mockito.Mockito.when; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Test class for srvsvc.java classes */ class srvsvcTest { @Mock private NdrBuffer mockNdrBuffer; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
} @Test @DisplayName("readn should throw IOException when buffer too short") void shouldThrowWhenBufferTooShort() { InputStream is = new ByteArrayInputStream("test".getBytes()); assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10)); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; class UnicodeStringTest { @Test void testConstructorWithZterm() { // Test with zterm = true UnicodeString unicodeStringTrue = new UnicodeString(true); assertTrue(unicodeStringTrue.zterm, "zterm should be true");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
} @Test public void test_matches_withNullRequest() { // Test null request handling WebApiManager manager = new TestWebApiManager("/api"); assertFalse(manager.matches(null)); } @Test public void test_matches_withEmptyPath() { // Test empty path matching WebApiManager manager = new TestWebApiManager("");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
} /** * Test setting and getting String field (oemDomainName) */ @Test @DisplayName("Test oemDomainName field with various string values") public void testOemDomainNameField() { // Test with normal string serverData.oemDomainName = "WORKGROUP"; assertEquals("WORKGROUP", serverData.oemDomainName); // Test with empty stringCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17K bytes - Click Count (0)