- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 330 for corretto (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level."); assertTrue(result.contains("filename=test.txt"), "String should contain the correct filename."); assertTrue(result.endsWith("]"), "String should end with a closing bracket."); }
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/internal/smb1/trans/nt/SmbComNtTransactionTest.java
assertTrue(bytesWritten > 0); // Verify data is written at correct offset assertEquals(3, dst[startOffset]); // Verify total parameter count at correct offset assertEquals(500, SMBUtil.readInt4(dst, startOffset + 3)); // Verify total data count at correct offset assertEquals(1000, SMBUtil.readInt4(dst, startOffset + 7)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
@ParameterizedTest @ValueSource(strings = { "NONE", "NO_TIMEOUT", "NO_RETRY", "RETAIN_PAYLOAD" }) @DisplayName("valueOf(name) returns the correct enum and toString matches name") void valueOfResolvesNamesAndToString(String name) { RequestParam rp = RequestParam.valueOf(name); assertNotNull(rp);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
assertEquals("correct", f.apply(new Object())); assertEquals("correct", f.apply(null)); Function<@Nullable Object, @Nullable String> g = Functions.constant(null); assertEquals(null, g.apply(2)); assertEquals(null, g.apply(null)); new EqualsTester() .addEqualityGroup(f, Functions.constant("correct"))
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
assertNotNull(DialectVersion.SMB300); assertNotNull(DialectVersion.SMB302); assertNotNull(DialectVersion.SMB311); } @Test @DisplayName("Should have correct version ordering") void testVersionOrdering() { // SMB versions should be ordered chronologically assertTrue(DialectVersion.SMB1.compareTo(DialectVersion.SMB202) < 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
// Test with various messages String message = "Test error message"; TransportException exception = new TransportException(message); // Verify the exception has the correct message assertNotNull(exception); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); // Test with empty stringRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
private static final int TEST_FID = 0x1234; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() { // Act transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID); // Assert assertNotNull(transPeekNamedPipe);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
@ExtendWith(MockitoExtension.class) class Smb2TreeDisconnectRequestTest { private static final short SMB2_TREE_DISCONNECT = 0x0004; @Test @DisplayName("Should create request with correct command type") void testConstructorSetsCorrectCommand() throws Exception { // Given Configuration mockConfig = mock(Configuration.class); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertEquals(16, result); verify(request, times(1)).encode(buffer, 0); } @Test @DisplayName("size() method should return correct size") void testSizeMethod() { CreateContextRequest request = mock(CreateContextRequest.class); when(request.size()).thenReturn(64); int size = request.size();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
assertTrue(nbtAddress.isPermanent(mockContext)); assertArrayEquals(testMacAddress, nbtAddress.getMacAddress(mockContext)); } @Test void testUnwrap() { // Test unwrap method for correct type casting mockName = new Name(mockConfig, "TEST", 0x20, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0)