- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 575 for properly (0.04 sec)
-
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertFalse(future.set(23)); assertFalse(future.setException(new Exception("bar"))); assertFalse(future.setFuture(SettableFuture.<Integer>create())); // Check that the future has been set properly. assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertEquals(42, (int) future.get()); } public void testSetException() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer); } @Test @DisplayName("Constructor should properly initialize all fields") void testConstructor() { // Verify all fields are properly initialized assertNotNull(negotiation); assertSame(mockRequest, negotiation.getRequest()); assertSame(mockResponse, negotiation.getResponse());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
assertNotNull(request); // The request should be properly created - we can't easily verify headers without mocking framework } public void test_post() { setupMockConfig("localhost:9200", "", ""); curlHelper.init(); CurlRequest request = curlHelper.post("/test"); assertNotNull(request); // The request should be properly created } public void test_put() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/config/SecurityConfigurationTest.java
import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import jcifs.CIFSException; import jcifs.DialectVersion; /** * Security configuration tests * * Verifies that default security settings are properly configured * according to SMB security best practices. */ @RunWith(JUnit4.class) public class SecurityConfigurationTest { /** * Test that default security settings meet minimum security requirements
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_exceptionInheritance() { // Test that JobNotFoundException properly extends FessSystemException JobNotFoundException exception = new JobNotFoundException("test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
assertEquals("Root cause", exception.getCause().getCause().getMessage()); } public void test_serialVersionUID() { // Test that serialVersionUID is properly set CommandExecutionException exception1 = new CommandExecutionException("Test"); CommandExecutionException exception2 = new CommandExecutionException("Test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
emptyGenerator.addCondition("field1", "pattern1"); emptyGenerator.addCondition("field1", "pattern2"); emptyGenerator.addCondition("field2", "pattern.*"); // We can't test isTarget properly without container, // but we can verify conditions are added assertNotNull(emptyGenerator); // Test that multiple conditions can be added without errors
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
} @Test void testGetSubCommand() { // Test that the subcommand is properly set assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, response.getSubCommand()); } @Test void testReadParametersWireFormat() { // Test reading parameters from a properly formatted buffer byte[] buffer = new byte[20]; // Set up the buffer with test data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/FacetResponseTest.java
assertEquals("field:", Constants.FACET_FIELD_PREFIX); assertEquals("query:", Constants.FACET_QUERY_PREFIX); } public void test_unicode_base64_encoding() { // Test that unicode strings are properly encoded/decoded String unicodeString = "日本語テスト"; String encoded = BaseEncoding.base64().encode(unicodeString.getBytes(StandardCharsets.UTF_8));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosAddressTest.java
* This test focuses on verifying constants and basic functionality. */ @ExtendWith(MockitoExtension.class) class NetbiosAddressTest { @Test void testConstantValues() { // Test that constants are properly defined assertEquals("*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", NbtAddress.ANY_HOSTS_NAME);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0)