- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 119 for lenient (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
mockContext = mock(CIFSContext.class); testFileId = new byte[16]; Arrays.fill(testFileId, (byte) 0xAB); // Use lenient stubbing for default configuration values lenient().when(mockConfig.getNotifyBufferSize()).thenReturn(8192); lenient().when(mockContext.getConfig()).thenReturn(mockConfig); request = new Smb2ChangeNotifyRequest(mockConfig, testFileId); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/util/WarmupEc2Agent.kt
tasks = "resolveAllDependencies" gradleParams = ( buildToolGradleParameters(isContinue = false) + listOf("--dependency-verification", "lenient") ).joinToString(separator = " ") } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
tc.getConfig(); tc.getCredentials(); // Minimal behavior: return a mock SSPContext with lenient stubbing SSPContext ctx = mock(SSPContext.class); lenient().when(ctx.isEstablished()).thenReturn(false); return ctx; } @Override public Subject getSubject() { return this.subject;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report-aggregation.gradle.kts
attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named("incubation-report-$reportType")) } extendsFrom(reports)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jul 02 12:28:02 GMT 2025 - 1.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle
extendsFrom(currentClasspath) } } def currentClasspath = configurations.currentApiClasspath.incoming.artifactView { lenient(true) }.files def currentDistroJars = currentClasspath.filter { it.name.startsWith('gradle-') && it.name.endsWith('.jar') } def baselineJars = configurations.baselineJars
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
} } private TestDcerpcHandle handle; @BeforeEach void setUp() { // Setup buffer cache mocks with lenient stubbing lenient().when(mockContext.getBufferCache()).thenReturn(mockBufferCache); lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]); handle = new TestDcerpcHandle(mockContext, mockBinding); } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
MockitoAnnotations.openMocks(this); // Set the deferred field directly since it's a public field, not a method mockNdrBuffer.deferred = mockDeferredBuffer; lenient().when(mockNdrBuffer.derive(anyInt())).thenReturn(mockDeferredBuffer); lenient().when(mockDeferredBuffer.derive(anyInt())).thenReturn(mockDeferredBuffer); } @Test void testGetSyntax() { String syntax = srvsvc.getSyntax();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
private Configuration mockConfig; private NameQueryResponse nameQueryResponse; @BeforeEach void setUp() { // Mock the OEM encoding configuration with lenient stubbing // since not all tests need this stub lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Initialize NameQueryResponse before each test nameQueryResponse = new NameQueryResponse(mockConfig); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
@BeforeEach void setUp() { // Setup default mock behavior lenient().when(mockConfig.getNetbiosScope()).thenReturn("DEFAULT.SCOPE"); lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Setup mock name lenient().when(mockName.writeWireFormat(any(byte[].class), anyInt())).thenReturn(34); mockName.hexCode = 0x20;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
@Mock private NbtAddress mockQueryAddress; private NodeStatusResponse response; @BeforeEach void setUp() throws Exception { // Setup mock configuration with lenient stubbing lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Setup mock query address mockQueryAddress = mock(NbtAddress.class); Name mockName = new Name(mockConfig, "TEST", 0x20, null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0)