Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 3,016 for jest (0.02 sec)

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

            assertEquals(rootCause, topException.getCause().getCause());
        }
    
        public void test_serialVersionUID() {
            // Test that serialVersionUID is properly defined
            SsoProcessException exception1 = new SsoProcessException("Test");
            SsoProcessException exception2 = new SsoProcessException("Test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            assertTrue(result.contains(pipeName), "toString should contain pipe name");
        }
    
        @Test
        public void testMultiplePipeNames() {
            // Test with various pipe names
            String[] pipeNames = { "\\\\pipe\\test", "\\\\pipe\\PIPE\\sql\\query", "\\\\pipe\\spoolss", "\\\\pipe\\winreg" };
    
            for (String pipeName : pipeNames) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test sign method with different offsets")
        void testSignWithDifferentOffsets() {
            // Arrange
            byte[] largeData = new byte[100];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) i;
            }
    
            // Test with different offsets
            int[] offsets = { 0, 10, 50, 90 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        }
    
        @Test
        @DisplayName("Test with various pipe name formats")
        void testVariousPipeNameFormats() {
            // Test various pipe name formats
            String[] pipeNames =
                    { "\\\\server\\PIPE\\testpipe", "\\PIPE\\LANMAN", "\\PIPE\\srvsvc", "\\PIPE\\wkssvc", "PIPE\\test", "testpipe" };
    
            for (String pipeName : pipeNames) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.SmbConstants;
    
    /**
     * Basic unit tests for {@link SmbConstants}.  The interface only
     * provides {@code static final} constants, so the test suite focuses on
     * value correctness, bit‑mask logic, and some derived properties.
     *
     * <p>Mockito is exercised in a dummy scenario to satisfy the
     * request for an interaction test.  The mock represents a
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. cmd/api-resources_test.go

    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode)
    		}
    		if prefix != testCase.prefix {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix)
    		}
    		if token != testCase.token {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.token, token)
    		}
    		if startAfter != testCase.startAfter {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  7. okhttp-osgi-tests/build.gradle.kts

      testImplementation(libs.junit)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
      testImplementation(libs.assertk)
    
      testImplementation(libs.aqute.resolve)
    }
    
    normalization {
      runtimeClasspath {
        /*
           - The below two ignored files are generated during test execution
           by the test: okhttp/src/test/java/okhttp3/osgi/OsgiTest.java
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:17:18 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        private static final String TEST_FILENAME = "test/file.txt";
        private static final int TEST_INFO_LEVEL = FileInformation.FILE_BASIC_INFO;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
            // Test constructor initializes all fields correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.internal.AllocInfo;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeImplTest.java

        }
    
        // Test case for the constructor of SmbTreeImpl
        @Test
        void testSmbTreeImplConstructor() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertNotNull(tree);
            assertEquals("SHARE", tree.getShare());
            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
        @Test
        void testMatches() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top