Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 4,617 for New (0.02 sec)

  1. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            final AtomicBoolean storeCalled = new AtomicBoolean(false);
            final AtomicReference<DataConfig> capturedConfig = new AtomicReference<>();
            final AtomicReference<IndexUpdateCallback> capturedCallback = new AtomicReference<>();
            final AtomicReference<DataStoreParams> capturedParams = new AtomicReference<>();
    
            dataStore = new DataStore() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

        @Test
        public void testSIllegalStateExceptionStringThrowable() {
            final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge", new NullPointerException());
            assertThat(clIllegalStateException.getMessage(), is("hoge"));
            assertThat(clIllegalStateException.getCause(), instanceOf(NullPointerException.class));
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertExpectedString(writer.toString());
      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/Pac.java

            byte[] checksumData = data.clone();
            try {
                PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
                if (data.length <= 8) {
                    throw new PACDecodingException("Empty PAC");
                }
    
                int bufferCount = pacStream.readInt();
                int version = pacStream.readInt();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NetworkExplorerTest.java

        @BeforeEach
        void setUp() throws Exception {
            // Setup response writers
            stringWriter = new StringWriter();
            printWriter = new PrintWriter(stringWriter);
            outputStream = new ByteArrayOutputStream();
    
            servletOutputStream = new ServletOutputStream() {
                @Override
                public void write(int b) throws IOException {
                    outputStream.write(b);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/LmhostsTest.java

            // Modify file with a delay to ensure different lastModified time
            Thread.sleep(100);
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.200 NEWHOST\n");
            }
    
            // Should reload file and find new host
            result = lmhosts.getByName("NEWHOST", mockContext);
            assertNotNull(result);
    
            // Old host should not be found
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     *
     * {@snippet :
     * final WeakHashMap<Object, Object> map = new WeakHashMap<>();
     * map.put(new Object(), Boolean.TRUE);
     * GcFinalization.awaitDone(new FinalizationPredicate() {
     *   public boolean isDone() {
     *     return map.isEmpty();
     *   }
     * });
     * }
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
            SetTestSuiteBuilder.using(new ImmutableSetCopyOfGenerator())
                .named(ImmutableSetTest.class.getName())
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

                        }
                    }
                    if (field == null) {
                        throw new NoSuchFieldException(fieldName);
                    }
                    field.setAccessible(true);
                    field.set(this, value);
                } catch (Exception e) {
                    throw new RuntimeException("Failed to set field " + fieldName, e);
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top