- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 2,317 for method (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
} /** * Returns the {@link Method} instances for the test methods in this class which call {@code * hashCode()} on the set values so that set tests on unhashable objects can suppress it with * {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method[] getHashCodeMethods() { return new Method[] {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
* * @param testerMethod a test method of a tester class * @return all the constraints implicitly or explicitly required by the method, its declaring * class, or any of its superclasses. * @throws ConflictingRequirementsException if the requirements are mutually inconsistent. */ public static TesterRequirements getTesterRequirements(Method testerMethod) throws ConflictingRequirementsException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java
import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author wyukawa * */ public class SUnsupportedOperationExceptionTest { /** * Test method for * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException()} * . */ @Test public void testSUnsupportedOperationException() {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java
import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import java.lang.reflect.Method; import org.junit.Ignore; /** * A generic JUnit test which tests creation (typically through a constructor or static factory * method) of a collection. Can't be invoked directly; please see {@link * com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Chris Povirk
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
Method updateMethod = findMethod(transport.getClass(), "updatePreauthHash", byte[].class); updateMethod.setAccessible(true); byte[] testData = new byte[64]; assertThrows(Exception.class, () -> { updateMethod.invoke(transport, testData); }); // Verify hash was reset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
assertEquals(-1, crawlJob.hotThreadInterval); assertSame(crawlJob, result); } // Test getExecuteType method public void test_getExecuteType() { assertEquals(Constants.EXECUTE_TYPE_CRAWLER, crawlJob.getExecuteType()); } // Test execute method with runAll scenario public void test_execute_runAll() { // Setup test crawlJob = new CrawlJob() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
/** * {@return the project packaging}. * <p> * Note: unlike in legacy code, logical checks against string representing packaging (returned by this method) * are NOT recommended (code like {@code "pom".equals(project.getPackaging)} must be avoided). Use method * {@link #getArtifacts()} to gain access to POM or build artifact. * * @see #getArtifacts() */ @Nonnull Packaging getPackaging();Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Feb 27 11:07:03 UTC 2025 - 10.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* called, in which case entries are sorted by value. * * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method * will throw an exception if there are duplicate keys. The {@code build()} method will soon be * deprecated. * * @throws IllegalArgumentException if duplicate keys were added */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
/** * Tries to perform a "full" garbage collection cycle (including processing of weak references and * invocation of finalize methods) and waits for it to complete. Ensures that at least one weak * reference has been cleared and one {@code finalize} method has been run before this method * returns. This method may be useful when testing the garbage collection mechanism itself, or * inhibiting a spontaneous GC initiation in subsequent code.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
* test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above * testLower, which could make this all unnecessary */ public static Method[] getHoleMethods() { return new Method[] { getMethod(NavigableSetNavigationTester.class, "testLowerHole"), getMethod(NavigableSetNavigationTester.class, "testFloorHole"),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0)