Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 3,356 for xtest (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

        }
    
        /**
         * Test validation of excessive buffer sizes to prevent resource exhaustion.
         */
        @Test
        public void testExcessiveBufferSizes() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Test excessive maxTransactSize (> 16MB)
            SMBUtil.writeInt4(20 * 1024 * 1024, buffer, 28); // 20MB
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. cmd/bucket-handlers_test.go

    		secretKey          string
    		expectedRespStatus int
    	}{
    		// Test case - 1.
    		// Validate a good case request succeeds.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test case - 2.
    		// Test case with invalid accessKey to produce and validate Signature Mismatch error.
    		{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/searchResults.jsp

    					arg3="${f:h(currentEndRecordNumber)}" />
    			</c:if>
    			<c:if test="${execTime!=null}">
    				<la:message key="labels.search_result_time" arg0="${f:h(execTime)}" />
    			</c:if>
    		</p>
    		<c:if test="${! empty sdh }">
    		<p>
    			<la:message key="labels.similar_doc_result_status" />
    		</p>
    		</c:if>
    	</div>
    </div>
    <c:if test="${partialResults}">
    	<div class="alert">
    		<p>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the SmbComDeleteDirectory class.
     */
    class SmbComDeleteDirectoryTest {
    
        /**
         * Test constructor.
         */
        @Test
        void testConstructor() {
            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

        @DisplayName("Plugin Upgrades")
        class PluginUpgradeTests {
    
            @Test
            @DisplayName("should upgrade plugin version when below minimum")
            void shouldUpgradePluginVersionWhenBelowMinimum() throws Exception {
                String pomXml = PomBuilder.create()
                        .groupId("test")
                        .artifactId("test")
                        .version("1.0.0")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            // Verify cleanup
            assertNull(directoryLeaseManager.getCacheEntry(directoryPath));
        }
    
        @Test
        public void testMultipleDirectories() {
            String dir1 = "/test/dir1";
            String dir2 = "/test/dir2";
            String dir3 = "/test/dir3";
    
            Smb2LeaseKey key1 = new Smb2LeaseKey();
            Smb2LeaseKey key2 = new Smb2LeaseKey();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

         */
        @Test
        void testToString() {
            String result = response.toString();
            assertNotNull(result, "toString() should not return null.");
        }
    
        // Helper method to access the super.toString() for verification,
        // as we cannot call it directly from the test.
        // This requires a package-private or public method in the class under test,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should create instance with null ciphers")
            void testConstructorWithNullCiphers() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null);
    
                assertNotNull(context);
                assertNull(context.getCiphers());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.util.SMBUtil;
    
    public class AvTimestampTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        public void testConstructorWithRawBytes() {
            byte[] rawBytes = new byte[8];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top