Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 268 for edge (0.02 sec)

  1. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

     * create a lightweight concrete subclass only to exercise the inherited
     * behaviour. The tests cover flag manipulation, byte‑buffer operations and
     * static helpers. Edge cases such as null or short arrays and negative
     * values are verified to ensure proper exception handling and byte
     * conversion.
     */
    @ExtendWith(MockitoExtension.class)
    class NtlmMessageTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            // Act
            itr.remove();
    
            // Assert
            verify(delegate, times(1)).remove();
        }
    
        @Test
        @DisplayName("Edge: empty delegate yields no elements")
        void emptyDelegate_hasNoNext() {
            // Arrange - no parent setup needed since no URLs are created
            when(delegate.hasNext()).thenReturn(false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE })
        @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps")
        void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception {
            // Arrange: stub to return true regardless of input
            when(handle.hasCapability(anyInt())).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/MimeMapTest.java

            void testVariousDefaultValues(String defaultValue) throws IOException {
                assertEquals(defaultValue, mimeMap.getMimeType("notinmap", defaultValue));
            }
        }
    
        @Nested
        @DisplayName("Edge cases and special scenarios")
        class EdgeCases {
    
            @Test
            @DisplayName("Should handle multiple extensions for same mime type")
            void testMultipleExtensionsForSameMimeType() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/https/HandlerTest.java

                // Then
                assertEquals(443, httpsPort);
                assertEquals(80, httpPort);
                assertNotEquals(httpsPort, httpPort);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle reflection access to protected method")
            void testProtectedMethodAccess() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

                EndpointPair.unordered(1, 1),
                EndpointPair.unordered(1, 3))
            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateTShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/index.jsp

    ${fe:html(true)}
    <head profile="http://a9.com/-/spec/opensearch/1.1/">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><la:message key="labels.search_title" /></title>
    <c:if test="${osddLink}">
    	<link rel="search" type="application/opensearchdescription+xml"
    		href="${fe:url('/osdd')}"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 11:58:45 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertEquals(8, serverData.encryptionKey.length);
            assertEquals(16, serverData.guid.length);
        }
    
        /**
         * Test edge cases for numeric fields
         */
        @Test
        @DisplayName("Test edge cases for numeric fields")
        public void testNumericFieldsEdgeCases() {
            // Test maximum values for int fields
            serverData.sflags2 = Integer.MAX_VALUE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/graph/GraphBuilder.java

     * @since 20.0
     */
    @Beta
    @DoNotMock
    public final class GraphBuilder<N> extends AbstractGraphBuilder<N> {
    
      /** Creates a new instance with the specified edge directionality. */
      private GraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link GraphBuilder} for building directed graphs. */
      public static GraphBuilder<Object> directed() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top