- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 59 for test_app (0.04 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 Dec 26 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/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 Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 14:47:20 UTC 2025 - 5.9K bytes - Viewed (0) -
android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp.android.testapp import android.os.Bundle import androidx.activity.ComponentActivity import okhttp3.Call import okhttp3.Callback import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Aug 19 08:10:39 UTC 2025 - 1.7K bytes - Viewed (0) -
compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
* @return the suite of tests being tested */ public static Test suite() { return new TestSuite( AppTest.class ); } /** * Rigorous Test :-) */ public void testApp() { assertTrue( true ); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 14:10:21 UTC 2025 - 1.4K bytes - Viewed (0) -
tests/test_tutorial/test_settings/test_tutorial001.py
import importlib import pytest from fastapi.testclient import TestClient from pytest import MonkeyPatch @pytest.fixture(name="app", params=[pytest.param("tutorial001_py39")]) def get_app(request: pytest.FixtureRequest, monkeypatch: MonkeyPatch): monkeypatch.setenv("ADMIN_EMAIL", "******@****.***") mod = importlib.import_module(f"docs_src.settings.{request.param}") return mod.app def test_settings(app):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 690 bytes - Viewed (0) -
cmd/http-tracer_test.go
stats.Inc("TestAPI") } }(i) } for i := range numGoroutines / 2 { wg.Add(1) go func(id int) { defer wg.Done() for range opsPerGoroutine / 2 { _ = stats.Load(false) } }(i) } wg.Wait() finalStats := stats.Load(false) expected := numGoroutines * opsPerGoroutine actual := finalStats["TestAPI"] if actual != expected {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.3K bytes - Viewed (0) -
tests/test_tutorial/test_events/test_tutorial002.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient @pytest.fixture(name="app", scope="module") def get_app(): with pytest.warns(DeprecationWarning): from docs_src.events.tutorial002_py39 import app yield app def test_events(app: FastAPI): with TestClient(app) as client: response = client.get("/items/") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.4K bytes - Viewed (0) -
okhttp-coroutines/build.gradle.kts
api(libs.squareup.okio) api(libs.kotlin.stdlib) testImplementation(libs.kotlin.test.annotations) testImplementation(libs.kotlin.test.common) testImplementation(libs.kotlin.test.junit) testApi(libs.assertk) testImplementation(projects.okhttpTestingSupport) testImplementation(libs.kotlinx.coroutines.test) testImplementation(projects.mockwebserver3Junit5) } mavenPublishing {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:22:22 UTC 2025 - 937 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 1.6K bytes - Viewed (0) -
tests/test_tutorial/test_events/test_tutorial001.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient @pytest.fixture(name="app", scope="module") def get_app(): with pytest.warns(DeprecationWarning): from docs_src.events.tutorial001_py39 import app yield app def test_events(app: FastAPI): with TestClient(app) as client: response = client.get("/items/foo") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.6K bytes - Viewed (0)