- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 3,152 for Then (0.02 seconds)
-
src/test/java/jcifs/CredentialsTest.java
// Given when(mockCredentials.isAnonymous()).thenReturn(true); // When boolean isAnonymous = mockCredentials.isAnonymous(); // Then assertTrue(isAnonymous); verify(mockCredentials).isAnonymous(); } @Test @DisplayName("Should check for guest credentials") void testIsGuest() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/assemblies/files/fess
if [ -r "$include" ]; then . "$include" break fi done # ...otherwise, source the specified include. elif [ -r "$FESS_INCLUDE" ]; then . "$FESS_INCLUDE" fi if [ -x "$JAVA_HOME/bin/java" ]; then JAVA="$JAVA_HOME/bin/java" else JAVA=`which java` fi if [ ! -x "$JAVA" ]; then
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 15 06:32:15 GMT 2023 - 5.4K bytes - Click Count (0) -
docs/en/docs/tutorial/middleware.md
* It takes each **request** that comes to your application. * It can then do something to that **request** or run any needed code. * Then it passes the **request** to be processed by the rest of the application (by some *path operation*). * It then takes the **response** generated by the application (by some *path operation*). * It can do something to that **response** or run any needed code. * Then it returns the **response**. /// note | Technical Details
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
void testSmbExceptionWithNTStatus() { // Given int ntStatus = NtStatus.NT_STATUS_ACCESS_DENIED; // When SmbException exception = new SmbException(ntStatus, false); // Then assertNotNull(exception); assertEquals(ntStatus, exception.getNtStatus()); assertTrue(exception.getMessage().contains("Access is denied")); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
new SecureRandom().nextBytes(signature); // When transformHeader.setSignature(signature); // Then assertArrayEquals(signature, transformHeader.getSignature()); } @Test @DisplayName("Should set and get nonce") void testNonce() { // When transformHeader.setNonce(testNonce); // Then assertArrayEquals(testNonce, transformHeader.getNonce());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
// When & Then - the implementation throws ArrayIndexOutOfBoundsException when buffer bounds are exceeded assertThrows(ArrayIndexOutOfBoundsException.class, () -> { Strings.findUNITermination(bufferWithoutTermination, 0, bufferWithoutTermination.length); }, "Should throw ArrayIndexOutOfBoundsException when termination not found within bounds"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
docs/distributed/iam-import-with-missing-entities.sh
#!/bin/bash if [ -n "$TEST_DEBUG" ]; then set -x fi pkill minio docker rm -f $(docker ps -aq) rm -rf /tmp/ldap{1..4} rm -rf /tmp/ldap1{1..4} if [ ! -f ./mc ]; then wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc && chmod +x mc fi mc -v # Start LDAP server echo "Copying docs/distributed/samples/bootstrap-complete.ldif => minio-iam-testing/ldap/50-bootstrap.ldif"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 11 15:01:29 GMT 2024 - 4.5K bytes - Click Count (1) -
src/test/java/jcifs/EmptyIteratorTest.java
void testNextReturnsNull() { // When SmbResource result = emptyIterator.next(); // Then assertNull(result, "next() should return null for empty iterator"); } @Test @DisplayName("next should not throw NoSuchElementException") void testNextDoesNotThrowException() { // When & Then assertDoesNotThrow(() -> { emptyIterator.next();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
docs/bucket/replication/setup_ilm_expiry_replication.sh
if [ "${nprefix}" != "newprefix" ]; then echo "BUG: ILM expiry rules prefix not replicated to 'siteb'" exit 1 fi if [ "${ntagName1}" != "ntag1" ] || [ "${ntagVal1}" != "nval1" ] || [ "${ntagName2}" != "ntag2" ] || [ "${ntagVal2}" != "nval2" ]; then echo "BUG: ILM expiry rules tags not replicated to 'siteb'" exit 1 fi if [ "${st}" != "Disabled" ]; then echo "BUG: ILM expiry rules status not replicated to 'siteb'"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 09:42:21 GMT 2024 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
buffer.putInt(512); // Bytes per sector byte[] bufferArray = buffer.array(); // When int bytesConsumed = fileFsSizeInfo.decode(bufferArray, 0, bufferArray.length); // Then assertEquals(24, bytesConsumed); assertEquals(1048576L * 8 * 512, fileFsSizeInfo.getCapacity());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0)