- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for testAdd (0.05 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
## Testing Best Practices 1. **Isolation**: Each test is independent and doesn't affect others 2. **Clarity**: Test names clearly describe what is being tested 3. **Coverage**: Both success and failure paths are tested 4. **Edge Cases**: Null, empty, and boundary conditions are covered 5. **Resources**: Test resources are properly managed and cleaned up ## Contributing When adding new tests:
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0) -
android/pom.xml
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 03:10:05 UTC 2025 - 26.4K bytes - Viewed (0) -
pom.xml
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 03:10:05 UTC 2025 - 26.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge."; /** Creates and returns an instance of the graph to be tested. */ abstract Graph<Integer> createGraph(); /** * A proxy method that adds the node {@code n} to the graph being tested. In case of Immutable * graph implementations, this method should replace {@link #graph} with a new graph that includes * this node. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java
static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge."; /** Creates and returns an instance of the graph to be tested. */ abstract Graph<Integer> createGraph(); /** * A proxy method that adds the node {@code n} to the graph being tested. In case of Immutable * graph implementations, this method should replace {@link #graph} with a new graph that includes * this node. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Files}. * * <p>Some methods are tested in separate files: * * <ul> * <li>{@link Files#fileTraverser()} is tested in {@link FilesFileTraverserTest}. * <li>{@link Files#createTempDir()} is tested in {@link FilesCreateTempDirTest}. * </ul> * * @author Chris Nokleberg */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Files}. * * <p>Some methods are tested in separate files: * * <ul> * <li>{@link Files#fileTraverser()} is tested in {@link FilesFileTraverserTest}. * <li>{@link Files#createTempDir()} is tested in {@link FilesCreateTempDirTest}. * </ul> * * @author Chris Nokleberg */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long a : TEST_LONGS) { assertThrows( ArithmeticException.class, () -> UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO)); } } public void testMod() { for (long a : TEST_LONGS) { for (long b : TEST_LONGS) { if (b != 0) { UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
/* * We'll give ourselves a pass on testing all the possible ways of breaking the constraint, * because we know that newClassMap() is implemented using ConstrainedMap which is itself * well-tested. A purist would object to this, but what can I say, we're dirty cheaters. */ map.put(Integer.class, new Integer(5)); assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
import okhttp3.internal.http.RealInterceptorChain import okhttp3.internal.http.RecordingProxySelector import okhttp3.tls.HandshakeCertificates import okhttp3.tls.internal.TlsUtil.localhost /** * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes * it easy to get sample values to use in such tests. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 6.7K bytes - Viewed (0)