- Sort Score
- Num 10 results
- Language All
Results 821 - 830 of 3,107 for execution (0.07 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
assertEquals(Service.State.FAILED, service.state()); } public void testFunctionalStop_failed() { Exception exception = new Exception("deliberate"); AbstractIdleService service = new DefaultService() { @Override protected void shutDown() throws Exception { throw exception; } }; service.startAsync().awaitRunning();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
@NullUnmarked public class SingleThreadAbstractFutureBenchmark { @Param Impl impl; private final Exception exception = new Exception(); private Facade<?> notDoneFuture; @BeforeExperiment void setUp() throws Exception { notDoneFuture = impl.newFacade(); } @Benchmark public long timeComplete_Normal(int reps) throws Exception { long r = 0; List<Facade<Integer>> list = new ArrayList<>(reps);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
} @Test public void testReleaseSendRegion() throws Exception { RdmaMemoryRegion region = bufferManager.getSendRegion(1024); assertNotNull(region); // Release should not throw exception assertDoesNotThrow(() -> bufferManager.releaseSendRegion(region)); } @Test public void testGetReceiveRegion() throws Exception { RdmaMemoryRegion region = bufferManager.getReceiveRegion();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
void testNullConfigurationThrowsException() throws Exception { // Given Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class); constructor.setAccessible(true); // When & Then InvocationTargetException exception = assertThrows(InvocationTargetException.class, () -> constructor.newInstance(null, 1));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
der.close(); } return collector.toByteArray(); } @Test @DisplayName("Round-trip: all fields set encodes and parses back correctly") void testRoundTripAllFields() throws Exception { ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB, OID_NTLM }; int flags = NegTokenInit.DELEGATION | NegTokenInit.MUTUAL_AUTHENTICATION | NegTokenInit.INTEGRITY;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
/** * @throws Exception */ @Test public void testFileToFile() throws Exception { final byte[] bytes = readBytes(inputFile); assertThat(bytes, is("あいうえお".getBytes("UTF-8"))); } /** * @throws Exception */ @Test public void testReadUTF8() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
} @Test @DisplayName("Test decode throws exception with zero length") void testDecodeThrowsExceptionWithZeroLength() { byte[] buffer = new byte[28]; SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 0), "Should throw exception when length is 0");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
exception = t; } else { exception.addSuppressed(t); } } } } if (exception != null) { throwIfUnchecked(exception); throw new RuntimeException("failure during tearDown", exception); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
exception = t; } else { exception.addSuppressed(t); } } } } if (exception != null) { throwIfUnchecked(exception); throw new RuntimeException("failure during tearDown", exception); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java
return severity; } public Version getVersion() { return version; } public Exception getException() { return exception; } public ModelProblemCollectorRequest setException(Exception exception) { this.exception = exception; return this; } public String getMessage() { return message; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.5K bytes - Click Count (0)