- Sort Score
- Num 10 results
- Language All
Results 821 - 830 of 1,693 for assertEquals (0.15 seconds)
-
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java
return null; // Not used for this test. } @Test void testDirectory() { assertEquals(Path.of("src", "main", "java"), directory()); scope = ProjectScope.TEST; assertEquals(Path.of("src", "test", "java"), directory()); moduleName = "org.foo"; assertEquals(Path.of("src", "org.foo", "test", "java"), directory()); } @Test void testTargetPath() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Oct 26 17:22:14 GMT 2025 - 2.9K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
assertNull(creds.unwrap(NtlmPasswordAuthenticator.class), "unwrap to unrelated type returns null"); // domain and flags are surfaced as given assertEquals("DOMAIN", creds.getUserDomain()); assertEquals(anonymous, creds.isAnonymous()); assertEquals(guest, creds.isGuest()); } @Test @DisplayName("unwrap throws on null type") void unwrap_null_type_throws() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
// Then assertEquals(1, existsExceptions.length, "exists() should declare CIFSException"); assertEquals(CIFSException.class, existsExceptions[0], "Should declare CIFSException"); assertEquals(1, getTypeExceptions.length, "getType() should declare CIFSException"); assertEquals(CIFSException.class, getTypeExceptions[0], "Should declare CIFSException");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
package jcifs.smb1.smb1; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
// Values should be the same assertEquals("Test Fess", value1); assertEquals(value1, value2); } // Test property that should be consistent @Test public void test_get_propertyFilter() { // Test a regular property that passes through String value = fessConfig.get("domain.title"); assertEquals("Test Fess", value); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
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")
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 18.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Verify assertEquals(Integer.MAX_VALUE, fileBothDirectoryInfo.getNextEntryOffset()); assertEquals(Integer.MAX_VALUE, fileBothDirectoryInfo.getFileIndex()); assertEquals(maxTime, fileBothDirectoryInfo.createTime()); assertEquals(maxTime, fileBothDirectoryInfo.lastAccess()); assertEquals(maxTime, fileBothDirectoryInfo.lastModified());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (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."); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemMergerTest.java
SuggestItem merged = SuggestItemMerger.merge(item1, item2); assertNotNull(merged); assertEquals(30L, merged.getDocFreq()); // 10 + 20 assertEquals(20L, merged.getQueryFreq()); // 5 + 15 assertEquals(2.0f, merged.getUserBoost(), 0.001f); // max(1.0, 2.0) } @Test public void testMerge_tags() {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 6K bytes - Click Count (0)