Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 370 for display_name (0.05 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

    /**
     * Unit tests for the {@link UpgradeResult} class.
     * Tests result creation, merging, and status determination.
     */
    @DisplayName("UpgradeResult")
    class UpgradeResultTest {
    
        @Nested
        @DisplayName("Result Creation")
        class ResultCreationTests {
    
            @Test
            @DisplayName("should create empty result")
            void shouldCreateEmptyResult() {
                UpgradeResult result = UpgradeResult.empty();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            }
    
            @Test
            @DisplayName("Should extend ServerMessageBlock2Response")
            void testInheritance() {
                assertTrue(echoResponse instanceof ServerMessageBlock2Response);
            }
        }
    
        @Nested
        @DisplayName("Write Bytes Wire Format Tests")
        class WriteBytesWireFormatTests {
    
            @Test
            @DisplayName("Should return 0 for writeBytesWireFormat")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

        }
    
        private UpgradeOptions createDefaultOptions() {
            return TestUtils.createDefaultOptions();
        }
    
        @Nested
        @DisplayName("Applicability")
        class ApplicabilityTests {
    
            @Test
            @DisplayName("should be applicable when --infer option is true")
            void shouldBeApplicableWhenInferOptionTrue() {
                UpgradeOptions options = mock(UpgradeOptions.class);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
        @Nested
        @DisplayName("Modification Behavior")
        class ModificationBehaviorTests {
    
            @Test
            @DisplayName("should not save modifications to disk")
            void shouldNotSaveModificationsToDisk() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

        }
    
        @Test
        @DisplayName("Constructor should handle null parent")
        void testConstructor_NullParent_ThrowsNPE() {
            // When & Then: Null parent should cause NullPointerException
            assertThrows(NullPointerException.class, () -> new NetServerEnumIterator(null, treeHandle, "*", 0, null));
        }
    
        @Test
        @DisplayName("Constructor should handle null tree handle")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

     */
    @DisplayName("CIFSUnsupportedCryptoException Tests")
    class CIFSUnsupportedCryptoExceptionTest extends BaseTest {
    
        private static final String CRYPTO_ERROR_MESSAGE = "Unsupported cryptographic algorithm: AES-256-GCM";
        private static final String ALGORITHM_NAME = "AES-256-GCM";
    
        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/transport/TransportExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    
    /**
     * Test class for TransportException
     */
    public class TransportExceptionTest {
    
        @Test
        @DisplayName("Test default constructor creates exception with null message")
        public void testDefaultConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

        }
    
        @Test
        @DisplayName("ensureOpen throws after close() is called")
        void testEnsureOpenAfterClose() throws CIFSException {
            target.close();
            CIFSException ex = assertThrows(SmbException.class, () -> target.ensureOpen());
            assertTrue(ex.getMessage().contains("Pipe handle already closed"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        }
    
        @Test
        @DisplayName("isIPC is true for IPC$ or no share")
        void testIsIpc() {
            assertTrue(locator("smb://server/IPC$/").isIPC());
            assertTrue(locator("smb://server/").isIPC());
            assertFalse(locator("smb://server/share/").isIPC());
        }
    
        @Test
        @DisplayName("Type detection covers filesystem/share/IPC/workgroup/server")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.dcerpc.DcerpcConstants;
    import jcifs.dcerpc.msrpc.MsrpcDfsRootEnum;
    import jcifs.dcerpc.msrpc.netdfs;
    import jcifs.internal.smb1.net.SmbShareInfo;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top