- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 1,190 for setMap (0.86 sec)
-
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
import org.codelibs.fess.unit.UnitFessTestCase; public class DataStoreParamsTest extends UnitFessTestCase { private DataStoreParams dataStoreParams; @Override public void setUp() throws Exception { super.setUp(); dataStoreParams = new DataStoreParams(); } // Test default constructor public void test_defaultConstructor() { DataStoreParams params = new DataStoreParams();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.5K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K 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 value
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java
/** * Benchmark for {@link EventBus}. * * @author Eric Fellheimer */ @NullUnmarked public class EventBusBenchmark { private EventBus eventBus; @BeforeExperiment void setUp() { eventBus = new EventBus("for benchmarking purposes"); eventBus.register(this); } @Benchmark void postStrings(int reps) { for (int i = 0; i < reps; i++) { eventBus.post("hello there");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcGetMembersInAliasTest.java
import jcifs.dcerpc.msrpc.lsarpc; class MsrpcGetMembersInAliasTest { @Mock private SamrAliasHandle mockAliasHandle; @Mock private lsarpc.LsarSidArray mockSids; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Should correctly initialize MsrpcGetMembersInAlias with provided parameters") void testConstructorInitialization() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
*/ class JettyHttpClientTest { private val client = HttpClient() @StartStop private val server = MockWebServer() @BeforeEach fun setUp() { client.start() } @AfterEach fun tearDown() { client.stop() } @Test fun get() { server.enqueue(MockResponse(body = "hello, Jetty HTTP Client")) val request =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.1K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/bug_report.md
## Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * Version used (`minio --version`): * Server setup and configuration:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jan 20 17:37:40 UTC 2022 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; public class DosFileFilterTest { private DosFileFilter filter; @BeforeEach public void setup() { filter = new DosFileFilter("*", SmbFile.ATTR_NORMAL); } @Test public void testAcceptReturnsTrueWhenAttributesMatch() throws Exception { SmbFile file = mock(SmbFile.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
*/ @DisplayName("DfsReferralDataImpl Tests") class DfsReferralDataImplTest { private DfsReferralDataImpl referralData; @Mock private Referral mockReferral; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); referralData = new DfsReferralDataImpl(); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/UserService.java
return userBhv.selectEntity(cb -> { cb.query().setName_Equal(username); }); } /** * Stores (inserts or updates) a user in the system. * Handles user authentication setup and database persistence. * If the surname is blank, it will be set to the user's name. * * @param user the user entity to store */ public void store(final User user) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.7K bytes - Viewed (0)