- Sort Score
- Num 10 results
- Language All
Results 1851 - 1860 of 3,670 for throwIf (0.18 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
@Override protected void tearDown() throws Exception { super.tearDown(); assertWithMessage("finishToValueAndCloserExecutor was shut down") .that(shutdownAndAwaitTermination(finishToValueAndCloserExecutor, 10, SECONDS)) .isTrue(); } public void testFinishToValueAndCloser_throwsIfCalledTwice() throws Exception { ClosingFuture<Closeable> closingFuture =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Unit tests for DomUtils functionality with domtrip backend. */ class DomUtilsTest { @Test void testFindChildElement() throws Exception { String pomXml = """ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"> <modelVersion>4.0.0</modelVersion>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 31.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertEquals(0, buffer[2]); // salt length assertEquals(0, buffer[3]); } @Test @DisplayName("Should decode context correctly") void testDecode() throws SMBProtocolDecodingException { // Arrange context = new PreauthIntegrityNegotiateContext(); byte[] buffer = new byte[] { 0x02, 0x00, // 2 hash algos
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.4K 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) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
} // Used by m2eclipse @Override @SuppressWarnings({"UnusedDeclaration"}) public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.1K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
} @Override public void tearDown(final TestInfo testInfo) throws Exception { super.tearDown(testInfo); // close runner runner.close(); // delete all files runner.clean(); } @Test public void test_executeTx() throws Exception { final CrawlerWebServer server = new CrawlerWebServer(0); server.start();Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 7.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java
/** * Bridges between Maven3 events and Maven4 events. */ @Named @Singleton public class EventSpyImpl implements EventSpy { @Override public void init(Context context) throws Exception {} @Override public void onEvent(Object arg) throws Exception { if (arg instanceof ExecutionEvent ee) { InternalMavenSession session = InternalMavenSession.from(ee.getSession().getSession());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 29 20:53:26 GMT 2024 - 2.2K 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java
* @param artifactCoordinates t * @return the version range resolution result * @throws VersionResolverException if an errors occurs */ @Nonnull default VersionRangeResolverResult resolve( @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) throws VersionResolverException { return resolve(VersionRangeResolverRequest.build(session, artifactCoordinates));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 12 06:19:14 GMT 2024 - 3.7K 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)