- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 1,167 for setUp (0.02 sec)
-
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
int count; @Param({"1", "10"}) int length; private String originalString; @BeforeExperiment @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 void setUp() { originalString = Strings.repeat("x", length); } @Benchmark void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
import jcifs.internal.smb1.ServerMessageBlock; /** * Tests for the SmbComCreateDirectory class. */ class SmbComCreateDirectoryTest { private Configuration mockConfig; @BeforeEach void setUp() { // Mock the Configuration object mockConfig = mock(Configuration.class); // Define behavior for the OEM encoding, which is used by writeStringRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
return new org.codelibs.fess.mylasta.direction.FessFwAssistantDirector(); } private FessCurtainFinallyHook curtainFinallyHook; @Override public void setUp() throws Exception { super.setUp(); curtainFinallyHook = new FessCurtainFinallyHook(); } // Test normal execution of hook method public void test_hook_normalExecution() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java
public class ImplementedInvokerAssistantTest extends UnitFessTestCase { private ImplementedInvokerAssistant invokerAssistant; @Override public void setUp() throws Exception { super.setUp(); invokerAssistant = new ImplementedInvokerAssistant(); } // Test constructor public void test_constructor() { assertNotNull(new ImplementedInvokerAssistant());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class JobExecutorTest extends UnitFessTestCase { private JobExecutor jobExecutor; @Override public void setUp() throws Exception { super.setUp(); // Create a concrete implementation for testing jobExecutor = new TestJobExecutor(); } public void test_execute() { // Test execute methodRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
@DisplayName("SmbComSeekResponse tests") class SmbComSeekResponseTest { @Mock private Configuration mockConfig; private SmbComSeekResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSeekResponse(mockConfig); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
public class ThumbnailManagerTest extends UnitFessTestCase { private ThumbnailManager thumbnailManager; private File tempDir; @Override public void setUp() throws Exception { super.setUp(); // Create temp directory for testing tempDir = Files.createTempDirectory("thumbnail_test").toFile(); tempDir.deleteOnExit();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UncaughtExceptionHandlersTest.java
/** * @author Gregory Kick */ @NullUnmarked public class UncaughtExceptionHandlersTest extends TestCase { private RuntimeWrapper runtimeMock; @Override protected void setUp() { runtimeMock = mock(RuntimeWrapper.class); } public void testExiter() { new Exiter(runtimeMock).uncaughtException(new Thread(), new Exception()); verify(runtimeMock).exit(1); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacGroupTest.java
/** * Tests for the {@link PacGroup} class. */ class PacGroupTest { private SID mockSid; private PacGroup pacGroup; private final int attributes = 42; @BeforeEach void setUp() { // Mock the SID object mockSid = mock(SID.class); pacGroup = new PacGroup(mockSid, attributes); } /** * Test method for {@link jcifs.pac.PacGroup#PacGroup(jcifs.smb.SID, int)}.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java
public class AbstractScriptEngineTest extends UnitFessTestCase { private TestScriptEngine testScriptEngine; private ScriptEngineFactory scriptEngineFactory; @Override public void setUp() throws Exception { super.setUp(); scriptEngineFactory = new ScriptEngineFactory(); ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory"); testScriptEngine = new TestScriptEngine(); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.5K bytes - Viewed (0)