- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 1,418 for SetUp (0.02 seconds)
-
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
@Mock private Configuration mockConfig; @Mock private NameServiceClient mockNameServiceClient; @Mock private NetbiosAddress mockLocalHost; @BeforeEach void setUp() { // Setup mock context with lenient stubbing to avoid UnnecessaryStubbingException lenient().when(mockContext.getConfig()).thenReturn(mockConfig);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/user/AdminUserActionTest.java
*/ public class AdminUserActionTest extends UnitFessTestCase { private AdminUserAction adminUserAction; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); adminUserAction = new AdminUserAction(); } @Test public void test_defaultConstructor() { final AdminUserAction action = new AdminUserAction();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 5.3K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java
private static final int[] factorials = new int[ARRAY_SIZE]; private static final double[] doubles = new double[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { positiveDoubles[i] = randomPositiveDouble(); doubles[i] = randomDouble(Long.SIZE); factorials[i] = RANDOM_SOURCE.nextInt(100); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java
import org.opensearch.core.common.Strings; import junit.framework.TestCase; public class SuggesterBuilderTest extends TestCase { OpenSearchRunner runner; @Override public void setUp() throws Exception { runner = new OpenSearchRunner(); runner.onBuild((number, settingsBuilder) -> { settingsBuilder.put("http.cors.enabled", true);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Nov 01 13:29:47 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/distributed/decom.sh
expanded_policy_count=$(./mc admin policy list myminio/ | wc -l) if [ $user_count -ne $expanded_user_count ]; then echo "BUG: original user count differs from expanded setup" exit 1 fi if [ $policy_count -ne $expanded_policy_count ]; then echo "BUG: original policy count differs from expanded setup" exit 1 fi ./mc version info myminio/versioned | grep -q "versioning is enabled" ret=$? if [ $ret -ne 0 ]; then
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 6.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
if (throwException) { throw new IllegalStateException("Fail"); } return 25; }); @Override protected void setUp() throws Exception { super.setUp(); exec = newCachedThreadPool(); task.addListener(listenerLatch::countDown, directExecutor()); } @Override protected void tearDown() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
this.throwOnEncode = throwOnEncode; } public void setThrowOnDecode(boolean throwOnDecode) { this.throwOnDecode = throwOnDecode; } } @BeforeEach void setUp() { ndrObject = new ConcreteNdrObject(); } /** * Test case for the encode method. * Verifies that the encode method of a concrete implementation is calledCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java
@Param({"10", "1000", "100000", "1000000"}) private int size; @Param HashFunctionEnum hashFunctionEnum; private byte[] testBytes; @BeforeExperiment void setUp() { testBytes = new byte[size]; random.nextBytes(testBytes); } @Benchmark int hasher(int reps) { HashFunction hashFunction = hashFunctionEnum.getHashFunction(); int result = 37;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java
@Param({"2", "3", "4", "5", "10"}) int lockNestingDepth; CycleDetectingLockFactory factory; private Lock[] plainLocks; private Lock[] detectingLocks; @BeforeExperiment void setUp() throws Exception { this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN); this.plainLocks = new Lock[lockNestingDepth]; for (int i = 0; i < lockNestingDepth; i++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.5K bytes - Click Count (0)