- Sort Score
- Result 10 results
- Languages All
Results 961 - 970 of 1,167 for SetUp (0.02 sec)
-
src/archive/zip/writer_test.go
Method: Deflate, }) w.Write(bigBuf) } zw.Close() } b.ReportAllocs() // Run once and then reset the timer. // This effectively discards the very large initial flate setup cost, // as well as the initialization of bigBuf. runOnce(&bytes.Buffer{}) b.ResetTimer() b.RunParallel(func(pb *testing.PB) { var buf bytes.Buffer for pb.Next() { runOnce(&buf) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
private SortedMultiset<E> sortedMultiset; private List<E> entries; private Entry<E> a; private Entry<E> b; private Entry<E> c; @Override public void setUp() throws Exception { super.setUp(); sortedMultiset = (SortedMultiset<E>) getMultiset(); entries = copyToList( getSubjectGenerator()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
private StatsAccumulator longManyValuesAccumulatorByAddAllIterator; private StatsAccumulator longManyValuesAccumulatorByAddAllVarargs; @Override protected void setUp() throws Exception { super.setUp(); emptyAccumulator = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyIterable = new StatsAccumulator(); emptyAccumulatorByAddAllEmptyIterable.addAll(ImmutableList.<Double>of());Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 36.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
*/ class TransPeekNamedPipeResponseTest { @Mock private Configuration mockConfig; private TransPeekNamedPipeResponse response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); response = new TransPeekNamedPipeResponse(mockConfig); } @Test @DisplayName("Constructor should initialize TransPeekNamedPipeResponse")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
/** * Test class for SmbOperationException */ @DisplayName("SmbOperationException Tests") public class SmbOperationExceptionTest { private SmbOperationException exception; @BeforeEach void setUp() { exception = null; } @Test @DisplayName("Should create exception with error code and message") void testBasicCreation() { // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/SidResolverTest.java
private SID mockSid2; @Mock private SID mockSid3; @Mock private SID mockDomainSid; private String testServerName; private SID[] testSids; @BeforeEach void setUp() { testServerName = "test-server.domain.com"; testSids = new SID[] { mockSid1, mockSid2, mockSid3 }; } // Test resolveSids with array @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
private static final long TEST_CHANGE_TIME = System.currentTimeMillis() - 4000; private static final int TEST_ATTRIBUTES = 0x20; // FILE_ATTRIBUTE_ARCHIVE @BeforeEach void setUp() { fileBasicInfo = new FileBasicInfo(); } @Test @DisplayName("Test interface mock behavior") void testInterfaceMock() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
} } @Nested @DisplayName("Encode Method Tests") class EncodeTests { private byte[] buffer; private int startIndex; @BeforeEach void setUp() { buffer = new byte[100]; startIndex = 10; } @Test @DisplayName("Should encode basic values correctly") void testEncodeBasicValues() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
*/ class Trans2QueryPathInformationResponseTest { @Mock private Configuration mockConfig; private Trans2QueryPathInformationResponse response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor with FILE_BASIC_INFO level") void testConstructorWithFileBasicInfo() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt
clientTestRule .newClientBuilder() .dns { throw UnknownHostException() } .dispatcher(dispatcher) .eventListenerFactory(clientTestRule.wrap(listener)) .build() @BeforeEach fun setUp() { dispatcher.maxRequests = 20 dispatcher.maxRequestsPerHost = 10 listener.forbidLock(dispatcher) } @Test fun maxRequestsZero() { assertFailsWith<IllegalArgumentException> {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.7K bytes - Viewed (0)