Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,084 for shouldn (1.29 sec)

  1. src/test/java/jcifs/smb1/util/MimeMapTest.java

        @Nested
        @DisplayName("Edge cases and special scenarios")
        class EdgeCases {
    
            @Test
            @DisplayName("Should handle multiple extensions for same mime type")
            void testMultipleExtensionsForSameMimeType() throws IOException {
                // Both jpg and jpeg should map to image/jpeg
                String jpgMime = mimeMap.getMimeType("jpg");
                String jpegMime = mimeMap.getMimeType("jpeg");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Then
            assertNotNull(nonce1, "First secure nonce should not be null");
            assertNotNull(nonce2, "Second secure nonce should not be null");
            assertFalse(Arrays.equals(nonce1, nonce2), "Secure nonces should be different");
            assertTrue(nonce1.length > 0, "Secure nonce should have proper length");
        }
    
        @Test
        @DisplayName("Should handle concurrent secure nonce generation safely")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/HandlerTest.java

            assertNotNull(connection1, "First connection should not be null.");
            assertNotNull(connection2, "Second connection should not be null.");
            assertTrue(connection1 instanceof NtlmHttpURLConnection, "First connection should be wrapped.");
            assertTrue(connection2 instanceof NtlmHttpURLConnection, "Second connection should be wrapped.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertNotNull(key1, "Should generate key 1");
            assertNotNull(key2, "Should generate key 2");
            assertEquals(32, key1.length, "Key 1 should have correct length");
            assertEquals(32, key2.length, "Key 2 should have correct length");
            assertFalse(Arrays.equals(key1, key2), "Random keys should be different");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertNotNull("Annotation should be present on field", annotation);
            assertEquals("Default message should match", "{jakarta.validation.constraints.Size.message}", getDefaultMessage());
            assertEquals("Default groups should be empty", 0, getDefaultGroups().length);
            assertEquals("Default payload should be empty", 0, getDefaultPayload().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. cmd/bucket-handlers_test.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"encoding/xml"
    	"fmt"
    	"io"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            assertEquals(SERVER, dcerpcBinding.getServer(), "Server should match the constructor argument.");
            assertNull(dcerpcBinding.getOptions(), "Options should be null initially.");
            assertNull(dcerpcBinding.getEndpoint(), "Endpoint should be null initially.");
            assertNull(dcerpcBinding.getUuid(), "UUID should be null initially.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

            // When & Then
            assertTrue(negotiationRequest.isSigningEnforced(), "First call should return true");
            assertFalse(negotiationRequest.isSigningEnforced(), "Second call should return false");
            assertTrue(negotiationRequest.isSigningEnforced(), "Third call should return true");
    
            verify(negotiationRequest, times(3)).isSigningEnforced();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertEquals(0, buffer[13]);
                assertEquals((byte) 0xFF, buffer[9]); // Should not modify before offset
                assertEquals((byte) 0xFF, buffer[14]); // Should not modify after encoded data
            }
    
            @Test
            @DisplayName("Should handle offset in decode")
            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

         * It should always return 0.
         */
        @Test
        void testWriteSetupWireFormat() {
            byte[] dst = new byte[10];
            // The method should not write anything and return 0
            assertEquals(0, response.writeSetupWireFormat(dst, 0), "writeSetupWireFormat should return 0.");
        }
    
        /**
         * Test for the writeParametersWireFormat method.
         * It should always return 0.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top