- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 1,167 for SetUp (0.01 sec)
-
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
* @throws IOException */ @BeforeEach void setUp() throws IOException { // Create a real URL instead of mocking to avoid protocol issues mockUrl = new URL("http://test.example.com/path"); // Basic setup for mocks to avoid NullPointerExceptions when(mockConnection.getURL()).thenReturn(mockUrl);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
docs/logging/README.md
NOTE: - `timeToFirstByte` and `timeToResponse` will be expressed in Nanoseconds. - Additionally in the case of the erasure coded setup `tags.objectLocation` provides per object details about - Pool number the object operation was performed on. - Set number the object operation was performed on.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
@Mock private rpc.sid_t mockSidT; @Mock private rpc.unicode_string mockUnicodeString; @Mock private lsarpc.LsarSidArray mockLsarSidArray; @BeforeEach void setUp() { // Directly set the deferred field on the mock mockNdrBuffer.deferred = mockDeferredBuffer; // Configure mocks for NdrBuffer interactionsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K 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 {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt
val platform = PlatformRule() @RegisterExtension @JvmField val clientTestRule = OkHttpClientTestRule() @StartStop private val server = MockWebServer() @BeforeEach fun setup() { // BCX509ExtendedTrustManager not supported in TlsUtil.newTrustManager platform.assumeNotBouncyCastle() } @Test fun `untrusted host in insecureHosts connects successfully`() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
import org.codelibs.core.misc.LocaleUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author higa */ public class MessageFormatterTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; class RequestTest { @Mock private Request mockRequest; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testGetCreditCost() { // Test case for getCreditCost methodRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; class NdrSmallTest { @Mock private NdrBuffer mockNdrBuffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void testConstructor_validValue() { // Test with a value within the byte range NdrSmall ndrSmall = new NdrSmall(123);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
return responseProcessor; } } private TestRuleManager ruleManager; @Override protected void setUp() throws Exception { super.setUp(); ruleManager = new TestRuleManager(); } /** * Test adding a single rule */ public void test_addRule_single() {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
private File tempDir; @Override public void setUp() throws Exception { super.setUp(); thumbnailJob = new GenerateThumbnailJob(); // Create temporary directory tempDir = Files.createTempDirectory("test").toFile(); tempDir.deleteOnExit(); // Setup test components testProcessHelper = new TestProcessHelper();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0)