Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 3,508 for should (0.05 sec)

  1. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

            )
          },
        ).containsExactly(
          "--> GET http://google.com/robots.txt",
          "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)",
        )
        // We should consider if these logs should retain Exceptions
        assertThat(logs.last().throwable).isNull()
      }
    
      @Test
      fun testLoggingEventListener() {
        val client = clientBuilder.eventListenerFactory(LoggingEventListener.Factory()).build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Closer.java

     * <a href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html"
     * >try-with-resources</a> statement in JDK6-compatible code. Code using this should be
     * approximately equivalent in behavior to the same code written with try-with-resources.
     *
     * <p>This class is intended to be used in the following pattern:
     *
     * {@snippet :
     * Closer closer = Closer.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // Act
            KerberosApRequest req = new KerberosApRequest(seq, null);
    
            // Assert
            assertEquals(ap, req.getApOptions(), "apOptions should reflect BIT STRING's first byte");
            assertNull(req.getTicket(), "ticket should be null when tag 3 is absent");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 4, 6, 99 })
        @DisplayName("seq ctor: invalid pvno values throw")
    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. tests/create_test.go

    	}
    
    	if u1.ID == 0 {
    		t.Errorf("user's primary key should has value after create, got : %v", u1.ID)
    	}
    
    	if u1.CreatedAt.IsZero() {
    		t.Errorf("user's created at should be not zero")
    	}
    
    	if u1.UpdatedAt.IsZero() {
    		t.Errorf("user's updated at should be not zero")
    	}
    
    	var newUser User
    	if err := DB.Where("id = ?", u1.ID).First(&newUser).Error; err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 09:55:20 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    are working on. And as mentioned above, API changes should be discussed
    thoroughly before moving to code.
    
    Some examples of types of pull requests that are immediately helpful:
    
      - Fixing a bug without changing a public API.
      - Fixing or improving documentation.
      - Improvements to Maven configuration.
    
    Guidelines for any code contributions:
    
      1. Any significant changes should be accompanied by tests. The project already
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ResourceFilter.java

     *
     * @author mbechler
     *
     */
    public interface ResourceFilter {
    
        /**
         * Tests whether the specified SMB resource should be included.
         *
         * @param resource the SMB resource to test
         * @return whether the given resource should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
        boolean accept(SmbResource resource) throws CIFSException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

            // Verify that the handle passed to the constructor is correctly set in the superclass
            assertEquals(mockHandle, lsarClose.handle, "The handle should be initialized correctly.");
    
            // Verify that the ptype is set to 0
            assertEquals(0, lsarClose.getPtype(), "The ptype should be set to 0.");
    
            // Verify that the flags are set to the combination of DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            assertTrue(
                    newArtifactVersion(left).compareTo(newArtifactVersion(right)) < 0,
                    left + " should be older than " + right);
            assertTrue(
                    newArtifactVersion(right).compareTo(newArtifactVersion(left)) > 0,
                    right + " should be newer than " + left);
        }
    
        private void assertVersionEqual(String left, String right) {
            assertTrue(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. cmd/metacache-set.go

    	BaseDir string
    
    	// Scan/return only content with prefix.
    	Prefix string
    
    	// FilterPrefix will return only results with this prefix when scanning.
    	// Should never contain a slash.
    	// Prefix should still be set.
    	FilterPrefix string
    
    	// Marker to resume listing.
    	// The response will be the first entry >= this object name.
    	Marker string
    
    	// Limit the number of results.
    	Limit int
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

            assertNotNull(ex);
            assertTrue(ex instanceof SmbException);
            assertEquals(SmbException.getMessageByCode(errCode), ex.getMessage(), "message should reflect error code mapping");
            assertEquals(expectedStatus, ex.getNtStatus(), "status should map based on code");
            assertNull(ex.getCause(), "cause must be null for int constructor");
            assertNull(ex.getRootCause(), "rootCause must be null for int constructor");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top