- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,360 for assertEquals (0.08 sec)
-
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
assertNotNull(req.txn_buf, "Request buffer should be allocated"); assertNotNull(rsp.txn_buf, "Response buffer should be allocated"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, req.txn_buf.length, "Request buffer should have correct size"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, rsp.txn_buf.length, "Response buffer should have correct size"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
} public void testStringConverter_convert() { Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); assertEquals(TestEnum.CHEETO, converter.convert("CHEETO")); assertEquals(TestEnum.HONDA, converter.convert("HONDA")); assertEquals(TestEnum.POODLE, converter.convert("POODLE")); assertThat(converter.convert(null)).isNull(); assertThat(converter.reverse().convert(null)).isNull();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
// Assert: type, message derived from code, status mapping, and no cause assertNotNull(ex); assertTrue(ex instanceof SmbException); assertEquals(SmbException.getMessageByCode(errCode), ex.getMessage(), "message should reflect error code mapping"); assertEquals(expectedStatus, ex.getNtStatus(), "status should map based on code"); assertNull(ex.getCause(), "cause must be null for int constructor");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
RdmaMemoryRegion region = provider.registerMemory(buffer, access); assertNotNull(region, "Memory region should not be null"); assertEquals(buffer, region.getBuffer(), "Buffer should match"); assertEquals(1024, region.getSize(), "Size should match buffer size"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertEquals(0, SMBUtil.readInt4(buffer, headerStart + 32)); // Channel assertEquals(500, SMBUtil.readInt4(buffer, headerStart + 36)); // Remaining bytes assertEquals(0, SMBUtil.readInt2(buffer, headerStart + 40)); // WriteChannelInfoOffset assertEquals(0, SMBUtil.readInt2(buffer, headerStart + 42)); // WriteChannelInfoLength
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
// Verify encoded length assertEquals(request.size(), encodedLength); // Verify data at correct offset assertEquals(DEFAULT_CAPABILITIES, SMBUtil.readInt4(buffer, offset)); assertEquals(DEFAULT_SECURITY_MODE, SMBUtil.readInt2(buffer, offset + 20)); assertEquals(defaultDialects.length, SMBUtil.readInt2(buffer, offset + 22)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(rootCause, exception.getCause()); // Test with null message and valid cause TransportException nullMessageException = new TransportException(null, rootCause); assertNull(nullMessageException.getMessage()); assertEquals(rootCause, nullMessageException.getCause());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java
CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("ใในใ")); assertEquals("Writer", extractData.getValues("Creator")[0]); assertEquals("OpenOffice.org 3.0", extractData.getValues("Producer")[0]); assertEquals("D:20090627222631+09'00'", extractData.getValues("CreationDate")[0]); } public void test_getText_pass() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
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/pac/PacSidAttributesTest.java
*/ @Test void testConstructor() { // Verify that the id and attributes are correctly set by the constructor assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor."); assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor."); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0)