Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 4,121 for Void (0.06 sec)

  1. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckPositive_maxLong() {
        MathPreconditions.checkPositive("long", Long.MAX_VALUE);
      }
    
      public void testCheckPositive_minLong() {
        assertThrows(
            IllegalArgumentException.class,
            () -> MathPreconditions.checkPositive("long", Long.MIN_VALUE));
      }
    
      public void testCheckPositive_positiveLong() {
        MathPreconditions.checkPositive("long", 1);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_present() {
        assertEquals(
            "getOrDefault(present, def) should return the associated value",
            v0(),
            getMap().getOrDefault(k0(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_presentNullDefault() {
        assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

      public void testSingleTearDown() throws Exception {
        TearDownStack stack = buildTearDownStack();
    
        SimpleTearDown tearDown = new SimpleTearDown();
        stack.addTearDown(tearDown);
    
        assertEquals(false, tearDown.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDown should have run", true, tearDown.ran);
      }
    
      public void testMultipleTearDownsHappenInOrder() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 01 13:14:50 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

        @Before
        public void setUp() {
            fesenClient = new FesenClient();
            mockClient = mock(Client.class);
            fesenClient.client = mockClient;
        }
    
        /**
         * Test: Thread-safe listener management using CopyOnWriteArrayList
         * Verifies that multiple threads can safely add listeners concurrently
         */
        @Test
        public void testThreadSafeListenerManagement() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                @Override
                public void run(MojoExecution mojoExecution) throws LifecycleExecutionException {
                    MojoExecutor.this.execute(session, mojoExecution, dependencyContext, phaseRecorder);
                }
            });
        }
    
        private void execute(
                MavenSession session,
                MojoExecution mojoExecution,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 14:55:55 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

         */
        public void setResponseBody(final byte[] responseBody) {
            responseBodyBytes = responseBody;
        }
    
        /**
         * Sets the response body from a file.
         *
         * @param responseBody the file containing the response body
         * @param isTemporary true if the file is temporary and should be deleted when closing
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        void getSessionReturnsUnderlying() {
            // Verifies getSession() exposes the session provided by the connection
            assertSame(session, handle.getSession());
            verify(treeConnection).getSession();
        }
    
        @Test
        @DisplayName("ensureDFSResolved forwards to tree connection with locator")
        void ensureDFSResolvedDelegates() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbWatchHandleTest.java

        @BeforeEach
        void setUp() {
            mockNotifications = new ArrayList<>();
            mockNotifications.add(fileNotifyInfo1);
            mockNotifications.add(fileNotifyInfo2);
            mockNotifications.add(fileNotifyInfo3);
        }
    
        /**
         * Test watch() method returning notifications
         */
        @Test
        void testWatch() throws CIFSException {
            // Setup mock behavior
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/cache/AbstractCache.java

       * @since 11.0
       */
      @Override
      public void put(K key, V value) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * @since 12.0
       */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void cleanUp() {}
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

         * @param id the unique identifier to set
         */
        void setId(IDTYPE id);
    
        /**
         * Retrieves the session ID associated with this URL queue.
         *
         * @return the session ID as a String.
         */
        String getSessionId();
    
        /**
         * Sets the session ID for the URL queue.
         *
         * @param sessionId the session ID to set
         */
        void setSessionId(String sessionId);
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top