- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 175 for rocks (0.02 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertThrows(RuntimeCIFSException.class, a::getUNCPath); } @Test @DisplayName("Server, port, URL passthrough getters") void testServerPortUrl() throws Exception { // No context mocks needed for this test SmbResourceLocatorImpl a = locator("smb://server:444/share"); assertEquals("server", a.getServer()); assertEquals(444, a.getPort());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
package jcifs.smb1.smb1; /** * Unit tests for {@link FileEntry}. The interface itself has no * implementation, so the tests exercise the contract via Mockito mocks. * Each method is exercised for normal inputs, extreme or edge cases, and * interaction verification. */ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
This would mean that **FastAPI** would expect a body similar to: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2, "tags": ["rock", "metal", "bar"], "image": { "url": "http://example.com/baz.jpg", "name": "The Foo live" } } ``` Again, doing just that declaration, with **FastAPI** you get:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-nested-models.md
Это означает, что **FastAPI** будет ожидать тело запроса, аналогичное этому: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2, "tags": ["rock", "metal", "bar"], "image": { "url": "http://example.com/baz.jpg", "name": "The Foo live" } } ``` Ещё раз: сделав такое объявление, с помощью **FastAPI** вы получите:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 12.3K bytes - Viewed (0) -
cmd/namespace-lock_test.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
class DcerpcSecurityProviderTest { @Mock private DcerpcSecurityProvider dcerpcSecurityProvider; @Mock private NdrBuffer mockNdrBuffer; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testWrapMethodIsCalled() throws DcerpcException { // Test that the wrap method can be called without throwing an exception
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
docs/em/docs/tutorial/body-nested-models.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportTest.java
private SmbTransport smbTransport; @Mock private CIFSContext cifsContext; @Mock private Address remoteAddress; @BeforeEach void setUp() { // Common setup for mocks if needed } @Test void testGetContext() { // Arrange when(smbTransport.getContext()).thenReturn(cifsContext); // Act CIFSContext result = smbTransport.getContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]); } /** * Helper method to create a DcerpcPipeHandle with injected mocks * Uses mock to avoid constructor issues while allowing real method calls */ private DcerpcPipeHandle createMockedDcerpcPipeHandle() throws Exception { // Create a mock without calling the constructor
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
cmd/admin-handlers_test.go
UID: uuid, Owner: owners[i%len(owners)], Group: true, Quorum: 3, } lris = append(lris, lri) locksHeld[resource] = []lockRequesterInfo{lri} } // Add a few concurrent read locks to the mix for i := range 50 { resource := fmt.Sprintf("bucket/get-object-%d", i) lri := lockRequesterInfo{ Name: resource, UID: mustGetUUID(), Owner: owners[i%len(owners)], Quorum: 2,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (1)