- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,167 for setUp (0.01 sec)
-
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
private MockSystemHelper mockSystemHelper; private MockPopularWordHelper mockPopularWordHelper; private File tempDir; @Override public void setUp() throws Exception { super.setUp(); // Create temp directory for testing first tempDir = File.createTempFile("suggestjob_test", ""); tempDir.delete(); tempDir.mkdirs();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K 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) -
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 valueRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
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) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java
*/ class MsrpcEnumerateAliasesInDomainTest { @Mock private SamrDomainHandle mockDomainHandle; @Mock private SamrSamArray mockSamArray; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } /** * Test method for * {@link MsrpcEnumerateAliasesInDomain#MsrpcEnumerateAliasesInDomain(SamrDomainHandle, int, SamrSamArray)}. */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java
import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 Logoff AndX request message. * * This command is used to terminate a user session that was * previously established with a Session Setup AndX command. */ public class SmbComLogoffAndX extends AndXServerMessageBlock { /** * Creates a new SMB1 logoff request to end a user session. * * @param config the CIFS configurationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
private SsoManager ssoManager; private TestSsoAuthenticator testAuthenticator; private String currentSsoType = Constants.NONE; @Override public void setUp() throws Exception { super.setUp(); ssoManager = new SsoManager() { @Override protected String getSsoType() { return currentSsoType; } };Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
private Target nonEmptyProperSubset; private Target sameElements; private Target partialOverlap; private Target containsDuplicates; private Target nullSingleton; @Override public void setUp() throws Exception { super.setUp(); empty = new Target(emptyCollection(), "empty"); /* * We test that nullSingleton.retainAll(disjointList) does NOT throw aRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
class Trans2GetDfsReferralTest { @Mock private Configuration mockConfig; private Trans2GetDfsReferral trans2GetDfsReferral; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() throws Exception { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0)