- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,230 for setups (0.06 sec)
-
android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
static final Object EVENT = new Object(); abstract H createSubscriber(); private @Nullable H subscriber; H getSubscriber() { return subscriber; } @Override protected void setUp() throws Exception { subscriber = createSubscriber(); EventBus bus = new EventBus(); bus.register(subscriber); bus.post(EVENT); } @Override protected void tearDown() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
} public void testMap() throws IOException { // Test data int size = 1024; byte[] bytes = newPreFilledByteArray(size); // Setup File file = createTempFile(); Files.write(bytes, file); // Test MappedByteBuffer actual = Files.map(file); // Verify ByteBuffer expected = ByteBuffer.wrap(bytes);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
cmd/endpoint_test.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
/** * Test suite for FileSystemInformation interface and its implementations */ class FileSystemInformationTest { @Mock private FileSystemInformation mockFileSystemInfo; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } /** * Test implementation class for FileSystemInformation interface */ static class TestFileSystemInformation implements FileSystemInformation {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
public class IntervalControlHelperTest extends UnitFessTestCase { private IntervalControlHelper intervalControlHelper; @Override public void setUp() throws Exception { super.setUp(); intervalControlHelper = new IntervalControlHelper(); } public void test_noRule() { assertEquals(0, intervalControlHelper.getDelay()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class FessLabelsTest extends UnitFessTestCase { private FessLabels fessLabels; @Override public void setUp() throws Exception { super.setUp(); fessLabels = new FessLabels(); } /** * Test that assertPropertyNotNull throws exception for null input */ public void test_assertPropertyNotNull_withNull() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
public class FessUserBeanTest extends UnitFessTestCase { private FessUserBean fessUserBean; private TestFessUser testUser; @Override public void setUp() throws Exception { super.setUp(); testUser = new TestFessUser(); fessUserBean = new FessUserBean(testUser); } public void test_getUserId() { // Test with normal user
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class DataStoreTest extends UnitFessTestCase { private DataStore dataStore; @Override public void setUp() throws Exception { super.setUp(); } public void test_store_basic() { // Create a simple DataStore implementation for testing final AtomicBoolean storeCalled = new AtomicBoolean(false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
doc/go_mem.html
</p> <pre> var a string var once sync.Once func setup() { a = "hello, world" } func doprint() { once.Do(setup) print(a) } func twoprint() { go doprint() go doprint() } </pre> <p> calling <code>twoprint</code> will call <code>setup</code> exactly once. The <code>setup</code> function will complete before either call of <code>print</code>.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 05 15:41:37 UTC 2025 - 26.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java
private static final int ARRAY_SIZE = 0x10000; List<Multiset<Integer>> multisets = new ArrayList<>(0x10000); int[] queries = new int[ARRAY_SIZE]; @BeforeExperiment void setUp() { Random random = new Random(); multisets.clear(); for (int i = 0; i < ARRAY_SIZE; i++) { HashMultiset<Integer> multiset = HashMultiset.<Integer>create(); multisets.add(multiset);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.7K bytes - Viewed (0)