- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for Initializers (0.09 sec)
-
android-test/src/test/kotlin/okhttp/android/test/RobolectricOkHttpClientTest.kt
@Config( sdk = [23, 26, 30, 33, 35], ) class RobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() { @Before fun setContext() { // This is awkward because Robolectric won't run our initializers and we don't want test deps // https://github.com/robolectric/robolectric/issues/8461 OkHttp.initialize(ApplicationProvider.getApplicationContext()) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
} /** * Test method for {@link jcifs.dcerpc.msrpc.MsrpcGetMembersInAlias#MsrpcGetMembersInAlias(SamrAliasHandle, LsarSidArray)}. * Verifies that the constructor correctly initializes the object's fields using reflection for protected members. */ @Test void testConstructor() throws NoSuchFieldException, IllegalAccessException { // Create an instance of the class to be tested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/RC4.java
*/ public RC4() { } /** * Constructs and initializes an RC4 cipher with the specified key. * * @param key the encryption key */ public RC4(final byte[] key) { init(key, 0, key.length); } /** * Initializes the RC4 cipher with a key. * This method sets up the RC4 state array using the key scheduling algorithm. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
cmd/erasure-sets_test.go
defer cancel() nDisks := 16 // Maximum disks. var erasureDisks []string for range nDisks { // Do not attempt to create this path, the test validates // so that newErasureSets initializes non existing paths // and successfully returns initialized object layer. disk := filepath.Join(globalTestTmpDir, "minio-"+nextSuffix()) erasureDisks = append(erasureDisks, disk) defer os.RemoveAll(disk) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/Request.java
* * @author mbechler * @param <T> response type */ public interface Request<T extends CommonServerMessageBlockResponse> extends CommonServerMessageBlockRequest { /** * Initializes and returns a response object for this request. * * @param tc the CIFS context * @return the initialized response */ T initResponse(CIFSContext tc); /** *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java
void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testConstructorAndGetValue() { // Test that the constructor correctly initializes the value long expectedValue = 123456789012345L; NdrHyper ndrHyper = new NdrHyper(expectedValue); assertEquals(expectedValue, ndrHyper.value, "Constructor should set the correct value."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
* @return the batch limit for the command, or null if not set */ protected Integer doGetBatchLimit(final String cmd) { return null; } /** * Initializes the resolver order for name resolution. * * @param ro comma-separated list of resolver types (LMHOSTS, WINS, BCAST, DNS) */ protected void initResolverOrder(final String ro) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
hasMessage("Unable to load PublicSuffixDatabase.list resource.") cause().isNotNull().all { hasMessage( "Platform applicationContext not initialized. " + "Startup Initializer possibly disabled, " + "call OkHttp.initialize before test.", ) hasClass<IOException>() } } } companion object { @AfterClass @JvmStatic
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
response = new Trans2SetFileInformationResponse(config); } @Test @DisplayName("Test constructor initializes object correctly") void testConstructor() { // Test that the constructor properly initializes the object assertNotNull(response); // The command is not set in the constructor, defaults to 0 assertEquals(0, response.getCommand());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import org.junit.jupiter.api.Test; class AvChannelBindingsTest { /** * Test that the constructor correctly initializes with a valid channel binding hash. */ @Test void testConstructorWithValidHash() { byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0)