- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,639 for setups (0.04 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
private static final int DELAY_MS = 50; private static final String RETURN_VALUE = "abc"; private TimeLimiter timeLimiter; @Override protected void setUp() throws Exception { super.setUp(); timeLimiter = new FakeTimeLimiter(); } public void testCallWithTimeout_propagatesReturnValue() throws Exception { String result =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java
private PurgeLogJob purgeLogJob; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); purgeLogJob = new PurgeLogJob(); } // Test all services execute successfully @Test public void test_execute_allSuccess() { // Setup tracking variables final boolean[] deleteCrawlingInfoCalled = { false };Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 32.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
*/ @NullUnmarked public class TestLogHandlerTest extends TestCase { private TestLogHandler handler; private final TearDownStack stack = new TearDownStack(); @Override protected void setUp() throws Exception { super.setUp(); handler = new TestLogHandler(); // You could also apply it higher up the Logger hierarchy than this ExampleClassUnderTest.logger.addHandler(handler);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
private NotificationHelper notificationHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); notificationHelper = new NotificationHelper(); } @Test public void test_sendToSlack_withBlankWebhookUrls() { // Setup mock configuration with blank webhook URLs ComponentUtil.setFessConfig(new MockFessConfig() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 20K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileTest.java
@Mock private Configuration mockConfig; @Mock private Credentials mockCredentials; private URL url; private SmbFile smbFile; @BeforeEach public void setUp() throws MalformedURLException, CIFSException { // Mock configuration methods when(mockConfig.getPid()).thenReturn(1234); when(mockCifsContext.getConfig()).thenReturn(mockConfig);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.8K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java
@State(Scope.Benchmark) public class AvailableIndexFoldersBenchmark { private NodeEnvironment.NodePath nodePath; private NodeEnvironment nodeEnv; private Set<String> excludedDirs; @Setup public void setup() throws IOException { Path path = Files.createTempDirectory("test"); nodePath = new NodeEnvironment.NodePath(path); LogConfigurator.setNodeName("test");Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 27 15:29:12 GMT 2021 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
assertEquals(expectedSize, request.size()); } @Test @DisplayName("Test encode with name only (no timeout specified)") void testEncodeWithNameOnly() { // Setup String pipeName = "TestPipe"; FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName); byte[] nameBytes = pipeName.getBytes(StandardCharsets.UTF_16LE); byte[] buffer = new byte[100];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java
@Param({ "tiny", "short", "one_4k_field", "one_4m_field" }) private String source; @Param({ "message" }) private String includes; @Param({ "" }) private String excludes; @Setup public void setup() throws IOException { switch (source) { case "tiny": sourceBytes = new BytesArray("{\"message\": \"short\"}"); break; case "short":Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 17:34:14 GMT 2021 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java
import org.junit.jupiter.api.TestInfo; public class RateLimitHelperTest extends UnitFessTestCase { private RateLimitHelper rateLimitHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); rateLimitHelper = new RateLimitHelper(); rateLimitHelper.init(); } @Test public void test_getClientIp_remoteAddr() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java
private SortedSet<E> sortedSet; private List<E> values; private @Nullable E a; private @Nullable E b; private @Nullable E c; @Override public void setUp() throws Exception { super.setUp(); sortedSet = (SortedSet<E>) getSet(); values = copyToList( getSubjectGenerator()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.3K bytes - Click Count (0)