Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 2,760 for 1test (0.01 sec)

  1. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            // Test with null username
            String username = null;
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: null", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withSpecialCharacters() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            }
            super.tearDown();
        }
    
        // Test getType method
        public void test_getType() {
            assertEquals("mapping", charMappingFile.getType());
        }
    
        // Test getPath method
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), charMappingFile.getPath());
        }
    
        // Test getSimpleName method
        public void test_getSimpleName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        }
    
        @Test
        @DisplayName("Should test isErrorResponseStatus with various status codes")
        void testIsErrorResponseStatus() throws Exception {
            // Test with NT_STATUS_NOTIFY_ENUM_DIR - should not be error
            setStatus(response, NtStatus.NT_STATUS_NOTIFY_ENUM_DIR);
            assertFalse(response.isErrorResponseStatus());
    
            // Test with success status
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacSignatureTest.java

            buffer.putInt(value);
            baos.write(buffer.array(), 0, 4);
        }
    
        /**
         * Test constructor with KERB_CHECKSUM_HMAC_MD5 type.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if the PAC is malformed
         */
        @Test
        void testConstructorKerbChecksumHmacMd5() throws IOException, PACDecodingException {
            // Prepare data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            response = new NetServerEnum2Response(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration")
        void testConstructor() {
            assertNotNull(response);
            // Response is successfully created with configuration
            assertTrue(response instanceof NetServerEnum2Response);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns 0")
        void testWriteSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test with maximum and minimum values")
        void testWithBoundaryValues() {
            // Test with minimum values
            trans2SetFileInfo = new Trans2SetFileInformation(config, 0, 0, 0L, 0L, 0L);
            assertNotNull(trans2SetFileInfo);
    
            // Test with maximum values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(0L, info.getSize());
        }
    
        @Test
        @DisplayName("Test size method returns correct buffer size")
        void testSize() {
            assertEquals(40, fileBasicInfo.size());
        }
    
        @Test
        @DisplayName("Test encode method")
        void testEncode() throws SMBProtocolDecodingException {
            // Create instance with test values
            FileBasicInfo info =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbTreeTest.java

        private SmbTree mockWrappedTree;
    
        /**
         * Setup method executed before each test.
         */
        @BeforeEach
        void setUp() {
            // Common setup if needed
        }
    
        /**
         * Test for unwrap() method with matching type.
         * Verifies that unwrap returns the correct instance when the type matches.
         */
        @Test
        void testUnwrap_withMatchingType() {
            // Create a custom SmbTree type for testing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. guava-gwt/pom.xml

          <artifactId>guava-testlib</artifactId>
          <version>${project.version}</version>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>guava-testlib</artifactId>
          <version>${project.version}</version>
          <classifier>tests</classifier>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top