Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 3,275 for Test (0.02 sec)

  1. src/test/java/jcifs/NetbiosNameTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    
    /**
     * Test class for NetbiosName interface functionality
     */
    @DisplayName("NetbiosName Tests")
    class NetbiosNameTest extends BaseTest {
    
        @Mock
        private NetbiosName mockNetbiosName;
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HMACT64Test.java

                when(mockMd5.clone()).thenThrow(new CloneNotSupportedException("Test Clone Not Supported"));
    
                assertThrows(IllegalStateException.class, originalHmac::clone);
            }
        }
    
        // Integration test with actual MD5 to verify HMAC calculation logic
        @Test
        void testHMACT64WithActualMD5() throws NoSuchAlgorithmException {
            // This test uses a real MD5 instance to verify the HMAC calculation logic
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            discloser.setSubject("Test Subject");
            discloser.setPlainText("Test Content");
    
            String result = notificationHelper.toSlackMessage(discloser);
    
            assertNotNull(result);
            assertTrue(result.contains("Test Subject"));
            assertTrue(result.contains("Test Content"));
            assertTrue(result.startsWith("{\"text\":\""));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @Test
        @DisplayName("Should correctly identify DFS share based on flags")
        void testIsShareDfsWithFlags() throws SMBProtocolDecodingException {
            // Test with DFS flag only
            byte[] buffer = createValidResponseBuffer(0, 0x1, 0, 0);
            response.readBytesWireFormat(buffer, 0);
            assertTrue(response.isShareDfs());
    
            // Test with DFS_ROOT flag only
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Test with DFS disabled in config
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(response.isDFSSupported());
    
            // Test without DFS capability
            when(mockConfig.isDfsDisabled()).thenReturn(false);
            setPrivateField(response, "commonCapabilities", 0);
            assertFalse(response.isDFSSupported());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

        }
    
        // Test constructor
        public void test_constructor() {
            ScoreUpdater updater = new ScoreUpdater();
            assertNotNull(updater);
        }
    
        // Test execute with empty list
        public void test_execute_emptyList() {
            String result = scoreUpdater.execute();
            assertEquals("", result);
        }
    
        // Test execute with single booster
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. .github/workflows/iam-integrations.yaml

              go run docs/iam/access-manager-plugin.go &
              make test-iam
          - name: Test MinIO Old Version data to IAM import current version
            if: matrix.ldap == 'ldaphost:389'
            env:
              _MINIO_LDAP_TEST_SERVER: ${{ matrix.ldap }}
            run: |
              make test-iam-ldap-upgrade-import
          - name: Test LDAP for automatic site replication
            if: matrix.ldap == 'localhost:389'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

        public void test_stackTrace() {
            // Test that stack trace is generated properly
            LdapConfigurationException exception = new LdapConfigurationException("Stack trace test");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // The first element should be from this test method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Test class for ContentCache.
     * Tests memory-based and file-based content caching.
     */
    public class ContentCacheTest {
    
        private File tempFile;
    
        @After
        public void tearDown() {
            if (tempFile != null && tempFile.exists()) {
                tempFile.delete();
            }
        }
    
        @Test
        public void testMemoryBasedCacheConstructor() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            }
        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly set
            PluginException exception = new PluginException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the first stack trace element is from this test method
            StackTraceElement firstElement = exception.getStackTrace()[0];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top