- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,117 for properly (0.16 seconds)
-
src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java
// Test that ALLOW_BASIC security setting can be accessed // This verifies the security warnings are properly documented in code SpnegoAuthenticator authenticator = new SpnegoAuthenticator(); assertNotNull(authenticator); // The constant should be accessible and properly named // We can't easily test the actual configuration without full DI setup,Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (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());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertFalse(future.set(23)); assertFalse(future.setException(new Exception("bar"))); assertFalse(future.setFuture(SettableFuture.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 {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
// The request should be properly created - we can't easily verify headers without mocking framework } @Test public void test_post() { setupMockConfig("localhost:9200", "", ""); curlHelper.init(); CurlRequest request = curlHelper.post("/test"); assertNotNull(request); // The request should be properly created } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.4K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
// Check that proper indentation is maintained assertTrue(result.contains(" <build>"), "Build element should be properly indented"); assertTrue(result.contains(" <plugins>"), "Plugins element should be properly indented"); assertTrue(result.contains(" <plugin>"), "Plugin element should be properly indented"); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (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 requirementsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.1K bytes - Click Count (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 dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
* the smb URL syntax. * * @param url An smb URL string representing the file to write to * @throws SmbException if an SMB error occurs * @throws MalformedURLException if the URL is not properly formatted * @throws UnknownHostException if the host cannot be resolved */ public SmbFileOutputStream(final String url) throws SmbException, MalformedURLException, UnknownHostException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/FacetResponseTest.java
assertEquals("query:", Constants.FACET_QUERY_PREFIX); } @Test 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));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.7K bytes - Click Count (0)