- Sort Score
- Num 10 results
- Language All
Results 951 - 960 of 1,639 for setups (0.04 seconds)
-
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
Credentials credentials; @Mock DfsResolver dfsResolver; private SmbTreeConnection newConn() { return new SmbTreeConnection(ctx) { }; } @BeforeEach void setup() { when(ctx.getConfig()).thenReturn(config); // keep retries small for faster and deterministic tests when(config.getMaxRequestRetries()).thenReturn(2);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
import org.junit.jupiter.api.TestInfo; public class AbstractLlmClientTest extends UnitFessTestCase { private TestableAbstractLlmClient client; @Override protected void setUp(final TestInfo testInfo) throws Exception { super.setUp(testInfo); client = new TestableAbstractLlmClient(); } @Override protected void tearDown(final TestInfo testInfo) throws Exception { super.tearDown(testInfo);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
public void testHashCode() { int expectedHashCode = 0; for (E element : getSampleElements()) { expectedHashCode += (element == null) ? 0 : element.hashCode(); } assertEquals( "A Set's hashCode() should be the sum of those of its elements.", expectedHashCode, getSet().hashCode()); } @CollectionSize.Require(absent = CollectionSize.ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
String charsetName; @Param ReadStrategy strategy; @Param({"10", "1024", "1048576"}) int size; Charset charset; ByteSource data; @BeforeExperiment public void setUp() { charset = Charset.forName(charsetName); StringBuilder sb = new StringBuilder(); Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior sb.ensureCapacity(size);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
String charsetName; @Param ReadStrategy strategy; @Param({"10", "1024", "1048576"}) int size; Charset charset; ByteSource data; @BeforeExperiment public void setUp() { charset = Charset.forName(charsetName); StringBuilder sb = new StringBuilder(); Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior sb.ensureCapacity(size);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
@Mock private Configuration mockConfig; private static byte[] blobCred() { return "blobdata".getBytes(StandardCharsets.UTF_8); } @BeforeEach void setup() { when(mockContext.getConfig()).thenReturn(mockConfig); when(mockNegotiate.getServerData()).thenReturn(new ServerDataStub()); } private void setupNegotiateStubs() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
@Mock private CIFSContext mockContext; @Mock private jcifs.Configuration mockConfig; private PersistentHandleManager manager; private Path tempDir; @BeforeEach public void setUp() throws IOException { MockitoAnnotations.openMocks(this); // Create temporary directory for test state tempDir = Files.createTempDirectory("jcifs-test-handles");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 6.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
@Inject protected PlexusContainer container; public PlexusContainer getContainer() { return container; } @BeforeEach public void setUp() throws Exception { if (getContainer().hasComponent(ProjectBuilder.class, "test")) { projectBuilder = getContainer().lookup(ProjectBuilder.class, "test"); } else {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 7.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
* */ @Deprecated class OperatingSystemProfileActivatorTest extends AbstractProfileActivatorTest<OperatingSystemProfileActivator> { @Override @BeforeEach void setUp() throws Exception { activator = new OperatingSystemProfileActivator(); } private Profile newProfile(ActivationOS.Builder activationBuilder) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
private SortedMultiset<E> sortedMultiset; private List<E> entries; private Entry<E> a; private Entry<E> b; private Entry<E> c; @Override public void setUp() throws Exception { super.setUp(); sortedMultiset = (SortedMultiset<E>) getMultiset(); entries = copyToList( getSubjectGenerator()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0)