- Sort Score
- Num 10 results
- Language All
Results 1521 - 1530 of 3,637 for throwIf (0.18 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 12.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
@Override protected void setUp() throws Exception { super.setUp(); inputFuture = SettableFuture.create(); resultFuture = buildChainingFuture(inputFuture); listener = new MockFutureListener(resultFuture); } public void testFutureGetBeforeCallback() throws Exception { // Verify that get throws a timeout exception before the callback is called.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
public class NullArgumentExceptionTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testErrorMessage_ja() throws Exception { // ## Arrange ##Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSinkTester.java
} @Override protected void setUp() throws Exception { this.sink = factory.createSink(); } public void testOpenStream() throws IOException { Writer writer = sink.openStream(); try { writer.write(data); } finally { writer.close(); } assertContainsExpectedString(); } public void testOpenBufferedStream() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.5K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
public void testBuildTesterRequirements_class_notAnnotated() throws Exception { class Tester {} TesterRequirements requirements = buildTesterRequirements(Tester.class); assertThat(requirements.getPresentFeatures()).isEmpty(); assertThat(requirements.getAbsentFeatures()).isEmpty(); } public void testBuildTesterRequirements_class_empty() throws Exception { @Require class Tester {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
} @Nested @DisplayName("Decoding Tests") class DecodingTests { @Test @DisplayName("Should decode single cipher correctly") void testDecodeSingleCipher() throws SMBProtocolDecodingException { SMBUtil.writeInt2(1, buffer, 0); SMBUtil.writeInt2(EncryptionNegotiateContext.CIPHER_AES128_CCM, buffer, 2);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
import junit.framework.TestCase; import org.junit.Test; /** * @author koichik */ public class ClassLoaderUtilTest { /** * @throws Exception */ @Test public void testGetClassLoader() throws Exception { assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader())));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
@Override public boolean authenticate(HttpServletResponse response) throws IOException, ServletException { return false; } @Override public void login(String username, String password) throws ServletException { } @Override public void logout() throws ServletException { } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
public void test_privateMethodAnnotation() throws NoSuchMethodException { Method method = PrivateMethodClass.class.getDeclaredMethod("privateMethod"); Secured secured = method.getAnnotation(Secured.class); assertNotNull(secured); assertEquals("PRIVATE_ROLE", secured.value()[0]); } @Test public void test_protectedMethodAnnotation() throws NoSuchMethodException {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
return 0; } /** * {@inheritDoc} * * @throws SMBProtocolDecodingException if there is an error decoding the response * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 15.4K bytes - Click Count (0)