- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 2,377 for tests (0.02 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
/** * A generic JUnit test which tests {@code putAll} operations on a map. Can't be invoked directly; * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
internal/config/dns/etcd_dns_test.go
import "testing" func TestDNSJoin(t *testing.T) { tests := []struct { in []string out string }{ {[]string{"bla", "bliep", "example", "org"}, "bla.bliep.example.org."}, {[]string{"example", "."}, "example."}, {[]string{"example", "org."}, "example.org."}, // technically we should not be called like this. {[]string{"."}, "."}, } for i, tc := range tests { if x := dnsJoin(tc.in...); x != tc.out {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 28 17:31:12 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
joinUninterruptibly(interruptingThread, 2500, MILLISECONDS); Thread.interrupted(); if (interruptingThread.isAlive()) { // This will be hidden by test-output redirection: logger.severe("InterruptenatorTask did not exit; future tests may be affected"); /* * This fail() helps as long as TearDownAccepter is a TearDownStack that was *not* * configured with suppressThrows=true.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:38:30 GMT 2026 - 3.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#computeIfPresent}. Can't be invoked directly; please * see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.1K bytes - Click Count (0) -
tests/test_response_dependency.py
): return info client = TestClient(app) resp = client.get("/", headers={"user-agent": "test-agent"}) assert resp.status_code == 200 assert resp.json() == {"path": "/", "user_agent": "test-agent"} # Tests for BackgroundTasks type hint with Depends def test_background_tasks_with_depends_annotated():Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0) -
README.md
mvn package # Clean and rebuild mvn clean compile # Install to local repository mvn install ``` ### Testing ```bash # Run all tests (JUnit 4 based) mvn test # Run specific test class mvn test -Dtest=SpecificTest # Alternative test runner mvn surefire:test ``` ### Code Quality ```bash # Generate code coverage reports mvn jacoco:report # License header validation
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 09:24:52 GMT 2025 - 6.2K bytes - Click Count (0) -
cmd/http-tracer_test.go
}, { "?x=y&a=b", "?x=y&a=b", }, } for i, test := range testCases { gotQuery := redactLDAPPwd(test.query) if gotQuery != test.expectedQuery { t.Fatalf("test %d: expected %s got %s", i+1, test.expectedQuery, gotQuery) } } } // TestHTTPStatsRaceCondition tests the race condition fix for HTTPStats. // This test specifically addresses the race between: // - Write operations via updateStats.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/erasure-metadata-utils_test.go
} // Tests hashing order to be consistent. for i, testCase := range testCases { hashedOrder := hashOrder(testCase.objectName, 16) if !reflect.DeepEqual(testCase.hashedOrder, hashedOrder) { t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.hashedOrder, hashedOrder) } } // Tests hashing order to fail for when order is '-1'.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
} @Test public void test_getName() { assertEquals("groovy", groovyEngine.getName()); } // ===== Null-Safety Tests ===== /** * Test that evaluate returns null for null template */ @Test public void test_evaluate_nullTemplate() { final Map<String, Object> params = new HashMap<>(); params.put("test", "value");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java
import java.util.Collection; import java.util.List; import junit.framework.Test; /** * Tests the {@link List} implementations of {@link java.util}, suppressing tests that trip known * OpenJDK 6 bugs. * * @author Kevin Bourrillion */ @AndroidIncompatible // test-suite builders public class OpenJdk6ListTests extends TestsForListsInJavaUtil { public static Test suite() { return new OpenJdk6ListTests().allTests(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 2K bytes - Click Count (0)