- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 337 for invalidate (0.05 sec)
-
src/test/java/jcifs/config/PropertyConfigurationTest.java
assertEquals("childuser", testConfig.getDefaultUsername()); // Overridden assertEquals("parentdomain", testConfig.getDefaultDomain()); // Inherited } @Test @DisplayName("Should validate configuration consistency") void testConfigurationValidation() throws CIFSException { // Given Properties props = new Properties(); props.setProperty("jcifs.smb.client.minVersion", "SMB311");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
cmd/signature-v2_test.go
if errCode != testCase.expected { t.Errorf("(%d) expected to get success, instead got %s", i, niceError(errCode)) } } } } // TestValidateV2AuthHeader - Tests validate the logic of V2 Authorization header validator. func TestValidateV2AuthHeader(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() obj, fsDir, err := prepareFS(ctx) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
import org.junit.jupiter.api.Timeout; import org.mockito.Mockito; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Simple memory management tests to validate basic resource cleanup functionality */ public class SimpleMemoryManagementTest { private CIFSContext mockContext; private SmbTransportImpl mockTransport; private Configuration mockConfig;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
import jcifs.SmbTree; import jcifs.internal.CommonServerMessageBlockResponse; import jcifs.internal.Request; /** * Tests for SmbTreeInternal interface behavior via mocks. * Since this is an interface, we validate its public API contract * through interaction testing and generic type usage. */ @ExtendWith(MockitoExtension.class) class SmbTreeInternalTest { @Mock private SmbTreeInternal tree; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
Address address = nameServiceClient.getByName("localhost", false); // Then assertNotNull(address, "Should return address for localhost"); } @Test @DisplayName("Should validate context configuration access") void testContextAccess() { // When NameServiceClientImpl client = new NameServiceClientImpl(mockContext); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
``` </div> Then go to the `/docs` UI, you will see that **FastAPI** is using these **models** to **document** the API, and it will use them to **serialize** and **validate** the data too. <div class="screenshot"> <img src="/img/tutorial/sql-databases/image01.png"> </div> ## Update the App with Multiple Models { #update-the-app-with-multiple-models }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
// Act & Assert: attempting to call any method on null should throw NPE Assertions.assertThrows(NullPointerException.class, () -> { // Intentionally dereference null to validate exception behavior // This checks that callers must handle null references defensively info.getSize(); }); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
cmd/routers.go
// Adds 'crossdomain.xml' policy middleware to serve legacy flash clients. setCrossDomainPolicyMiddleware, // Limits all body and header sizes to a maximum fixed limit setRequestLimitMiddleware, // Validate all the incoming requests. setRequestValidityMiddleware, // Add upload forwarding middleware for site replication setUploadForwardingMiddleware, // Add bucket forwarding middleware setBucketForwardingMiddleware,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/signature-v4-parser.go
// request and proceed further. This is a work-around to address // an important problem for ListBuckets() getting signed with // different regions. if region == "" { region = sRegion } // Should validate region, only if region is set. if !isValidRegion(sRegion, region) { return ch, ErrAuthorizationHeaderMalformed } if credElements[2] != string(stype) { if stype == serviceSTS {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/bucket-notification-handlers.go
if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } region := globalSite.Region() config.SetRegion(region) if err = config.Validate(region, globalEventNotifier.targetList); err != nil { arnErr, ok := err.(*event.ErrARNNotFound) if ok { for i, queue := range config.QueueList { // Remove ARN not found queues, because we previously allowed
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.1K bytes - Viewed (0)