Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1991 - 2000 of 3,963 for void (0.02 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

    class FileSourceTest {
    
        @Test
        void testFileSource() {
            NullPointerException e = assertThrows(
                    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 {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          }
        }
        return methods;
      }
    
      private static <T> void testSuccessfulForwarding(
          Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) {
        new InteractionTester<T>(interfaceType, method).testInteraction(wrapperFunction);
      }
    
      private static <T> void testExceptionPropagation(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

        private static final int TIMING_ITERATIONS = 1000;
        private static final double TIMING_TOLERANCE = 2.0; // 200% tolerance - JVM timing is inherently variable for timing variations
    
        @BeforeEach
        public void setUp() {
            // Warm up JVM to reduce JIT compilation effects
            for (int i = 0; i < 100; i++) {
                NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password123");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

    import org.codelibs.core.lang.ClassUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class TraverserUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromClass_FileSystem() throws Exception {
            final Traverser traverser = TraversalUtil.getTraverser(DummyTest.class);
            assertThat(traverser, is(notNullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DosFileFilterTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class DosFileFilterTest {
    
        @Mock
        private SmbFile mockFile;
    
        private DosFileFilter dosFileFilter;
    
        @BeforeEach
        void setUp() {
            // Basic setup, specific filter attributes will be set in each test
        }
    
        /**
         * Tests the constructor of DosFileFilter.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/escape/EscapersTest.java

    @GwtCompatible
    @NullUnmarked
    public class EscapersTest extends TestCase {
      public void testNullEscaper() throws IOException {
        Escaper escaper = Escapers.nullEscaper();
        EscaperAsserts.assertBasic(escaper);
        String s = "\0\n\t\\az09~\uD800\uDC00\uFFFF";
        assertWithMessage("null escaper should have no effect").that(escaper.escape(s)).isEqualTo(s);
      }
    
      public void testBuilderInitialStateNoReplacement() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/JobExecutor.java

         * This method notifies the shutdown listener to perform cleanup operations.
         */
        public void shutdown() {
            shutdownListener.onShutdown();
        }
    
        /**
         * Adds a shutdown listener to be notified when the executor is shutting down.
         *
         * @param listener the shutdown listener to add
         */
        public void addShutdownListener(final ShutdownListener listener) {
            shutdownListener = listener;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

        }
      }
    
      public void testLifecycle() {
        boolean[] setUp = {false};
        Runnable setUpRunnable =
            new Runnable() {
              @Override
              public void run() {
                setUp[0] = true;
              }
            };
    
        boolean[] tearDown = {false};
        Runnable tearDownRunnable =
            new Runnable() {
              @Override
              public void run() {
                tearDown[0] = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
      void pollAndAdd(int reps) {
        for (int i = 0; i < reps; i++) {
          // TODO(kevinb): precompute random #s?
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

         *            the notifyFlags to set
         */
        public void setNotifyFlags(final int notifyFlags) {
            this.notifyFlags = notifyFlags;
        }
    
        /**
         * Set the completion filter specifying which changes to monitor
         *
         * @param completionFilter
         *            the completionFilter to set
         */
        public void setCompletionFilter(final int completionFilter) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top