- Sort Score
- Num 10 results
- Language All
Results 631 - 640 of 1,418 for SetUp (0.07 seconds)
-
guava-tests/test/com/google/common/io/CharSinkTester.java
super(factory, string, suiteName, caseDesc, method); this.lines = getLines(string); this.expectedLines = getLines(expected); } @Override protected void setUp() throws Exception { this.sink = factory.createSink(); } public void testOpenStream() throws IOException { Writer writer = sink.openStream(); try { writer.write(data); } finally {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
private static final Object FIXTURE_ARGUMENT = new Object(); private EventBus bus; private boolean methodCalled; private @Nullable Object methodArgument; @Override protected void setUp() throws Exception { bus = new EventBus(); methodCalled = false; methodArgument = null; } public void testCreate() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
public class HandleReconnectorTest { @Mock private PersistentHandleManager mockManager; private HandleReconnector reconnector; private HandleInfo testHandle; @BeforeEach public void setUp() { MockitoAnnotations.openMocks(this); reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay HandleGuid guid = new HandleGuid(); byte[] fileId = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; class DefaultToolchainTest { private final Logger logger = mock(Logger.class); @BeforeEach void setUp() throws Exception { MockitoAnnotations.initMocks(this); } private DefaultToolchain newDefaultToolchain(ToolchainModel model) { return new DefaultToolchain(model, logger) { @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
private FessCurtainBeforeHook curtainBeforeHook; private TimeZone originalTimeZone; private DfFinalTimeZoneProvider originalProvider; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); curtainBeforeHook = new FessCurtainBeforeHook(); // Store original timezone settings originalTimeZone = TimeZone.getDefault();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java
private static final int[] positive = new int[ARRAY_SIZE]; private static final int[] nonnegative = new int[ARRAY_SIZE]; private static final int[] ints = new int[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { exponent[i] = randomExponent(); factorial[i] = RANDOM_SOURCE.nextInt(50); binomial[i] = RANDOM_SOURCE.nextInt(factorial[i] + 1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
LoadingCache<Integer, Integer> cache; int max; static AtomicLong requests = new AtomicLong(0); static AtomicLong misses = new AtomicLong(0); @BeforeExperiment void setUp() { // random integers will be generated in this range, then raised to the // power of (1/concentration) and floor()ed max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration)); cache =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
* Tests for the SmbComNegotiate class. */ class SmbComNegotiateTest { private SmbComNegotiate smbComNegotiate; private static final String DIALECTS = "\u0002NT LM 0.12\u0000"; @BeforeEach void setUp() { // Create a new instance before each test smbComNegotiate = new SmbComNegotiate(); } /** * Test the constructor of SmbComNegotiate.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
return fields; } }); } @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // Setup FessConfig setupMockFessConfig(); // Initialize QueryFieldConfig QueryFieldConfig queryFieldConfig = new QueryFieldConfig();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java
private static final String SQL_REM_CONTENT = "rem utldtree.sql\nrem\nCREATE TABLE test (id NUMBER);\n"; private FessMimeTypeHelper mimeTypeHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); mimeTypeHelper = new FessMimeTypeHelper(); } @Override protected void tearDown(TestInfo testInfo) throws Exception { ComponentUtil.setFessConfig(null);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 24 09:06:33 GMT 2026 - 12.1K bytes - Click Count (0)