Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for addCode (0.03 sec)

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

        assertThat(graphAsMutableGraph.addNode(N1)).isTrue();
        assertThat(graph.nodes()).contains(N1);
      }
    
      @Test
      public void addNode_existingNode() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        ImmutableSet<Integer> nodes = ImmutableSet.copyOf(graph.nodes());
        assertThat(graphAsMutableGraph.addNode(N1)).isFalse();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilderTest.java

            assertNotNull(response);
        }
    
        @Test
        public void test_addRole() throws Exception {
            indexItems();
    
            PopularWordsResponse response = suggester.popularWords().addRole(SuggestConstants.DEFAULT_ROLE).execute().getResponse();
    
            assertNotNull(response);
        }
    
        @Test
        public void test_addField() throws Exception {
            indexItems();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graphAsMutableGraph.addNode(N1)).isTrue();
        assertThat(graph.nodes()).contains(N1);
      }
    
      @Test
      public void addNode_existingNode() {
        assume().that(graphIsMutable()).isTrue();
    
        addNode(N1);
        ImmutableSet<Integer> nodes = ImmutableSet.copyOf(graph.nodes());
        assertThat(graphAsMutableGraph.addNode(N1)).isFalse();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

          assertThat(network.adjacentEdges(E12)).containsExactlyElementsIn(adjacentEdges);
        }
      }
    
      @Override
      @Test
      public void edgesConnecting_checkReturnedSetMutability() {
        addNode(N1);
        addNode(N2);
        Set<String> edgesConnecting = network.edgesConnecting(N1, N2);
        assertThrows(UnsupportedOperationException.class, () -> edgesConnecting.add(E23));
        addEdge(N1, N2, E12);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        mutableNetwork.addNode("A");
        ImmutableNetwork<String, Integer> immutableNetwork = ImmutableNetwork.copyOf(mutableNetwork);
    
        assertThat(immutableNetwork).isNotInstanceOf(MutableNetwork.class);
        assertThat(immutableNetwork).isEqualTo(mutableNetwork);
    
        mutableNetwork.addNode("B");
        assertThat(immutableNetwork).isNotEqualTo(mutableNetwork);
      }
    
      @Test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        mutableValueGraph.addNode("A");
        ImmutableValueGraph<String, Integer> immutableValueGraph =
            ImmutableValueGraph.copyOf(mutableValueGraph);
    
        assertThat(immutableValueGraph).isNotInstanceOf(MutableValueGraph.class);
        assertThat(immutableValueGraph).isEqualTo(mutableValueGraph);
    
        mutableValueGraph.addNode("B");
        assertThat(immutableValueGraph).isNotEqualTo(mutableValueGraph);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilderTest.java

            assertNotNull(response);
        }
    
        @Test
        public void test_addRole() throws Exception {
            indexItems();
    
            SuggestResponse response = suggester.suggest().setQuery("test").addRole(SuggestConstants.DEFAULT_ROLE).execute().getResponse();
    
            assertNotNull(response);
            assertEquals(1, response.getNum());
        }
    
        @Test
        public void test_addField() throws Exception {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/GraphsTest.java

        directedGraph.putEdge(N2, N3);
        directedGraph.addNode(N4);
    
        // the above graph is its own transitive closure
        MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build();
        expectedClosure.putEdge(N1, N2);
        expectedClosure.putEdge(N1, N3);
        expectedClosure.putEdge(N2, N3);
        expectedClosure.addNode(N4);
    
        assertThat(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

        }
    
        @Test
        public void test_addRole() throws Exception {
            indexQueryItems();
    
            PopularWordsResponse response = suggester.popularWords().setSize(10).addRole(SuggestConstants.DEFAULT_ROLE).execute().getResponse();
    
            assertNotNull(response);
            assertTrue(response.getTotal() > 0);
        }
    
        @Test
        public void test_addField() throws Exception {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                    stream(baseTags).of(stream -> stream.forEach(tag -> popularWordsRequestBuilder.addTag(tag)));
                    stream(baseRoles).of(stream -> stream.forEach(role -> popularWordsRequestBuilder.addRole(role)));
                    stream(baseFields).of(stream -> stream.forEach(field -> popularWordsRequestBuilder.addField(field)));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top