Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2591 - 2600 of 3,282 for throwIt (0.08 seconds)

  1. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

            HashMap.class,
            Appendable.class,
            StringBuilder.class,
            StringBuffer.class,
            Throwable.class,
            Exception.class);
      }
    
      public void testGet_io() throws IOException {
        assertEquals(-1, ArbitraryInstances.get(InputStream.class).read());
        assertEquals(-1, ArbitraryInstances.get(ByteArrayInputStream.class).read());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            assertTrue(s.contains("hello"));
        }
    
        @Test
        @DisplayName("Should serialize and deserialize preserving message and cause")
        void testJavaSerialization() throws Exception {
            // Given
            SpnegoException original = new SpnegoException("serialize me", new IllegalArgumentException("iaex"));
    
            // When
            byte[] bytes;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class SitemapsRuleTest extends PlainTestCase {
        public SitemapsRule sitemapsRule;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class)//
                    .singleton("sitemapsRule", SitemapsRule.class);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int nciphers = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.ciphers = new int[nciphers];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        @Override
        public void execute(Runnable task) {
          tasks.add(task);
        }
    
        private void runNext() {
          tasks.removeFirst().run();
        }
      }
    
      public void testAsyncReload() throws Exception {
        AtomicInteger loadCount = new AtomicInteger();
        AtomicInteger reloadCount = new AtomicInteger();
        AtomicInteger loadAllCount = new AtomicInteger();
    
        CacheLoader<Object, Object> baseLoader =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/AbstractMavenTransferListener.java

            message.resetStyle().append(resource.getResourceName());
    
            out.println(message);
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
            // TODO This needs to be colorized
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/CustomUrlFilterImplTest.java

        public UrlFilterImpl includeFilter;
    
        public UrlFilterImpl excludeFilter;
    
        public UrlFilterImpl domainFilter;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("dataHelper", MemoryDataHelper.class)//
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            final Lifecycle lifecycle = getLifeCycleById("site");
            assertEquals("site", lifecycle.getId());
            assertEquals(6, lifecycle.getPhases().size());
        }
    
        @Test
        void testCustomLifecycle() throws ComponentLookupException {
            List<Lifecycle> myLifecycles = new ArrayList<>();
            Lifecycle myLifecycle =
                    new Lifecycle("etl", Arrays.asList("extract", "transform", "load"), Collections.emptyMap());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java

        @Inject
        RepositorySystemSessionFactory repositorySessionFactory;
    
        @Inject
        RepositorySystem repositorySystem;
    
        @Test
        void testModelBuilder() throws Exception {
            MavenExecutionRequest mavenRequest = new DefaultMavenExecutionRequest();
            mavenRequest.setLocalRepository(mavenRepositorySystem.createLocalRepository(new File("target/test-repo/")));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exception/WebApiException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when web API operations encounter errors.
     * This exception includes an HTTP status code to indicate the nature of the error.
     */
    public class WebApiException extends FessSystemException {
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top