- Sort Score
- Num 10 results
- Language All
Results 1841 - 1850 of 3,637 for throwIf (0.05 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
<T> T getFinalValue(ClosingFuture<T> closingFuture) throws ExecutionException { return getUninterruptibly(closingFuture.finishToFuture()); } @Override void assertFinallyFailsWithException(ClosingFuture<?> closingFuture) { assertThatFutureFailsWithException(closingFuture.finishToFuture()); } @Override void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java
import org.junit.Test; /** * @author koichik * */ public class ConstructorDescTest { /** * @throws Exception */ @SuppressWarnings("rawtypes") @Test public void testDefaultConstructor() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final ConstructorDesc ctor = beanDesc.getConstructorDesc();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/ArtifactInstaller.java
* @throws ArtifactInstallationException if an error occurred installing the artifact * @deprecated to be removed before 2.0 after the install/deploy plugins use the alternate * method */ @Deprecated void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository) throws ArtifactInstallationException; /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/AddressTest.java
}, "All Address interface methods should be callable"); } @Test @DisplayName("unwrap method should return correct type when supported") void testUnwrapMethodContract() throws Exception { // Given when(mockAddress.unwrap(Address.class)).thenReturn(mockAddress); // When & Then Address unwrapped = mockAddress.unwrap(Address.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jul 07 11:47:42 GMT 2025 - 7.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
private File getPom(String name) { return new File(Paths.get(BASE_DIR, name + ".xml").toString()).getAbsoluteFile(); } @Test void testCompleteWiring() throws Exception { ModelBuilder builder = new DefaultModelBuilderFactory().newInstance(); assertNotNull(builder); DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
import org.junit.jupiter.api.TestInfo; public class DictionaryManagerTest extends UnitFessTestCase { private File testDir; private File file1; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); testDir = File.createTempFile("synonymtest", "_dir"); testDir.delete(); testDir.mkdirs(); file1 = new File(testDir, "synonym.txt");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
private SmbFile mockFile2; private LeaseManager baseLeaseManager; private DirectoryLeaseManager directoryLeaseManager; private AutoCloseable mocks; @BeforeEach public void setUp() throws Exception { mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config); when(config.isDirectoryNotificationsEnabled()).thenReturn(false);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertEquals(112, size); } @Test @DisplayName("Should calculate size correctly with contexts") void testSizeWithContexts() throws Exception { // Given when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); when(mockConfig.isEncryptionEnabled()).thenReturn(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
public class PingSearchEngineJobTest extends UnitFessTestCase { private PingSearchEngineJob pingSearchEngineJob; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); pingSearchEngineJob = new PingSearchEngineJob(); } // Test normal operation with GREEN status and state change @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0)