Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1751 - 1760 of 3,202 for throwIt (0.04 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java

                @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome)
                throws Exception {
            invoke(cwd, userHome, List.of("verify"), List.of());
        }
    
        @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 10:47:37 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/collector/ProjectCollectionStrategy.java

     */
    public interface ProjectCollectionStrategy {
        /**
         *
         * @param request
         * @return
         * @throws ProjectBuildingException
         */
        List<MavenProject> collectProjects(MavenExecutionRequest request) throws ProjectBuildingException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       * strict, use {@link #reserialize}.
       *
       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
       *     deserialized
       * @throws AssertionFailedError if the re-serialized object is not equal to the original object,
       *     or if the hashcodes are different.
       */
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

    class NodeStatusResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private NbtAddress mockQueryAddress;
    
        private NodeStatusResponse response;
    
        @BeforeEach
        void setUp() throws Exception {
            // Setup mock configuration with lenient stubbing
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Setup mock query address
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Configuration mockConfig;
    
        private MockWitnessService mockService;
    
        @BeforeEach
        void setUp() throws Exception {
            mockService = new MockWitnessService();
            mockService.start();
    
            // Setup mock configuration with lenient stubbing
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * @return module name of the dependency at the given path, or empty if the dependency is not modular
         * @throws IOException if the module information of the specified dependency cannot be read
         */
        Optional<String> getModuleName(@Nonnull Path dependency) throws IOException;
    
        /**
         * Returns the Java module descriptor of the dependency at the given path.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/WorkspaceModelResolver.java

    public interface WorkspaceModelResolver {
    
        Model resolveRawModel(String groupId, String artifactId, String versionConstraint)
                throws UnresolvableModelException;
    
        Model resolveEffectiveModel(String groupId, String artifactId, String versionConstraint)
                throws UnresolvableModelException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrSmall.java

         */
        public NdrSmall(final int value) {
            this.value = value & 0xFF;
        }
    
        @Override
        public void encode(final NdrBuffer dst) throws NdrException {
            dst.enc_ndr_small(this.value);
        }
    
        @Override
        public void decode(final NdrBuffer src) throws NdrException {
            this.value = src.dec_ndr_small();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

            NdrHyper ndrHyper = new NdrHyper(expectedValue);
            assertEquals(expectedValue, ndrHyper.value, "Constructor should set the correct value.");
        }
    
        @Test
        void testEncode() throws NdrException {
            // Test the encode method
            long testValue = 987654321098765L;
            NdrHyper ndrHyper = new NdrHyper(testValue);
    
            // Call the encode method with the mocked NdrBuffer
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class PerCallSettings {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build();
    
        // Copy to customize OkHttp for this request.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
Back to top