- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 860 for setMap (0.03 sec)
-
src/test/java/jcifs/util/transport/RequestTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; class RequestTest { @Mock private Request mockRequest; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testGetCreditCost() { // Test case for getCreditCost methodRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt
val platform = PlatformRule() @RegisterExtension @JvmField val clientTestRule = OkHttpClientTestRule() @StartStop private val server = MockWebServer() @BeforeEach fun setup() { // BCX509ExtendedTrustManager not supported in TlsUtil.newTrustManager platform.assumeNotBouncyCastle() } @Test fun `untrusted host in insecureHosts connects successfully`() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 4.2K 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
class Trans2QueryFSInformationTest { private Trans2QueryFSInformation trans2QueryFSInfo; private Configuration config; @Mock private Configuration mockConfig; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); Properties props = new Properties(); config = new PropertyConfiguration(props); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
/** * Tests for the {@link Trans2SetFileInformationResponse} class. */ class Trans2SetFileInformationResponseTest { private Trans2SetFileInformationResponse response; @BeforeEach void setUp() { // Initialize a new response object before each test response = new Trans2SetFileInformationResponse(); } /** * Test for the constructor of {@link Trans2SetFileInformationResponse}.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
@Param({"10", "100", "1000", "10000", "100000"}) int datasetSize; @Param QuantilesAlgorithm algorithm; private final double[][] datasets = new double[0x100][]; @BeforeExperiment void setUp() { Random rng = new Random(); for (int i = 0; i < 0x100; i++) { datasets[i] = new double[datasetSize]; for (int j = 0; j < datasetSize; j++) { datasets[i][j] = rng.nextDouble(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
import jcifs.smb.FileEntry; class MsrpcDfsRootEnumTest { private static final String TEST_SERVER = "testserver"; private MsrpcDfsRootEnum dfsRootEnum; @BeforeEach void setUp() { dfsRootEnum = new MsrpcDfsRootEnum(TEST_SERVER); } @Test @DisplayName("Constructor should initialize all fields correctly") void testConstructorInitialization() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java
public XpathTransformer xpathTransformer; public XpathTransformer xpathMapTransformer; public XpathTransformer xpathEntityTransformer; @Override protected void setUp() throws Exception { super.setUp(); { xpathTransformer = new XpathTransformer(); xpathTransformer.setName("xpathTransformer"); Map<String, String> featureMap = newHashMap();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 12.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java
/** * @author shinsuke * */ public class MimeTypeHelperImplTest extends PlainTestCase { private StandardCrawlerContainer container; @Override protected void setUp() throws Exception { super.setUp(); container = new StandardCrawlerContainer().singleton("mimeTypeHelper", MimeTypeHelperImpl.class); } public void test_getContentType_filenameFirst() throws IOException {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 11.6K bytes - Viewed (0)