Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 3,275 for Nest (0.02 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

         */
        @Test
        void testConstructor() {
            // Given
            String serverName = "test-server";
    
            // When
            MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum(serverName);
    
            // Then
            assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null.");
            // The server name is stored in a protected field without a public getter, so we cannot directly test it.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for NtlmPasswordAuthenticator security enhancements
     */
    public class NtlmPasswordAuthenticatorSecurityTest {
    
        private NtlmPasswordAuthenticator authenticator;
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath(null, new HtmlNext("/test"));
            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath("  ", new HtmlNext("/test"));
            assertEquals("", basePath); // StringUtil.isBlank considers whitespace as blank
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

        }
    
        @Test
        public void testWriteParameterWordsWireFormat() {
            // This method is expected to do nothing and return 0
            int result = smbComQueryInformation.writeParameterWordsWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testWriteBytesWireFormat() {
            // Test the writing of bytes to a byte array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for SmbOperationException
     */
    @DisplayName("SmbOperationException Tests")
    public class SmbOperationExceptionTest {
    
        private SmbOperationException exception;
    
        @BeforeEach
        void setUp() {
            exception = null;
        }
    
        @Test
        @DisplayName("Should create exception with error code and message")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

        }
    
        public void test_constructor_withSpecialCharacters() {
            // Test with URLs containing special characters
            String parentUrl = "http://example.com/parent?query=test&id=123";
            String url = "http://example.com/child#fragment";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

    import static org.mockito.Mockito.verify;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for the NdrObject abstract class.
     * This test uses a concrete implementation to verify the abstract contract.
     */
    @ExtendWith(MockitoExtension.class)
    class NdrObjectTest {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

    package okhttp3
    
    import java.util.Locale
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    import org.junit.jupiter.api.Test
    
    class MediaTypeJvmTest : MediaTypeGetTest() {
      override fun MediaType.charsetName(): String? = this.charset()?.name()
    
      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/config/PropertyConfigurationTest.java

    import java.util.Properties;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    import jcifs.BaseTest;
    import jcifs.CIFSException;
    import jcifs.DialectVersion;
    import jcifs.ResolverType;
    
    /**
     * Test class for PropertyConfiguration functionality
     */
    @DisplayName("PropertyConfiguration Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

        public void test_getId_defaultValue() {
            // Test that default ID value is 0
            assertEquals(0L, dictionaryItem.getId());
        }
    
        public void test_getId_afterSetting() {
            // Test getting ID after setting it
            dictionaryItem.id = 123L;
            assertEquals(123L, dictionaryItem.getId());
        }
    
        public void test_getId_negativeValue() {
            // Test with negative ID value
            dictionaryItem.id = -456L;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top