- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for testMap (0.11 sec)
-
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
protected <K, V> Map<K, V> create() { TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; } static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable { public final Object mutex; private final Map<K, V> delegate; public TestMap(Map<K, V> delegate, Object mutex) { checkNotNull(mutex);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
} public void test_useForNull_twice() { Joiner j = Joiner.on("x").useForNull("y"); assertThrows(UnsupportedOperationException.class, () -> j.useForNull("y")); } public void testMap() { MapJoiner j = Joiner.on(';').withKeyValueSeparator(':'); assertEquals("", j.join(ImmutableMap.of())); assertEquals(":", j.join(ImmutableMap.of("", "")));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
String i18nHash = "7fa826962ce2079c8334cd4ebf33aea4"; assertEquals(i18nHash, Files.hash(i18nFile, Hashing.md5()).toString()); } public void testMap() throws IOException { // Test data int size = 1024; byte[] bytes = newPreFilledByteArray(size); // Setup File file = createTempFile(); Files.write(bytes, file); // Test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
String i18nHash = "7fa826962ce2079c8334cd4ebf33aea4"; assertEquals(i18nHash, Files.hash(i18nFile, Hashing.md5()).toString()); } public void testMap() throws IOException { // Test data int size = 1024; byte[] bytes = newPreFilledByteArray(size); // Setup File file = createTempFile(); Files.write(bytes, file); // Test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/resources/test_app.xml
Shinsuke Sugaya <******@****.***> 1755612576 +0900
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 390 bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
src[srcIndex + 52] = 0x20; // hex code matching mockQueryAddress src[srcIndex + 53] = 0x04; // flags: active // MAC address (6 bytes) byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 }; System.arraycopy(testMac, 0, src, srcIndex + 55, 6); // Statistics (6 bytes) byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 }; System.arraycopy(stats, 0, src, srcIndex + 61, 6);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
android-test-app/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="okhttp.android.testapp"> <uses-permission android:name="android.permission.INTERNET" /> <application android:allowBackup="true" android:label="@string/app_name" android:supportsRtl="true" android:name=".TestApplication" > <activity android:name=".MainActivity"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Aug 19 08:10:39 UTC 2025 - 992 bytes - Viewed (0) -
maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java
import org.junit.Test; import java.io.IOException; /** * Unit test for simple App. */ public class AppTest { private final MockWebServer mockWebServer = new MockWebServer(); @Test public void testApp() throws IOException { mockWebServer.enqueue(new MockResponse(200, Headers.of(), "Hello, Maven!")); mockWebServer.start(); new SampleHttpClient().makeCall(mockWebServer.url("/")); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 12 12:05:57 UTC 2025 - 1.1K bytes - Viewed (0) -
okcurl/build.gradle.kts
} } } dependencies { api(projects.okhttp) api(projects.loggingInterceptor) api(libs.squareup.okio) implementation(libs.clikt) testApi(libs.assertk) testImplementation(kotlin("test")) } configure<AnimalSnifferExtension> { isIgnoreFailures = true } tasks.jar { manifest { attributes("Automatic-Module-Name" to "okhttp3.curl")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 1.6K bytes - Viewed (0) -
android-test-app/build.gradle.kts
@file:Suppress("UnstableApiUsage") plugins { id("com.android.application") id("kotlin-android") } android { compileSdk = 36 namespace = "okhttp.android.testapp" testBuildType = "release" defaultConfig { minSdk = 21 targetSdk = 36 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } compileOptions { targetCompatibility(JavaVersion.VERSION_11)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 12:35:48 UTC 2025 - 1.2K bytes - Viewed (0)