- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 1,100 for correctly (0.07 seconds)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
// Mock configuration setup when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructor() { netShareEnum = new NetShareEnum(realConfig); assertNotNull(netShareEnum); assertEquals("\\PIPE\\LANMAN", getFieldValue(netShareEnum, "name"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
* directly. Since the byte‑encoding logic is located in the superclass, the * tests verify that the byte buffer created by {@link * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly built * for both Unicode and OEM encodings. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbComQueryInformationTest { @Mock Configuration mockConfig;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/mvn
JAVACMD="$JAVA_HOME/jre/sh/java" else JAVACMD="$JAVA_HOME/bin/java" if [ ! -x "$JAVACMD" ] ; then echo "The JAVA_HOME environment variable is not defined correctly, so Apache Maven cannot be started." >&2 echo "JAVA_HOME is set to \"$JAVA_HOME\", but \"\$JAVA_HOME/bin/java\" does not exist." >&2 exit 1 fi fi elseCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
// Verify delegate.next() was only called once verify(mockDelegate, times(1)).next(); } /** * Test constructor initializes correctly. */ @Test void testConstructorInitialization() { // Given when(mockDelegate.hasNext()).thenReturn(false); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import junit.framework.TestCase; /** * Since annotations have some reusability issues that force copy and paste all over the place, it's * worth having a test to ensure that all our Feature enums have their annotations correctly set up. * * @author George van den Driessche */ public class FeatureEnumTest extends TestCase { private static void assertGoodTesterAnnotation(Class<? extends Annotation> annotationClass) { assertWithMessage(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java
} private void throwNotConfiguredCorrectlyException() { throw new IllegalArgumentException("Audit of third party dependencies is not configured correctly"); } private void extractJars(Set<File> jars) { File jarExpandDir = getJarExpandDir(); // We need to clean up to make sure old dependencies don't lingerCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 17 08:59:22 GMT 2021 - 16.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import junit.framework.TestCase; /** * Since annotations have some reusability issues that force copy and paste all over the place, it's * worth having a test to ensure that all our Feature enums have their annotations correctly set up. * * @author George van den Driessche */ public class FeatureEnumTest extends TestCase { private static void assertGoodTesterAnnotation(Class<? extends Annotation> annotationClass) { assertWithMessage(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("FFFE80", Hexdump.toHexString(data2, 0, 6)); // 6 chars = 3 bytes assertEquals("FFFE807F", Hexdump.toHexString(data2, 0, 8)); // 8 chars = 4 bytes // Test odd size (should handle correctly) byte[] data3 = { 0x0A, 0x0B, 0x0C }; assertEquals("0", Hexdump.toHexString(data3, 0, 1)); // 1 char = 0.5 bytes (rounds up to 1) assertEquals("0A", Hexdump.toHexString(data3, 0, 2)); // 2 chars = 1 byte
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
config = new PropertyConfiguration(props); response = new Trans2SetFileInformationResponse(config); } @Test @DisplayName("Test constructor initializes object correctly") void testConstructor() { // Test that the constructor properly initializes the object assertNotNull(response); // The command is not set in the constructor, defaults to 0
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/EncodableTest.java
for (int i = 0; i < n; i++) { a[i] = (byte) i; } return a; } @ParameterizedTest @MethodSource("byteEncodableArgs") @DisplayName("encode() copies bytes correctly and returns size") void encodeCopiesAndReportsSize(byte[] src, int off, int len, int dstIndex) { Encodable enc = new ByteEncodable(src, off, len);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0)