- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 1,182 for setup (0.56 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractSetTester<E> extends AbstractCollectionTester<E> { /* * Previously we had a field named set that was initialized to the value of * collection in setUp(), but that caused problems when a tester changed the * value of set or collection but not both. */ protected final Set<E> getSet() { return (Set<E>) collection; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.4K bytes - Viewed (0) -
.github/workflows/pylint-presubmit.yml
with: output: ' ' - name: Report list of changed files run: | echo Changed files: ${{ steps.get_file_changes.outputs.files }} - name: Set up Python 3.9 uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 with: python-version: "3.9" - name: Install Python dependencies run: | python -m pip install --upgrade pipRegistered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Dec 01 09:57:00 UTC 2025 - 1.7K 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java
import jcifs.dcerpc.rpc.policy_handle; /** * Tests for the {@link MsrpcLsarClose} class. */ class MsrpcLsarCloseTest { private policy_handle mockHandle; @BeforeEach void setUp() { // Create a mock policy_handle for each test mockHandle = mock(policy_handle.class); } /** * Test case for the {@link MsrpcLsarClose#MsrpcLsarClose(policy_handle)} constructor.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java
/** * Tests for the SmbComBlankResponse class. */ class SmbComBlankResponseTest { private SmbComBlankResponse response; private byte[] buffer; @BeforeEach void setUp() { response = new SmbComBlankResponse(); buffer = new byte[100]; } /** * Test for the writeParameterWordsWireFormat method. * It should always return 0. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
public class SmbComTreeDisconnectTest { private Configuration config; private SmbComTreeDisconnect smbComTreeDisconnect; @Mock private Configuration mockConfig; @BeforeEach public void setUp() throws CIFSException { MockitoAnnotations.initMocks(this); config = new PropertyConfiguration(new Properties()); } /** * Test constructor initialization with valid configuration */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
import jcifs.internal.smb1.ServerMessageBlock; /** * Tests for the SmbComCreateDirectory class. */ class SmbComCreateDirectoryTest { private Configuration mockConfig; @BeforeEach void setUp() { // Mock the Configuration object mockConfig = mock(Configuration.class); // Define behavior for the OEM encoding, which is used by writeStringRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
int count; @Param({"1", "10"}) int length; private String originalString; @BeforeExperiment @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 void setUp() { originalString = Strings.repeat("x", length); } @Benchmark void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
int size; // use concrete classes to remove any possible polymorphic overhead? Object[] array; ArrayList<Object> arrayList; LinkedList<Object> linkedList; @BeforeExperiment void setUp() { array = new Object[size]; arrayList = Lists.newArrayListWithCapacity(size); linkedList = new LinkedList<>(); for (int i = 0; i < size; i++) { Object value = new Object();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.5K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.8K bytes - Viewed (0)