- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 1,812 for SMethod (0.03 sec)
-
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* have, of returning a new, independent iterator * </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
assertEquals("Invalid cron expression format", violation.getMessage()); } // Test annotation on method parameter public void test_annotationOnMethod() throws Exception { Method method = TestService.class.getDeclaredMethod("scheduledTask", String.class); Annotation[][] paramAnnotations = method.getParameterAnnotations(); assertEquals(1, paramAnnotations.length);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
* returns the elements in the order they are returned by the collection's iterator. The returned * array is "safe" in that no references to it are maintained by the collection. The caller is * thus free to modify the returned array. * * <p>This method assumes that the collection size doesn't change while the method is running. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
} public void testConcreteTypeRejected() { assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {}); } public <A, B> void testEquals() throws Exception { Method method = TypeParameterTest.class.getDeclaredMethod("testEquals"); new EqualsTester() .addEqualityGroup(new TypeParameter<A>() {}, new TypeParameter<A>() {}) .addEqualityGroup(new TypeParameter<B>() {})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.9K bytes - Viewed (0) -
tests/connection_test.go
return err } return nil }) if err != nil { t.Errorf(fmt.Sprintf("WithSingleConnection should work, but got err %v", err)) } if actualName != expectedName { t.Errorf("WithSingleConnection() method should get correct value, expect: %v, got %v", expectedName, actualName) } } func getSetSQL(driverName string) (string, string) { switch driverName { case mysql.Dialector{}.Name():
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jan 28 14:16:42 UTC 2022 - 963 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* 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/src/com/google/common/io/TempFileCreator.java
* here, too, so that we don't need to also suppress an AndroidApiChecker error. */ Method currentMethod = processHandleClass.getMethod("current"); Method infoMethod = processHandleClass.getMethod("info"); Method userMethod = processHandleInfoClass.getMethod("user"); Method orElseMethod = optionalClass.getMethod("orElse", Object.class); Object current = currentMethod.invoke(null);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
* * <p><b>Java 11+ users:</b> use {@link Writer#nullWriter()} instead. Note that the {@link * CharStreams} method returns a singleton writer whose {@code close} method has no effect, while * the {@link Writer#nullWriter()} method returns a new instance whose methods throw after the * instance is {@link Writer#close() closed}. * * @since 15.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 30 17:25:01 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
* comparators for the row keys and the column keys, or you may use natural ordering for both. * * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link * Table} interface. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0)