- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 1,360 for assertEquals (0.88 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
context.put("project.baseUri", "myBaseUri"); } protected void assertProblemFree(SimpleProblemCollector collector) { assertEquals(0, collector.getErrors().size(), "Expected no errors"); assertEquals(0, collector.getWarnings().size(), "Expected no warnings"); assertEquals(0, collector.getFatals().size(), "Expected no fatals"); } @SuppressWarnings("SameParameterValue")
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
void testPathNormalization() { assertEquals("\\server\\share\\file.txt", InputValidator.normalizeSmbPath("/server/share/file.txt")); assertEquals("\\server\\share\\file.txt", InputValidator.normalizeSmbPath("\\server\\\\share\\\\file.txt")); assertEquals("\\server\\share", InputValidator.normalizeSmbPath("\\server\\share\\")); assertEquals("\\", InputValidator.normalizeSmbPath("\\")); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/UrlConvertHelperTest.java
url = "http://hoge.com/http/fuga.html"; assertEquals("http://hoge.com/http/fuga.html", urlConvertHelper.convert(url)); url = "tp://hoge.com/http/fuga.html"; assertEquals("tp://hoge.com/http/fuga.html", urlConvertHelper.convert(url)); urlConvertHelper.add("^tp:", "http:"); url = "http://hoge.com/http/fuga.html"; assertEquals("http://hoge.com/http/fuga.html", urlConvertHelper.convert(url));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
// When int bytesWritten = smbComClose.writeParameterWordsWireFormat(dst, 0); // Then assertEquals(6, bytesWritten); assertEquals(fid, SMBUtil.readInt2(dst, 0)); // lastWriteTime is not written if digest is null, so the remaining bytes should be zero assertEquals(0, SMBUtil.readInt4(dst, 2)); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
void testConstructorWithZeroCode() { SmbException ex = new SmbException(0, false); assertEquals("NT_STATUS_SUCCESS", ex.getMessage()); assertEquals(0, ex.getNtStatus()); assertNull(ex.getRootCause(), "root cause should be null for this ctor"); assertEquals("jcifs.smb1.smb1.SmbException: NT_STATUS_SUCCESS", ex.toString()); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
ByteSource joined = ByteSource.concat(source, source); assertEquals(20, joined.size()); InputStream in = joined.openStream(); assertFalse(in.markSupported()); assertEquals(10, in.available()); int total = 0; while (in.read() != -1) { total++; } assertEquals(0, in.available()); assertEquals(20, total); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertEquals(0, result); } @Test @DisplayName("Should handle different buffer positions") void testWriteBytesWireFormatDifferentPositions() { byte[] buffer = new byte[1024]; assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 0)); assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 100));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java
} @Test void jenkins() throws Exception { assertEquals(JenkinsCIDetector.NAME + ";", runner(Map.of("CI", "true", "WORKSPACE", "foobar"))); } @Test void circleci() throws Exception { assertEquals(CircleCIDetector.NAME + ";", runner(Map.of("CIRCLECI", "true"))); } @Test void teamcity() throws Exception {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Apr 13 18:50:07 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertFalse(Arrays.equals(nonce1, nonce3), "Nonces should be different"); // Nonces should have proper size assertEquals(16, nonce1.length, "GCM nonce should be 16 bytes"); assertEquals(16, nonce2.length, "GCM nonce should be 16 bytes"); assertEquals(16, nonce3.length, "GCM nonce should be 16 bytes"); // For GCM, last 4 bytes should contain incrementing counter
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
assertNull(source.getPath()); assertEquals(path.toString(), source.getLocation()); assertEquals(modelId, source.getModelId()); } @Test void testPathSourceFunctionality() { // Test basic source functionality Path path = Paths.get("/tmp"); Sources.PathSource source = (Sources.PathSource) Sources.fromPath(path); assertEquals(path.normalize(), source.getPath());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.4K bytes - Viewed (0)