- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 940 for rock (0.01 sec)
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
import jcifs.internal.smb1.trans2.Trans2FindNext2; @ExtendWith(MockitoExtension.class) class DirFileEntryEnumIterator1Test { @Mock SmbTreeHandleImpl tree; @Mock SmbResource parent; @Mock SmbResourceLocator locator; @Mock Configuration config; private static boolean handlerRegistered = false; // Register SMB URL handler once for all tests @BeforeAllRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", SmbPipeResource.PIPE_TYPE_RDWR, ctx()); SmbComNTCreateAndX req = mock(SmbComNTCreateAndX.class); SmbComNTCreateAndXResponse resp = mock(SmbComNTCreateAndXResponse.class); // Act pipe.customizeCreate(req, resp); // Assert: verify interactions with dependencies
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/resources/fess_env_crawler.properties
# ---------------------------------------------------------- # Mail # ------ # Does it send mock mail? (true: no send actually, logging only) mail.send.mock = false # SMTP server settings for main: host:port mail.smtp.server.main.host.and.port = localhost:25 # The prefix of subject to show test environment or not mail.subject.test.prefix =
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Jan 29 07:34:32 UTC 2018 - 2.2K bytes - Viewed (0) -
src/main/resources/fess_env_thumbnail.properties
# ---------------------------------------------------------- # Mail # ------ # Does it send mock mail? (true: no send actually, logging only) mail.send.mock = false # SMTP server settings for main: host:port mail.smtp.server.main.host.and.port = localhost:25 # The prefix of subject to show test environment or not mail.subject.test.prefix =
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Feb 12 13:38:57 UTC 2018 - 2.2K bytes - Viewed (0) -
tests/test_forms_single_param.py
return username client = TestClient(app) def test_single_form_field(): response = client.post("/form/", data={"username": "Rick"}) assert response.status_code == 200, response.text assert response.json() == "Rick" def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
@ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbFileInputStreamTest { @Mock SmbFile mockFile; @Mock SmbTreeHandleImpl mockTree; @Mock SmbFileHandleImpl mockHandle; @Mock Configuration mockConfig; private SmbFileInputStream newStream() throws SmbException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
import org.mockito.InOrder; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.SmbSession; /** * Tests for SmbTreeHandleInternal interface using Mockito to verify * interactions and observable behavior of collaborators. */ @ExtendWith(MockitoExtension.class) public class SmbTreeHandleInternalTest { @Mock private SmbTreeHandleInternal handle;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
internal/store/batch.go
func (b *Batch[I]) Add(item I) error { b.Lock() defer b.Unlock() if b.isFull() { if b.store == nil { return ErrBatchFull } // commit batch to store if err := b.commit(); err != nil { return err } } b.items = append(b.items, item) return nil } // Len returns the no of items in the batch func (b *Batch[_]) Len() int { b.Lock() defer b.Unlock() return len(b.items)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
CommonServerMessageBlockRequest next = mock(CommonServerMessageBlockRequest.class, withSettings().extraInterfaces(RequestWithFileId.class)); resp.prepare(next); verify((RequestWithFileId) next, times(1)).setFileId(eq(fileId)); } @Test void prepare_doesNothing_whenNotReceived() { Configuration config = Mockito.mock(Configuration.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)