- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 1,167 for setUp (0.02 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; class NdrSmallTest { @Mock private NdrBuffer mockNdrBuffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void testConstructor_validValue() { // Test with a value within the byte range NdrSmall ndrSmall = new NdrSmall(123);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
@Mock private rpc.sid_t mockSidT; @Mock private rpc.unicode_string mockUnicodeString; @Mock private lsarpc.LsarSidArray mockLsarSidArray; @BeforeEach void setUp() { // Directly set the deferred field on the mock mockNdrBuffer.deferred = mockDeferredBuffer; // Configure mocks for NdrBuffer interactionsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
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) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
import org.codelibs.core.misc.LocaleUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author higa */ public class MessageFormatterTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.6K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
.github/workflows/replication.yaml
name: Advanced Tests with Go ${{ matrix.go-version }} runs-on: ubuntu-latest strategy: matrix: go-version: [1.24.x] steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} check-latest: true - name: Test Decom run: | sudo sysctl net.ipv6.conf.all.disable_ipv6=0Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 2.2K bytes - Viewed (0) -
ci/official/envs/ci_default
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== # Note: this file gets sourced in utilities/setup.sh, which has "set -u" # (error on undefined variables). This ensures that (a) every TFCI variable # has an explicit default value, and (b) no script can accidentally use a
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Jan 27 22:53:36 UTC 2025 - 2.9K bytes - Viewed (0) -
cmd/test-utils_test.go
nDisks := 16 erasureDisks, err := getRandomDisks(nDisks) if err != nil { t.Fatalf("Initialization of drives for Erasure setup: %s", err) } objLayer, _, err := initObjectLayer(ctx, mustGetPoolEndpoints(0, erasureDisks...)) if err != nil { t.Fatalf("Initialization of object layer failed for Erasure setup: %s", err) } if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
* * @author mike nonemacher */ @NullUnmarked public class NullCacheTest extends TestCase { QueuingRemovalListener<Object, Object> listener; @Override protected void setUp() { listener = queuingRemovalListener(); } public void testGet() { Object computed = new Object(); LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() .maximumSize(0)Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.4K bytes - Viewed (0)