Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 474 for assertAll (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/QueuesTest.java

      }
    
      /** Checks that #drain() invocations behave correctly for a drained (empty) queue. */
      private void assertDrained(BlockingQueue<Object> q) {
        assertNull(q.peek());
        assertInterruptibleDrained(q);
        assertUninterruptibleDrained(q);
      }
    
      private void assertInterruptibleDrained(BlockingQueue<Object> q) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(bimap1, bimap2);
        bimap2.inverse().put(Country.SWITZERLAND, Currency.FRANC);
        assertEquals(Country.SWITZERLAND, bimap2.get(Currency.FRANC));
        assertNull(bimap1.get(Currency.FRANC));
        assertFalse(bimap2.equals(bimap1));
    
        /* Test that it can be empty. */
        EnumBiMap<Currency, Country> emptyBimap = EnumBiMap.create(Currency.class, Country.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.nio.ByteBuffer;
    import java.security.SecureRandom;
    import java.util.ArrayList;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        // Test filename setter
        public void test_filename() {
            assertNull(pythonJob.filename);
    
            PythonJob result = pythonJob.filename("test.py");
    
            assertSame(pythonJob, result);
            assertEquals("test.py", pythonJob.filename);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        public void test_protocolTypeIsRequired() {
            try {
                final Method method = UriType.class.getMethod("protocolType");
                assertNotNull("protocolType method should exist", method);
                assertNull("protocolType should not have default value", method.getDefaultValue());
            } catch (final NoSuchMethodException e) {
                fail("protocolType method should exist");
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

            HttpServletResponse response = createMockResponse();
    
            corsHandler.process(null, request, response);
    
            assertTrue("process should be called", processCalled);
            assertNull("origin should be null", processOrigin);
            assertEquals(request, processRequest);
            assertEquals(response, processResponse);
        }
    
        // Test process method with empty origin
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            assertEquals(Constants.EXECUTE_TYPE_SUGGEST, suggestJob.getExecuteType());
        }
    
        // Test session ID generation
        public void test_sessionIdGeneration() {
            assertNull(suggestJob.sessionId);
    
            mockProcessHelper.setExitValue(0);
            suggestJob.execute();
    
            assertNotNull(suggestJob.sessionId);
            assertEquals(15, suggestJob.sessionId.length());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        boolean hung =
            !awaitUninterruptibly(callCompletedLatch, hangDelayMillis, TimeUnit.MILLISECONDS);
        if (hung) {
          assertEquals(expectedOutcome, Outcome.HANG);
        } else {
          assertNull(task.get(UNEXPECTED_HANG_DELAY_MILLIS, TimeUnit.MILLISECONDS));
        }
      }
    
      @Override
      protected void tearDown() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                mapEntry("three", 3),
                mapEntry("two", 2));
      }
    
      // Other tests
    
      public void testNullGet() {
        ImmutableSortedMap<String, Integer> map = ImmutableSortedMap.of("one", 1);
        assertNull(map.get(null));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

              }
            }
    
            try {
              assertEquals(expected, rangeMap.span());
              assertNotNull(expected);
            } catch (NoSuchElementException e) {
              assertNull(expected);
            }
          }
        }
      }
    
      public void testAllRangesAlone() {
        for (Range<Integer> range : RANGES) {
          Map<Integer, Integer> model = new HashMap<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top