Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 237 for Edge (0.02 sec)

  1. guava/src/com/google/common/graph/ValueGraphBuilder.java

     *     #from(ValueGraph)}.
     * @since 20.0
     */
    @Beta
    public final class ValueGraphBuilder<N, V> extends AbstractGraphBuilder<N> {
    
      /** Creates a new instance with the specified edge directionality. */
      private ValueGraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building directed graphs. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // 5. Verify heartbeat fails after unregistration
            assertFalse(mockService.processHeartbeat(regId, 4));
        }
    
        /**
         * Test error conditions and edge cases
         */
        @Test
        void testErrorConditions() {
            // Test operations on empty service
            assertEquals(0, mockService.getRegistrationCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // The constructor doesn't actually call any methods on the config during construction
            }
        }
    
        @Nested
        @DisplayName("Edge case tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum buffer index")
            void testMaxBufferIndex() throws SMBProtocolDecodingException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                assertTrue(str.contains("nativeFileSystem=NTFS"), "Should contain file system");
            }
        }
    
        /**
         * Tests for edge cases and error conditions
         */
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle null configuration gracefully")
            void testNullConfiguration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N1, N2);
    
        assertThat(graphAsMutableGraph.putEdge(N2, N1)).isFalse();
      }
    
      /**
       * Tests that the method {@code putEdge} will silently add the missing nodes to the graph, then
       * add the edge connecting them. We are not using the proxy methods here as we want to test {@code
       * putEdge} when the end-points are not elements of the graph.
       */
      @Test
      public void putEdge_nodesNotInGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            verify(tree, atLeastOnce()).release();
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", " ", "*", "?" })
        @DisplayName("Supports various wildcard values without throwing (edge cases)")
        void wildcardEdgeCases(String wildcard) throws Exception {
            // minimal successful first response with a single entry
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            // Verify query was processed
            // Note: Field logging behavior depends on implementation
        }
    
        public void test_convertPhraseQuery_emptyString() {
            // Test with empty string term (edge case)
            PhraseQuery.Builder builder = new PhraseQuery.Builder();
            builder.add(new Term(Constants.DEFAULT_FIELD, ""));
            PhraseQuery phraseQuery = builder.build();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                // Test that it can be thrown as IOException
                assertThrows(IOException.class, () -> {
                    throw exception;
                });
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle very long messages")
            void testVeryLongMessage() {
                StringBuilder longMessage = new StringBuilder();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/GraphsTest.java

    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Tests for {@link Graphs}. Tests assume that the implementation of the method {@code addEdge} adds
     * the missing nodes to the graph, then adds the edge between them.
     */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class GraphsTest {
      private static final Integer N1 = 1;
      private static final Integer N2 = 2;
      private static final Integer N3 = 3;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SpnegoContextTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    
    /**
     * Tests for SpnegoContext focusing on delegation, error handling, and edge cases.
     */
    @ExtendWith(MockitoExtension.class)
    class SpnegoContextTest {
    
        @Mock
        Configuration config;
    
        @Mock
        SSPContext mechContext;
    
        private ASN1ObjectIdentifier[] mechs;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top