- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 153 for intersection (0.08 sec)
-
src/test/java/jcifs/smb/HandlerTest.java
assertEquals(url, file.getURL(), "Returned SmbFile should wrap the given URL"); assertSame(mockCtx, file.getContext(), "SmbFile must use the provided CIFSContext"); verify(mockCtx, atLeastOnce()).getConfig(); // interaction with dependency } @Test @DisplayName("openConnection with null URL throws NullPointerException") void testOpenConnection_NullInput() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Test interface method byte level = mockFileInfo.getFileInformationLevel(); assertEquals(FileInformation.FILE_BASIC_INFO, level); // Verify interaction verify(mockFileInfo).getFileInformationLevel(); } /** * Test FileInformation as Decodable */ @Test @DisplayName("Test FileInformation decode method")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/site-replication/gen-oidc-sts-cred.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main // This programs mocks user interaction against Dex IDP and generates STS // credentials. It is for MinIO testing purposes only. // // Run like: // // $ MINIO_ENDPOINT=http://localhost:9000 go run gen-oidc-sts-cred.go import ( "context" "fmt"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 29 01:27:09 UTC 2022 - 2.3K bytes - Viewed (0) -
src/cmd/asm/internal/arch/mips.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file encapsulates some of the odd characteristics of the // MIPS (MIPS64) instruction set, to minimize its interaction // with the core of the assembler. package arch import ( "cmd/internal/obj" "cmd/internal/obj/mips" ) func jumpMIPS(word string) bool { switch word {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Mar 04 19:06:44 UTC 2020 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
private interface IntGetter { int apply(FileEntry e); } private interface LongGetter { long apply(FileEntry e); } // --- Mockito-based interaction tests --- @Test @DisplayName("Mocked FileEntry returns stubbed values and verifies interactions") void mockedEntry_happyPath_and_interactions() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
@Test @DisplayName("Constructor with delegate: acquire() forwards to delegate and release() too") void constructor_withDelegate_acquireAndReleaseForwarded() { // Arrange: delegate we can spy on for interaction verification CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace delegate = Mockito.spy(new SmbTreeConnectionTrace(ctx));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
} static Stream<Arguments> messageProvider() { return Stream.of(Arguments.of((String) null), Arguments.of("")); } /** * Validate message+cause constructor and that no interaction with cause occurs during construction. */ @Test @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status") void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
@DisplayName("customizeCreate sets required flags and extended mode") void customizeCreateSetsFlagsAndExtended() throws Exception { // Arrange: real instance to call protected method; collaborators mocked for interaction verification SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", SmbPipeResource.PIPE_TYPE_RDWR, ctx()); SmbComNTCreateAndX req = mock(SmbComNTCreateAndX.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
MsrpcSamrOpenAlias capturedRpc = rpcCaptor.getValue(); // We cannot directly access private fields of MsrpcSamrOpenAlias or its superclass // Instead, we verify the interaction with the DcerpcHandle and the return value. // The fact that the constructor completes without exception and sets 'opened' to true // implies the correct parameters were used internally. } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
* methods (writing parameters and handling empty wire formats) and an * informative {@link NtTransQuerySecurityDesc#toString()}. The tests * exercise normal behaviour, boundary values, and the interaction with * the underlying wire‑format helpers. */ @ExtendWith(MockitoExtension.class) class NtTransQuerySecurityDescTest { /** * Helper that mimics the write logic used by
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0)