- Sort Score
- Num 10 results
- Language All
Results 1551 - 1560 of 1,693 for assertEquals (0.07 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
// Test getting text from existing elements assertEquals("4.0.0", root.childText("modelVersion"), "Should get modelVersion text"); assertEquals("test", root.childText("groupId"), "Should get groupId text"); assertEquals("Test Project", root.childText("name"), "Should get name text"); assertEquals("", root.childText("description"), "Should get empty description text");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 31.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
import org.apache.maven.api.cli.ParserRequest; import org.apache.maven.jline.JLineMessageBuilderFactory; import org.codehaus.plexus.classworlds.ClassWorld; import static org.junit.jupiter.api.Assertions.assertEquals; public abstract class MavenInvokerTestSupport { static { System.setProperty( "library.jline.path",Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
Map<String, Integer> map = ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); SerializableTester.reserializeAndAssert(map.entrySet()); SerializableTester.reserializeAndAssert(map.keySet()); assertEquals( new ArrayList<>(map.values()), new ArrayList<>(SerializableTester.reserialize(map.values()))); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
Map<String, Integer> map = ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); SerializableTester.reserializeAndAssert(map.entrySet()); SerializableTester.reserializeAndAssert(map.keySet()); assertEquals( new ArrayList<>(map.values()), new ArrayList<>(SerializableTester.reserialize(map.values()))); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
Field field = DataIndexHelper.class.getDeclaredField("crawlingExecutionInterval"); field.setAccessible(true); long actualInterval = (Long) field.get(dataIndexHelper); assertEquals(interval, actualInterval); } catch (Exception e) { fail("Failed to verify crawlingExecutionInterval: " + e.getMessage()); } } @Test
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) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* limitations under the License. */ package com.google.common.testing; import static com.google.common.base.Preconditions.checkNotNull; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertTrue; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Equivalence; import com.google.common.collect.Iterables;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
byte[] buf = new byte[] {'y', 'a', 'm', 's'}; HashCode expectedHash = sha512().hashBytes(buf); HashingOutputStream out = new HashingOutputStream(sha512(), buffer); out.write(buf); assertEquals(expectedHash, out.hash()); } public void testChecksForNull() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
assertWithMessage(rootLocaleFormat("%s must have a @Retention annotation.", annotationClass)) .that(retentionPolicy) .isNotNull(); assertEquals( rootLocaleFormat("%s must have RUNTIME RetentionPolicy.", annotationClass), RetentionPolicy.RUNTIME, retentionPolicy.value());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* SomeClass.logger.removeHandler(handler); * } * }); * } * * public void test() { * SomeClass.foo(); * LogRecord firstRecord = handler.getStoredLogRecords().get(0); * assertEquals("some message", firstRecord.getMessage()); * } * </pre> * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarked public class TestLogHandler extends Handler {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
String result = suggestJob.execute(); assertNotNull(result); assertTrue(result.contains("Session Id:")); assertNotNull(suggestJob.sessionId); assertEquals(15, suggestJob.sessionId.length()); // Cache clearing may not always occur in test environment // The real behavior depends on the actual SuggestJob implementation }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 31.6K bytes - Click Count (0)