Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 3,202 for throwIt (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

        @Inject
        PlexusContainer container;
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
        @Test
        void testShouldActivateDefaultProfile() throws Exception {
            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

        /**
         * @throws Exception
         */
        public void testSerialize() throws Exception {
            final String[] a = new String[] { "1", "2" };
            final String[] b = (String[]) SerializeUtil.serialize(a);
            assertEquals("1", b.length, a.length);
            assertEquals("2", "1", b[0]);
            assertEquals("3", "2", b[1]);
        }
    
        /**
         * @throws Exception
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NbtAddressTest.java

            verify(mockNameServiceClient).getNodeStatus(nbtAddress);
        }
    
        @Test
        void testNextCalledName_SmbServerName_UnknownHostException() throws UnknownHostException {
            // Test nextCalledName when getNodeStatus throws UnknownHostException
            when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            mockName = new Name(mockConfig, "HOST", 0x20, null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      @Throws(IOException::class)
      fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink
    
      /** This should update the HTTP engine's sentRequestMillis field. */
      @Throws(IOException::class)
      fun writeRequestHeaders(request: Request)
    
      /** Flush the request to the underlying socket. */
      @Throws(IOException::class)
      fun flushRequest()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                return false;
            }
    
            @Override
            public void connect() throws IOException {
                // Do Nothing
            }
    
            @Override
            public int getResponseCode() throws IOException {
                return 200;
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
                return new ByteArrayInputStream(new byte[100]); // dummy payload
            }
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

         *
         * @throws LoginException if authentication fails
         */
        public KerberosCredentials() throws LoginException {
            this(System.getProperty("jaaslounge.sso.jaas.config"));
        }
    
        /**
         * Creates KerberosCredentials using the specified JAAS login context.
         *
         * @param loginContextName the name of the JAAS login context
         * @throws LoginException if authentication fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

      }
    
      public void testAppendMethods() throws IOException {
        StringBuilder builder = new StringBuilder();
        Writer writer = new AppendableWriter(builder);
    
        writer.append("Hello,");
        writer.append(' ');
        writer.append("The World Wide Web", 4, 9);
        writer.append("!");
    
        assertEquals("Hello, World!", builder.toString());
      }
    
      public void testCloseFlush() throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

         * @return an integer representing the exit code of the invocation (0 typically indicates success)
         * @throws InvokerException if an error occurs during the invocation process.
         */
        int invoke(@Nonnull InvokerRequest invokerRequest) throws InvokerException;
    
        /**
         * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

                @Override
                public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
                    beforeExecution.incrementAndGet();
                }
    
                @Override
                public void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException {
                    afterExecutionSuccess.incrementAndGet();
                }
    
                @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacLogonInfoTest.java

        @BeforeEach
        void setUp() throws Exception {
            domainSid = new SID("S-1-5-21-1-2-3");
            userSid = new SID("S-1-5-21-1-2-3-1000");
        }
    
        private void writeLittleEndianShort(DataOutputStream dos, short value) throws IOException {
            dos.writeShort(Short.reverseBytes(value));
        }
    
        private void writeLittleEndianInt(DataOutputStream dos, int value) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top