- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,163 for setUp (0.03 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
private NavigableSet<E> navigableSet; private List<E> values; private E a; private E b; private E c; @Override public void setUp() throws Exception { super.setUp(); navigableSet = (NavigableSet<E>) getSet(); values = copyToList( getSubjectGenerator()
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/RootAction.java
public HtmlResponse index() { if (isLoginRequired()) { return redirectToLogin(); } return asHtml(virtualHost(path_IndexJsp)).useForm(SearchForm.class, op -> { op.setup(form -> { buildFormParams(form); }); }).renderWith(data -> { buildInitParams(); RenderDataUtil.register(data, "notification", fessConfig.getNotificationSearchTop());
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
@Mock private Configuration mockConfig; private MockWitnessService mockService; @BeforeEach void setUp() throws Exception { mockService = new MockWitnessService(); mockService.start(); // Setup mock configuration with lenient stubbing lenient().when(mockContext.getConfig()).thenReturn(mockConfig);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
void putUserData(String key, Object value) { userData[key] = value } } ClassPool instanceScopedPool = new ClassPool() JApiClass apiClass = Stub(JApiClass) def setup() { instanceScopedPool.appendSystemPath() } void noViolation(def rule) { assert rule.maybeViolation(apiClass) == null } Map getInitializationParams() { return [Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; class NdrHyperTest { @Mock private NdrBuffer mockNdrBuffer; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testConstructorAndGetValue() { // Test that the constructor correctly initializes the valueRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
private static final Splitter STRING_SPLITTER = Splitter.on("X"); @BeforeExperiment @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 void setUp() { input = Strings.repeat(text, length); } @Benchmark int charSplitter(int reps) { int total = 0; for (int i = 0; i < reps; i++) { total += Iterables.size(CHAR_SPLITTER.split(input));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K bytes - Viewed (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
import java.text.SimpleDateFormat class UpdateReleasedVersionsIntegrationTest extends Specification { def format = new SimpleDateFormat('yyyyMMddHHmmssZ') @TempDir File tmpDir def setup() { format.timeZone = TimeZone.getTimeZone("UTC") } def "updated released version file has expected format"() { given: def releasedVersionsFile = new File(tmpDir, "released-versions.json")Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Aug 17 08:32:56 UTC 2021 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
import jcifs.internal.smb2.rdma.RdmaMemoryRegion; /** * Unit tests for TCP RDMA provider */ public class TcpRdmaProviderTest { private TcpRdmaProvider provider; @BeforeEach public void setUp() { provider = new TcpRdmaProvider(); } @Test public void testIsAvailable() { assertTrue(provider.isAvailable(), "TCP provider should always be available"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
import org.junit.jupiter.api.Test; /** * Unit tests for WitnessNotification class. */ public class WitnessNotificationTest { private WitnessNotification notification; @BeforeEach void setUp() { notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "TestResource"); } @Test void testNotificationCreation() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
@NullUnmarked public class SingleThreadAbstractFutureBenchmark { @Param Impl impl; private final Exception exception = new Exception(); private Facade<?> notDoneFuture; @BeforeExperiment void setUp() throws Exception { notDoneFuture = impl.newFacade(); } @Benchmark public long timeComplete_Normal(int reps) throws Exception { long r = 0; List<Facade<Integer>> list = new ArrayList<>(reps);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0)