- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 602 for correctos (0.27 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
assertEquals("Expected structureSize = 4", exception.getMessage()); } @Test @DisplayName("Should correctly calculate bytes read from different starting positions") void testReadBytesWireFormatDifferentStartPositions() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[20];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
import org.jspecify.annotations.Nullable; /** * Abstract base class for tests that EventBus finds the correct subscribers. * * <p>The actual tests are distributed among the other classes in this package based on whether they * are annotated or abstract in the superclass. * * <p>This test must be outside the c.g.c.eventbus package to test correctly. * * @author Louis Wasserman */ abstract class AbstractEventBusTest<H> extends TestCase {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.6K bytes - Viewed (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);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
tests/count_test.go
t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users)) } if err := DB.Model(&User{}).Where("name = ?", user1.Name).Or("name = ?", user3.Name).Count(&count).Find(&users).Error; err != nil { t.Errorf("Count should work, but got err %v", err) } if count != int64(len(users)) { t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users)) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertEquals(1, (int) iter.peek()); assertEquals(1, (int) iter.next()); /* * We test peek() after various calls to make sure that one bad call doesn't interfere with its * ability to throw the correct exception in the future. */ assertThrows(NoSuchElementException.class, iter::peek); assertThrows(NoSuchElementException.class, iter::peek); assertThrows(NoSuchElementException.class, iter::next);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
import org.junit.jupiter.api.Test; /** * Tests for the DfsReferral class. * This class tests the functionality of the DfsReferral class, * ensuring that objects are constructed correctly, appended properly, * and that the toString method returns the expected format. */ class DfsReferralTest { /** * Tests the default constructor of the DfsReferral class.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
class SessionRetargetResponsePacketTest { @Mock private InputStream mockInputStream; @Test void constructorShouldInitializeTypeAndLength() { // Test that the constructor correctly initializes the type and length fields. SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); assertEquals(SessionServicePacket.SESSION_RETARGET_RESPONSE, packet.type);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
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 };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
if (dividend >= 0) { return dividend / divisor; } /* * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is * guaranteed to be either exact or one less than the correct value. This follows from fact that * floor(floor(x)/i) == floor(x/i) for any real x and integer i != 0. The proof is not quite * trivial. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
// Test with implementation testImplementation.setPath(expectedPath); assertEquals(expectedPath, testImplementation.getPath()); } @Test @DisplayName("Test setPath updates path correctly") void testSetPath() { // Test with mock String newPath = "/new/path/file.txt"; doNothing().when(requestWithPath).setPath(newPath); requestWithPath.setPath(newPath);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0)