Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1311 - 1320 of 3,282 for throwIt (0.06 seconds)

  1. 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 {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. 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.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

         * @param url the URL to process
         * @param client the crawler client to use for the request
         * @return the redirect URL if a redirect occurred, null otherwise
         * @throws ChildUrlsException if child URLs are discovered during processing
         * @throws DataStoreCrawlingException if an error occurs during crawling
         */
        protected String processRequest(final DataStoreParams paramMap, final Map<String, Object> dataMap, final String url,
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  5. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test(expected = FieldNotStaticRuntimeException.class)
        public void testAaa_GetStaticFieldValue() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
            aaa.getStaticFieldValue();
        }
    
        /**
         * @throws Exception
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

    public class NullArgumentExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        @DisplayName("Test size method returns 8")
        void testSize() {
            assertEquals(8, fileInternalInfo.size());
        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[8];
            long expectedIndexNumber = 0x123456789ABCDEF0L;
    
            // Encode test data
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java

        }
    
        @Test
        public void test_getIndex() throws Exception {
            List<String> words = new ArrayList<>();
            PopularWordsResponse response = new PopularWordsResponse("my-index", 50, words, 5, new ArrayList<>());
    
            assertEquals("my-index", response.getIndex());
        }
    
        @Test
        public void test_getTookMs() throws Exception {
            List<String> words = new ArrayList<>();
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/log/LoggerTest.java

         */
        @Test
        public void testInfo() throws Exception {
            logger.info("info");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            assertNotNull(fileBothDirectoryInfo);
            assertNotNull(fileBothDirectoryInfoNonUnicode);
        }
    
        @Test
        @DisplayName("Test getName returns filename")
        void testGetName() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("testfile.txt", "TEST~1.TXT", true);
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
Back to Top