Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 534 for Contains (0.44 seconds)

  1. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.edgeValueOrDefault(4, 4, DEFAULT)).isEqualTo("valueD");
    
        String toString = graph.toString();
        assertThat(toString).contains("valueA");
        assertThat(toString).contains("valueB");
        assertThat(toString).contains("valueC");
        assertThat(toString).contains("valueD");
      }
    
      @Test
      public void undirectedGraph() {
        graph = ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 20.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            assertEquals(servletException, runtimeException.getCause());
    
            // Verify that the message is preserved from the cause
            assertTrue(runtimeException.getMessage().contains(ServletException.class.getName()));
            assertTrue(runtimeException.getMessage().contains(errorMessage));
        }
    
        @Test
        public void test_constructor_withServletExceptionWithCause() {
            // Create a root cause exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.edgeValueOrDefault(4, 4, DEFAULT)).isEqualTo("valueD");
    
        String toString = graph.toString();
        assertThat(toString).contains("valueA");
        assertThat(toString).contains("valueB");
        assertThat(toString).contains("valueC");
        assertThat(toString).contains("valueD");
      }
    
      @Test
      public void undirectedGraph() {
        graph = ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertEquals("div", tag.toString().split(", ")[0].split("=")[1]);
            assertTrue(tag.toString().contains("id=main-modal"));
            assertTrue(tag.toString().contains("css=modal"));
            assertTrue(tag.toString().contains("attrName=data-toggle"));
            assertTrue(tag.toString().contains("attrValue=modal"));
    
            // Test multiple tags with different combinations
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/AbstractNetwork.java

              }
    
              // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
              // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
              // Network<LinkedList>.
              @SuppressWarnings("unchecked")
              @Override
              public boolean contains(@Nullable Object obj) {
                if (!(obj instanceof EndpointPair)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Sets.java

            return stream().parallel();
          }
    
          @Override
          public boolean contains(@Nullable Object object) {
            return set1.contains(object) || set2.contains(object);
          }
    
          @Override
          public <S extends Set<E>> S copyInto(S set) {
            set.addAll(set1);
            set.addAll(set2);
            return set;
          }
    
          @Override
          int minSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

                assertTrue(config.getUrls().contains("https://example.com"));
                assertFalse(config.getUrls().contains("file:///test"));
            });
    
            parser.getFileConfig().ifPresent(config -> {
                assertTrue(config.getPaths().contains("file:///test"));
                assertFalse(config.getPaths().contains("https://example.com"));
            });
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/MathTesting.java

      // Exponents to test for the pow() function.
      static final ImmutableList<Integer> EXPONENTS =
          ImmutableList.of(0, 1, 2, 3, 4, 7, 10, 15, 20, 25, 40, 70);
    
      /*
       * This list contains values that attempt to provoke overflow in integer operations. It contains
       * positive values on or near 2^N for N near multiples of 8 (near byte boundaries).
       */
      static final ImmutableSet<Integer> POSITIVE_INTEGER_CANDIDATES;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            String result = buf.toString();
            assertTrue(result.startsWith("\"dateKey\":\""));
            // Check that the date was converted to string and properly escaped
            assertTrue(result.contains("2021") || result.contains("Jan") || result.contains("1609459200000"));
        }
    
        // Test appendTimestamp method
        @Test
        public void test_appendTimestamp() {
            StringBuilder buf = new StringBuilder();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            assertNotNull(capturedBody.get());
            assertTrue(capturedBody.get().contains("\"heartbeat\""));
            assertTrue(capturedBody.get().contains("\"expiredTime\""));
            assertTrue(capturedBody.get().contains("\"gte\""));
            assertTrue(capturedBody.get().contains("\"size\":100"));
            assertTrue(capturedPath.get().contains("/_search"));
        }
    
        @Test
        public void test_fetchNewEvents_queryStructure() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
Back to Top