Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1971 - 1980 of 2,614 for throwIt (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

        @Inject
        private SessionScope sessionScope;
    
        protected String component() {
            return "deployer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagement() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

    import java.util.List;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.Request;
    import org.apache.maven.api.services.Result;
    
    /**
     * Exception thrown when a batch request operation fails. This exception contains the results
     * of all requests that were attempted, including both successful and failed operations.
     * <p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

    /**
     * The "help" goal implementation.
     */
    @Named("help")
    @Singleton
    public class Help implements Goal {
    
        @Override
        public int execute(UpgradeContext context) throws Exception {
            context.info("Maven Upgrade Tool - Help");
            context.println();
            context.info("Upgrades Maven projects to be compatible with Maven 4.");
            context.println();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    class DefaultArtifactDescriptorReaderTest extends AbstractRepositoryTestCase {
    
        @Test
        void testMng5459() throws Exception {
            // prepare
            DefaultArtifactDescriptorReader reader =
                    (DefaultArtifactDescriptorReader) getContainer().lookup(ArtifactDescriptorReader.class);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleTaskSegmentCalculatorStub.java

        public LifecycleTaskSegmentCalculatorStub() {
            super(null, null);
        }
    
        @Override
        public List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
                        MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

         * {@link NullPointerException}. This test is defensive; in real code it
         * would likely be handled elsewhere.
         */
        @Test
        @DisplayName("calling getters on null reference throws NPE")
        void testNullReference() {
            AllocInfo nullRef = null;
            assertThrows(NullPointerException.class, () -> nullRef.getCapacity());
            assertThrows(NullPointerException.class, () -> nullRef.getFree());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuildListCalculatorTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    
    class BuildListCalculatorTest {
    
        @Test
        void testCalculateProjectBuilds() throws Exception {
            LifecycleTaskSegmentCalculator lifecycleTaskSegmentCalculator = getTaskSegmentCalculator();
            BuildListCalculator buildListCalculator = new BuildListCalculator();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java

    /**
     */
    class DefaultLegacySupportTest {
        final CountDownLatch latch = new CountDownLatch(1);
        final DefaultLegacySupport defaultLegacySupport = new DefaultLegacySupport();
    
        @Test
        void testSetSession() throws Exception {
    
            MavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest();
            MavenSession m1 = new MavenSession(null, null, mavenExecutionRequest, null);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      }
    
      private void assertSetCountNegativeOldCount() {
        try {
          getMultiset().setCount(e3(), -1, 1);
          fail("calling setCount() with a negative oldCount should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // Negative oldCount.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4K bytes
    - Click Count (0)
Back to Top