- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,296 for Then (0.02 sec)
-
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"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object. Then we can test that it is used. ## Reading a `.env` file { #reading-a-env-file } If you have many settings that possibly change a lot, maybe in different environments, it might be useful to put them on a file and then read them from it as if they were environment variables.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvn
# ----------------------------------------------------------------------------- if [ -z "$MAVEN_SKIP_RC" ] ; then if [ -f /usr/local/etc/mavenrc ] ; then . /usr/local/etc/mavenrc fi if [ -f /etc/mavenrc ] ; then . /etc/mavenrc fi if [ -f "$HOME/.mavenrc" ] ; then . "$HOME/.mavenrc" fi fi # OS specific support. $var _must_ be set to either true or false. cygwin=false;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 24 09:49:07 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
when(mockNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 0, (int) (short) 0); when(mockNdrBuffer.dec_ndr_long()).thenReturn(0); // Null referent pointer // When: Decoding the unicode string unicodeString.decode(mockNdrBuffer); // Then: Verify the decoding sequence and values verify(mockNdrBuffer).align(4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java
* If the given {@code paths} argument contains no element, then this method returns an empty string. * * <h4>Examples</h4> * If {@code paths} is a list containing two elements, {@code dir/path1} and {@code dir/path2}, then: * * <ul> * <li>If this type is {@link JavaPathType#MODULES}, then this method returns * {@code {"--module-path", "dir/path1:dir/path2"}} on Unix or
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Jan 07 12:02:00 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have correct size"); buffers.add(buffer); } // When - Release all buffers back for (byte[] buffer : buffers) { BufferCache.releaseBuffer(buffer); } // Then - Should be able to get buffers again
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (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());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// When/Then: Should throw DcerpcException for invalid URLs assertThrows(DcerpcException.class, () -> DcerpcHandle.parseBinding(url)); } @Test @DisplayName("Should handle binding URLs without endpoints correctly") void testParseBindingWithoutEndpoint() { // When/Then: URLs without proper endpoints should fail
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
tests/tests_all.sh
dialects=("sqlite" "mysql" "postgres" "gaussdb" "sqlserver" "tidb") if [[ $(pwd) == *"gorm/tests"* ]]; then cd .. fi if [ -d tests ] then cd tests go get -u -t ./... go mod download go mod tidy cd .. fi # SqlServer for Mac M1 if [[ -z $GITHUB_ACTION && -d tests ]]; then cd tests if [[ $(uname -a) == *" arm64" ]]; then MSSQL_IMAGE=mcr.microsoft.com/azure-sql-edge docker compose up -d --wait
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 1.6K bytes - Viewed (0) -
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();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)