- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,303 for clauses (0.04 sec)
-
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass())); } /** Test class for testing formatting of inner classes. */ private static class TestClass {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
} public void test_constructor_withCause() { // Test with cause only Exception cause = new IllegalStateException("Underlying error"); DataStoreException exception = new DataStoreException(cause); assertNotNull(exception); assertEquals(cause, exception.getCause()); assertEquals("java.lang.IllegalStateException: Underlying error", exception.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReference.java
* * @see FinalizableReferenceQueue * @author Bob Lee * @since 2.0 */ @DoNotMock("Use an instance of one of the Finalizable*Reference classes") @J2ktIncompatible @GwtIncompatible public interface FinalizableReference { /** * Invoked on a background thread after the referent has been garbage collected unless security
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
UnsupportedOperationException ex = assertThrows(UnsupportedOperationException.class, it::remove); assertEquals("remove", ex.getMessage()); } @Nested @DisplayName("Invalid constructor inputs") class InvalidInputs { @Test @DisplayName("Null delegate causes NullPointerException during construction") void nullDelegate_throwsNPE() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java
import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.Set; /** * Optional features of classes derived from {@code Multimap}. * * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultimapFeature implements Feature<Multimap> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
* someone still manages to pass null, let's continue to have the method work. * * (PatternFilenameFilter is of course one of those classes that shouldn't be a publicly visible * class to begin with but rather something returned from a static factory method whose declared * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-gwt/src/com/google/common/annotations/Annotations.gwt.xml
tests, either. This causes it to fail to find AtomicLongMapTest. Our workaround is to tell GWT that util.concurrent and all other packages have prod supersource, even if they have none. GWT is happy to ignore us when we specify a nonexistent path. (I hope that this workaround does not cause its own problems in the future.) --> <super-source path="super"/>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 1.4K bytes - Viewed (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
/** * A future that, if it fails, may <i>optionally</i> provide access to the cause of the failure. * * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from * this optimization, so there is no need to specialize methods to return or accept this type * instead of {@code ListenableFuture}. * * <p>This class is GWT-compatible. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
class HappyPath { @Test void acceptWithMockedFile() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/file.txt"); assertTrue(ALWAYSACTIVE.accept(mockFile)); } } @Nested @DisplayName("Invalid input – null file handling") class InvalidPath { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
guava-gwt/src/com/google/common/math/Math.gwt.xml
tests, either. This causes it to fail to find AtomicLongMapTest. Our workaround is to tell GWT that util.concurrent and all other packages have prod supersource, even if they have none. GWT is happy to ignore us when we specify a nonexistent path. (I hope that this workaround does not cause its own problems in the future.) --> <super-source path="super"/>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 1.5K bytes - Viewed (0)