- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 1,418 for SetUp (0.52 seconds)
-
android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
} }; abstract boolean doEquals(byte[] a, byte[] b); } private byte[] testBytesA; private byte[] testBytesB; @BeforeExperiment void setUp() { testBytesA = new byte[size]; random.nextBytes(testBytesA); testBytesB = Arrays.copyOf(testBytesA, size); int indexToDifferAt = -1; switch (whereToDiffer) { case ONE_PERCENT_IN:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 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) -
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
private static final String LOGIN_CONTEXT_NAME = "TestLoginContext"; private static final int KEY_TYPE_1 = 1; private static final int KEY_TYPE_2 = 2; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } /** * Test constructor with a valid login context. * * @throws LoginException if login fails. */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
*/ @ExtendWith(MockitoExtension.class) class KerberosRelevantAuthDataTest { private MockedStatic<KerberosAuthData> mockedStaticAuthData; @BeforeEach void setUp() { // Mock the static parse method of KerberosAuthData mockedStaticAuthData = mockStatic(KerberosAuthData.class); } @AfterEach void tearDown() { // Close the static mockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
int size; @Param({"2", "20"}) int nonAlphaRatio; // one non-alpha char per this many chars @Param boolean noWorkToDo; Random random; String testString; @BeforeExperiment void setUp() { random = new Random(0xdeadbeef); // fix the seed so results are comparable across runs int nonAlpha = size / nonAlphaRatio; int alpha = size - nonAlpha;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
@Param({"0", "1", "16", "32", "100"}) int componentLength; private Iterable<String> components; @BeforeExperiment @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 void setUp() { String component = Strings.repeat("a", componentLength); String[] raw = new String[count]; Arrays.fill(raw, component); components = Arrays.asList(raw); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
@Override protected String component() { return "updateCheckManager"; } @BeforeEach @Override public void setUp() throws Exception { super.setUp(); updateCheckManager = new DefaultUpdateCheckManager( new ConsoleLogger(Logger.LEVEL_DEBUG, "test"), new DefaultTrackingFileManager()); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java
RenderDataUtil.register(data, "relatedContentItems", relatedContentService.getRelatedContentList(relatedContentPager)); }).useForm(SearchForm.class, setup -> { setup.setup(form -> { copyBeanToBean(relatedContentPager, form, op -> op.include("term", "content")); }); }); } private HtmlResponse asEditHtml() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 15.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/ChatMessageTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; public class ChatMessageTest extends UnitFessTestCase { @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.2K bytes - Click Count (0)