- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 1,167 for setUp (0.03 sec)
-
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
*/ public class HandleInfoTest { private HandleGuid testGuid; private byte[] testFileId; private Smb2LeaseKey testLeaseKey; @BeforeEach public void setUp() { testGuid = new HandleGuid(); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) (i + 1); } testLeaseKey = new Smb2LeaseKey(); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
private StopwordsFile stopwordsFile; private File testFile; private DictionaryManager dictionaryManager; @Override public void setUp() throws Exception { super.setUp(); // Create a temporary test file testFile = File.createTempFile("test_stopwords", ".txt"); testFile.deleteOnExit(); // Write test data to fileRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
private Kerb5Context ctx; private MockedStatic<GSSManager> mockedStatic; @BeforeEach void setUp() throws Exception { // Mock the static GSSManager.getInstance() method mockedStatic = mockStatic(GSSManager.class); mockedStatic.when(GSSManager::getInstance).thenReturn(gssManager); // Setup mock behavior for GSSManager with lenient matchersRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
class PreauthIntegrityNegotiateContextTests { private PreauthIntegrityNegotiateContext context; private byte[] buffer; @BeforeEach void setUp() { buffer = new byte[BUFFER_SIZE]; } @Test @DisplayName("Should create context with constructor parameters") void testConstructorWithParameters() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
int n; @Param MeanAlgorithm meanAlgorithm; @Param VarianceAlgorithm varianceAlgorithm; private final double[][] values = new double[0x100][]; @BeforeExperiment void setUp() { Random rng = new Random(); for (int i = 0; i < 0x100; i++) { values[i] = new double[n]; for (int j = 0; j < n; j++) { values[i][j] = rng.nextDouble(); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (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) { @OverrideRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 4.9K bytes - Viewed (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];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractListTester<E extends @Nullable Object> extends AbstractCollectionTester<E> { /* * Previously we had a field named list that was initialized to the value of * collection in setUp(), but that caused problems when a tester changed the * value of list or collection but not both. */ protected final List<E> getList() { return (List<E>) collection; } /** * {@inheritDoc}Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
ImmutableSet.copyOf(QuantilesAlgorithm.values()), ImmutableSet.of(REFERENCE_ALGORITHM)) .immutableCopy(); private double[] dataset; @Override protected void setUp() { dataset = new double[DATASET_SIZE]; for (int i = 0; i < DATASET_SIZE; i++) { dataset[i] = rng.nextDouble(); } } public void testSingleQuantile_median() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
public ListenableFutureTester(ListenableFuture<?> future) { this.exec = newCachedThreadPool(); this.future = checkNotNull(future); this.latch = new CountDownLatch(1); } public void setUp() { future.addListener( new Runnable() { @Override public void run() { latch.countDown(); } }, exec);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 3.3K bytes - Viewed (0)