- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 775 for clauses (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
public boolean isExpectedType(Throwable cause) { return cause instanceof NullPointerException || cause instanceof IllegalArgumentException || cause instanceof UnsupportedOperationException; } }; abstract boolean isExpectedType(Throwable cause); } private static boolean annotatedTypeExists() { try { Class.forName("java.lang.reflect.AnnotatedType");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
android/pom.xml
<exclude>/module-info.class</exclude> <!-- Avoid duplicating compiled classes within the `META-INF/versions/9/` root. --> <exclude>META-INF/versions/9/com/**/*.class</exclude> </excludes> <archive> <manifestEntries>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 17 19:12:41 GMT 2026 - 26.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(ClassPath.getClassName("abc/d/Abc.class")).isEqualTo("abc.d.Abc"); } public void testResourceInfo_of() { assertThat(resourceInfo(ClassPathTest.class)).isInstanceOf(ClassInfo.class); assertThat(resourceInfo(ClassPath.class)).isInstanceOf(ClassInfo.class); assertThat(resourceInfo(Nested.class)).isInstanceOf(ClassInfo.class); } public void testGetSimpleName() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
/** * Get the full set of requirements for a tester class. * * @param testerClass a tester class * @return all the constraints implicitly or explicitly required by the class or any of its * superclasses. * @throws ConflictingRequirementsException if the requirements are mutually inconsistent. */ public static TesterRequirements getTesterRequirements(Class<?> testerClass)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 12.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
} public void testPrimitiveSubscribeFails() { class SubscribesToPrimitive { @Subscribe public void toInt(int i) {} } assertThrows(IllegalArgumentException.class, () -> bus.register(new SubscribesToPrimitive())); } /** Records thrown exception information. */ private static final class RecordingSubscriberExceptionHandler implements SubscriberExceptionHandler {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
} public void testPrimitiveSubscribeFails() { class SubscribesToPrimitive { @Subscribe public void toInt(int i) {} } assertThrows(IllegalArgumentException.class, () -> bus.register(new SubscribesToPrimitive())); } /** Records thrown exception information. */ private static final class RecordingSubscriberExceptionHandler implements SubscriberExceptionHandler {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
// Invalid input: constructing with null handle and invoking watch() NPEs @Test @DisplayName("Null handle causes NPE on watch() (invalid input)") void constructor_nullHandle_watch_throwsNPE() { SmbWatchHandleImpl sut = new SmbWatchHandleImpl(null, 0, false); assertThrows(NullPointerException.class, () -> { sut.watch(); }); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceException.java
} /** * Creates a resource exception with cause * * @param message the error message * @param errorCode the SMB error code * @param resourceType the type of resource * @param cause the cause exception */ public SmbResourceException(String message, int errorCode, ResourceType resourceType, Throwable cause) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
// Test constructor with message and Exception cause String message = "SSO token validation error"; Exception cause = new RuntimeException("Invalid token format"); SsoProcessException exception = new SsoProcessException(message, cause); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
// Act + Assert PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(seq, null)); assertTrue(ex.getMessage().contains("Invalid kerberos request")); } @Test @DisplayName("seq ctor: unknown field tag causes failure") void sequenceConstructor_unknownField_throws() { // Arrange: only an unexpected tag is presentCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0)