Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 941 - 950 of 6,076 for newE (0.02 seconds)

  1. src/test/java/jcifs/SidResolverTest.java

            doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class));
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids));
        }
    
        @Test
        void testResolveSids_WithNullServerName() throws CIFSException {
            doThrow(new CIFSException("Server name cannot be null")).when(sidResolver)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        }
    
        @Test
        @DisplayName("toByteArray returns mechanismToken reference when present")
        void toByteArrayReturnsToken() throws IOException {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] raw = new byte[] { 11, 12, 13 };
            t.parse(raw);
            // Current behavior of test impl: returns same reference
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            // Mock LanguageHelper
            LanguageHelper mockLanguageHelper = new LanguageHelper() {
                @Override
                public Script createScript(Map<String, Object> doc, String scriptString) {
                    return new Script(ScriptType.INLINE, "painless", scriptString, new HashMap<>());
                }
            };
            ComponentUtil.register(mockLanguageHelper, "languageHelper");
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

        /**
         * Creates a new source for the specified path.
         *
         * @param path the path to the file
         * @return a new Source instance
         * @throws NullPointerException if path is null
         */
        @Nonnull
        public static Source fromPath(@Nonnull Path path) {
            return new PathSource(requireNonNull(path, "path"));
        }
    
        /**
         * Creates a new build source for the specified path.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingSetTest.class);
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return new StandardImplForwardingSet<>(new LinkedHashSet<>(asList(elements)));
                      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            // Create multiple documents in bulk
            final Map<String, Object> requestBody = new HashMap<>();
            final List<Map<String, Object>> documents = new ArrayList<>();
    
            for (int i = 0; i < 5; i++) {
                final Map<String, Object> doc = new HashMap<>();
                doc.put("title", NAME_PREFIX + i);
                doc.put("url", "http://example.com/bulk/" + i);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          Supplier<Spliterator<E>> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(() -> new GeneralSpliteratorOfObject<>(spliteratorSupplier.get())));
      }
    
      /**
       * @since 33.4.0 (but since 28.1 in the JRE flavor)
       */
      public static SpliteratorTester<Integer> ofInt(Supplier<Spliterator.OfInt> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                () -> new GeneralSpliteratorOfPrimitive<>(spliteratorSupplier.get(), c -> c::accept)));
      }
    
      /**
       * @since 28.1 (but only since 33.4.0 in the Android flavor)
       */
      public static SpliteratorTester<Long> ofLong(Supplier<Spliterator.OfLong> spliteratorSupplier) {
        return new SpliteratorTester<>(
            ImmutableSet.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        }
    
        @Test
        public void test_multipleExceptionInstances() {
            // Test multiple instances are independent
            InvalidAccessTokenException exception1 = new InvalidAccessTokenException("Type1", "Message1");
            InvalidAccessTokenException exception2 = new InvalidAccessTokenException("Type2", "Message2");
    
            assertEquals("Type1", exception1.getType());
            assertEquals("Message1", exception1.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            server = new Server(port);
    
            final ResourceHandler resourceHandler = new ResourceHandler();
            resourceHandler.setWelcomeFiles("index.html");
            resourceHandler.setBaseResource(ResourceFactory.of(resourceHandler).newResource(Path.of(docRoot.getAbsolutePath())));
            logger.info("serving {}", docRoot.getAbsolutePath());
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top