- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,337 for Then (0.03 sec)
-
src/test/java/jcifs/CIFSContextTest.java
// When mockContext.close(); // Then verify(mockContext).close(); } @Test @DisplayName("Should get Configuration") void testGetConfig() { // Given Configuration mockConfig = mock(Configuration.class); when(mockContext.getConfig()).thenReturn(mockConfig); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
@DisplayName("Test isSigningEnforced returns true when signing is enforced") void testIsSigningEnforcedReturnsTrue() { // Given when(negotiationRequest.isSigningEnforced()).thenReturn(true); // When boolean result = negotiationRequest.isSigningEnforced(); // Then assertTrue(result, "isSigningEnforced should return true when signing is enforced");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
// Given when(mockNetbiosName.getNameType()).thenReturn(nameType); // When int result = mockNetbiosName.getNameType(); // Then assertEquals(nameType, result); } @Test @DisplayName("Should handle null name") void testNullName() { // Given when(mockNetbiosName.getName()).thenReturn(null); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
void testMD4Hash() { // Given String input = "Hello World"; byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4(); byte[] hash = md4.digest(data); // Then assertNotNull(hash); assertEquals(16, hash.length); // MD4 produces 128-bit hash } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/assemblies/files/generate-thumbnail
HOME=/var/lib/fess fi if [[ x"${cmd_type}" = "xmsoffice" ]] ; then im_cmd=$(get_imagemagick_cmd) if [[ -z "${im_cmd}" ]] ; then echo "ImageMagick (convert or magick) does not exist." exit 1 fi check_command pdftoppm check_command unoconv tmp_pdf_file=/tmp/thumbnail.$$.pdf unoconv -e PageRange=1-1 -o ${tmp_pdf_file} -f pdf "${target_file}" if [[ ! -f ${tmp_pdf_file} ]] ; thenRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 04 08:02:36 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 }; SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config); // When int result = instance.readParameterWordsWireFormat(buffer, 0); // Then assertEquals(8, result); assertEquals(0xffffL, instance.getCount()); } /** * Test of readParameterWordsWireFormat with zero count */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/site-replication/run-multi-site-oidc.sh
if [ $? -ne 0 ]; then echo "expecting the command to succeed, exiting.." exit_1 fi ./mc admin policy info minio3 projecta >/dev/null 2>&1 if [ $? -ne 0 ]; then echo "expecting the command to succeed, exiting.." exit_1 fi ./mc admin policy remove minio3 projecta sleep 10 ./mc admin policy info minio1 projecta if [ $? -eq 0 ]; then echo "expecting the command to fail, exiting.."
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
void testConstructorWithNullContext() { // When Handler testHandler = new Handler(null); // Then assertNotNull(testHandler); } @Test @DisplayName("Should extend jcifs.http.Handler") void testInheritance() { // Then assertTrue(handler instanceof jcifs.http.Handler);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
void testDefaultConstructor() { // When Handler testHandler = new Handler(); // Then assertNotNull(testHandler); } @Test @DisplayName("Should extend jcifs.smb1.http.Handler") void testInheritance() { // Then assertTrue(handler instanceof jcifs.smb1.http.Handler);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
buildscripts/multipart-quorum-test.sh
#!/bin/bash if [ -n "$TEST_DEBUG" ]; then set -x fi WORK_DIR="$PWD/.verify-$RANDOM" MINIO_CONFIG_DIR="$WORK_DIR/.minio" MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server) if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi trap 'catch $LINENO' ERR
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 10:51:23 UTC 2024 - 2.9K bytes - Viewed (0)