- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 3,203 for 2test (0.02 seconds)
-
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
testFileId[i] = (byte) (i + 1); } testLeaseKey = new Smb2LeaseKey(); } @Test public void testHandleInfoCreation() { HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, testLeaseKey); assertEquals("/test/file.txt", info.getPath()); assertEquals(testGuid, info.getCreateGuid());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
boostQueryCommand.register(); } @Test public void test_getQueryClassName() { // Test that getQueryClassName returns the correct class name assertEquals("BoostQuery", boostQueryCommand.getQueryClassName()); } @Test public void test_execute_withTermQuery() { // Test executing BoostQuery with a TermQuery inside Term term = new Term("field", "value");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
*/ package org.codelibs.fess.exception; import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; public class ContentNotFoundExceptionTest extends UnitFessTestCase { @Test public void test_constructor_withValidUrls() { // Test with normal URLs String parentUrl = "http://example.com/parent"; String url = "http://example.com/child";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
assertFalse(UniAddress.isDotQuadIP(input)); } @Test void shouldReturnTrueForInvalidOctetValues() { // isDotQuadIP does not validate octet values, only checks format assertTrue(UniAddress.isDotQuadIP("192.168.1.256")); assertTrue(UniAddress.isDotQuadIP("999.999.999.999")); } @Test void shouldThrowExceptionForNullInput() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
} @Test void testGetInformationLevel() { // Test getInformationLevel method response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.FS_SIZE_INFO); assertEquals(FileSystemInformation.FS_SIZE_INFO, response.getInformationLevel()); } @Test void testGetInfo() { // Test getInfo method when info is nullCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
class GetRootCauseTests { @Test @DisplayName("Should return root cause when set") void testGetRootCause() { Exception rootCause = new IllegalStateException("Test root cause"); TransportException exception = new TransportException("Message", rootCause); assertEquals(rootCause, exception.getRootCause()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
} private boolean determineVersionMatch(String version) { String test = version; boolean reverse = false; if (test.startsWith("!")) { reverse = true; test = test.substring(1); } boolean result = Os.OS_VERSION.equals(test); if (reverse) { return !result; } else { return result;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
} /** * Test of getAttributes method, of class SmbComQueryInformationResponse. */ @Test public void testGetAttributes() { // Initially, attributes should be 0. assertEquals(0, response.getAttributes()); } /** * Test of getCreateTime method, of class SmbComQueryInformationResponse. */ @Test public void testGetCreateTime() {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/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
} @Test @DisplayName("Test constructor creates instance with empty notification list") void testConstructor() { assertNotNull(response); assertNotNull(response.getNotifyInformation()); assertTrue(response.getNotifyInformation().isEmpty()); } @Test @DisplayName("Test writeSetupWireFormat returns 0") void testWriteSetupWireFormat() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java
super.tearDown(testInfo); } // Test creator initialization @Test public void test_creatorInitialization() { assertNotNull(creator); } // Test with different mail configurations @Test public void test_mailConfiguration() { FessConfig config = ComponentUtil.getFessConfig(); assertEquals("Test Admin", config.getMailFromName());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.5K bytes - Click Count (0)