- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,544 for Then (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
// Given String filename = "testFile.txt"; int informationLevel = 0x0100; // SMB_QUERY_FILE_BASIC_INFO // When Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel); // Then assertEquals(filename, trans.path, "The path should be set correctly.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
} @Test @DisplayName("unwrap method should return correct type when supported") void testUnwrapMethodContract() throws Exception { // Given when(mockAddress.unwrap(Address.class)).thenReturn(mockAddress); // When & Then Address unwrapped = mockAddress.unwrap(Address.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// Given when(mockTreeHandle.isSMB2()).thenReturn(true); when(mockTreeHandle.getSendBufferSize()).thenReturn(65536); when(mockFileHandle.isValid()).thenReturn(false, true); when(mockFileHandle.getFileId()).thenReturn(new byte[16]); when(mockFileHandle.acquire()).thenReturn(mockFileHandle);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 10 16:40:06 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// Given int sid = 0x2222; int resumeKey = 0x12345678; String filename = "dir\\pattern*"; // When Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, filename); // Then assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, next.command, "Command must be SMB_COM_TRANSACTION2");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
void testInt16Operations() { // Given short value = 0x1234; byte[] buffer = new byte[2]; // When - encode little endian Encdec.enc_uint16le(value, buffer, 0); short decoded = (short) Encdec.dec_uint16le(buffer, 0); // Then assertEquals(value, decoded); assertEquals(0x34, buffer[0] & 0xFF); assertEquals(0x12, buffer[1] & 0xFF); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
when(configWithCreds.getDefaultUsername()).thenReturn("testuser"); when(configWithCreds.getDefaultPassword()).thenReturn("testpass"); when(configWithCreds.getDefaultDomain()).thenReturn("TESTDOMAIN"); when(configWithCreds.getBufferCacheSize()).thenReturn(16); when(configWithCreds.getMaximumBufferSize()).thenReturn(65536); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
void testEmptyProperties() throws CIFSException { // Given Properties emptyProps = new Properties(); // When PropertyConfiguration emptyConfig = new PropertyConfiguration(emptyProps); // Then assertNotNull(emptyConfig); // Hostname may be null when not provided in properties // This is expected behavior } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
maven-tests/mvnw
if [ -n "${JAVA_HOME-}" ]; then if [ -x "$JAVA_HOME/jre/sh/java" ]; then # IBM's JDK on AIX uses strange locations for the executables JAVACMD="$JAVA_HOME/jre/sh/java" JAVACCMD="$JAVA_HOME/jre/sh/javac" else JAVACMD="$JAVA_HOME/bin/java" JAVACCMD="$JAVA_HOME/bin/javac" if [ ! -x "$JAVACMD" ] || [ ! -x "$JAVACCMD" ]; then
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 25 18:22:49 UTC 2025 - 10.4K bytes - Viewed (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")); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)