- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 1,100 for correctly (0.06 seconds)
-
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import org.junit.jupiter.api.Test; class AvChannelBindingsTest { /** * Test that the constructor correctly initializes with a valid channel binding hash. */ @Test void testConstructorWithValidHash() { byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
assertEquals(0, sis.skip(skipBytes)); // All data should still be available assertEquals(10, sis.read()); } @Test @DisplayName("Skip correctly advances position in stream") void skipAdvancesPosition() throws IOException { // Create message with 5 bytes of data byte[] data = new byte[] { 10, 20, 30, 40, 50 };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
} @Test @DisplayName("getUNIBytes should handle Unicode characters correctly") void testGetUNIBytesWithUnicode() { // When byte[] result = Strings.getUNIBytes(UNICODE_STRING); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java
String expected = "unknown error class: 1234"; assertEquals(expected, NbtException.getErrorString(unknownClass, 0)); } @Test @DisplayName("Constructor sets fields and message correctly") void testConstructor() { NbtException e = new NbtException(NbtException.ERR_SSN_SRVC, NbtException.CONNECTION_REFUSED); assertEquals(NbtException.ERR_SSN_SRVC, e.errorClass);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLong.java
return value; } /** * Returns the value of this {@code UnsignedLong} as a {@code float}, analogous to a widening * primitive conversion from {@code long} to {@code float}, and correctly rounded. */ @Override public float floatValue() { if (value >= 0) { return (float) value; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
Properties props = new Properties(); config = new PropertyConfiguration(props); } @Test void testConstructor() { // Test constructor initializes all fields correctly trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL); assertNotNull(trans2QueryPathInfo);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
public void testSubmit() throws Exception { /* * Mostly just tests that TrustedListenableFutureTask are created and run; tests for * TrustedListenableFutureTask should ensure that listeners are called correctly. */ TestListeningExecutorService e = new TestListeningExecutorService(); TestRunnable runnable = new TestRunnable(); ListenableFuture<?> runnableFuture = e.submit(runnable);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
public void testSubmit() throws Exception { /* * Mostly just tests that TrustedListenableFutureTask are created and run; tests for * TrustedListenableFutureTask should ensure that listeners are called correctly. */ TestListeningExecutorService e = new TestListeningExecutorService(); TestRunnable runnable = new TestRunnable(); ListenableFuture<?> runnableFuture = e.submit(runnable);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
// Then assertNotNull(cancel); assertEquals(testMid, cancel.getMid()); // Verify command is set correctly Field commandField = ServerMessageBlock.class.getDeclaredField("command"); commandField.setAccessible(true); assertEquals(SMB_COM_NT_CANCEL, commandField.getByte(cancel)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java
assertFalse(queryFieldConfig.isFacetField("category")); // Blank check happens before Set lookup assertFalse(queryFieldConfig.isFacetField("")); } /** * Test that isSortField correctly handles null sortFieldSet. */ @Test public void test_isSortField_withNullSet_returnsFalse() { queryFieldConfig.sortFieldSet = null;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.4K bytes - Click Count (0)