- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 8,559 for class$ (0.04 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
SrvCopychunk mockChunk1 = mock(SrvCopychunk.class); SrvCopychunk mockChunk2 = mock(SrvCopychunk.class); SrvCopychunk mockChunk3 = mock(SrvCopychunk.class); // Simulate different encode return values when(mockChunk1.encode(any(byte[].class), anyInt())).thenReturn(20); when(mockChunk2.encode(any(byte[].class), anyInt())).thenReturn(24);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
{* ../../docs_src/first_steps/tutorial001_py39.py hl[1] *} `FastAPI` is a Python class that provides all the functionality for your API. /// note | Technical Details `FastAPI` is a class that inherits directly from `Starlette`. You can use all the <a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a> functionality with `FastAPI` too. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
* protection against buffer overflow, integer overflow, and other attacks. */ public class Smb2NegotiateResponseInputValidationTest { private Configuration mockConfig; private Smb2NegotiateResponse response; @BeforeEach public void setUp() { mockConfig = Mockito.mock(Configuration.class); response = new Smb2NegotiateResponse(mockConfig); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// Verify method is inherited assertNotNull(AllocInfo.class.getMethod("decode", byte[].class, int.class, int.class)); assertEquals(int.class, AllocInfo.class.getMethod("decode", byte[].class, int.class, int.class).getReturnType()); } @Test @DisplayName("Should have FileSystemInformation constants accessible") void shouldHaveFileSystemInformationConstants() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
native-image-tests/src/test/kotlin/okhttp3/nativeimage/WithArgumentSourceTest.kt
/** * This enforces us having the params classes on the classpath to workaround * https://github.com/graalvm/native-build-tools/issues/745 */ class WithArgumentSourceTest { @ParameterizedTest @ArgumentsSource(FakeArgumentsProvider::class) fun passingTest(value: Int) { assertThat(value).isGreaterThan(0) } } internal class FakeArgumentsProvider : ArgumentsProvider {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
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); Smb2CreateResponse resp = new Smb2CreateResponse(config, "x");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
import org.junit.jupiter.params.provider.NullSource; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class SMBSignatureValidationExceptionTest { // Happy path: default constructor creates an exception with no message/cause @Test @DisplayName("Default ctor: null message/cause and success status")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
docs/ru/docs/environment-variables.md
//// tab | Linux, macOS, Windows Bash <div class="termy"> ```console // Вы можете создать переменную окружения MY_NAME с помощью $ export MY_NAME="Wade Wilson" // Затем её можно использовать в других программах, например $ echo "Hello $MY_NAME" Hello Wade Wilson ``` </div> //// //// tab | Windows PowerShell <div class="termy"> ```console
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import okhttp3.CacheControl.Companion.parse import okhttp3.Headers.Companion.headersOf import org.junit.jupiter.api.Test class CacheControlJvmTest { @Test @Throws(Exception::class) fun completeBuilder() { val cacheControl = CacheControl .Builder() .noCache() .noStore() .maxAge(1, TimeUnit.SECONDS)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java
// Use reflection to access the private extractProjectId method Method extractProjectIdMethod = DefaultProjectBuilder.class.getDeclaredMethod("extractProjectId", ModelBuilderResult.class); extractProjectIdMethod.setAccessible(true); // Create a mock ModelBuilderResult with null effectiveModel but available rawModelRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 7.5K bytes - Viewed (0)