- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 1,900 for tests (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/generic-handlers_test.go
switch { case test.ShouldFail && w.Code == http.StatusOK: t.Errorf("Test %d: should fail but status code is HTTP %d", i, w.Code) case !test.ShouldFail && w.Code != http.StatusOK: t.Errorf("Test %d: should not fail but status code is HTTP %d and not 200 OK", i, w.Code) } } } func Benchmark_hasBadPathComponent(t *testing.B) { tests := []struct { name string input string want bool }{Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSinkTester.java
import java.util.Map.Entry; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * A generator of {@code TestSuite} instances for testing {@code CharSink} implementations. * Generates tests of all methods on a {@code CharSink} given various inputs written to it. * * @author Colin Decker */ @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it). @NullUnmarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link Subscriber}. * * @author Cliff Biffle * @author Colin Decker */ @NullUnmarked public class SubscriberTest extends TestCase { private static final Object FIXTURE_ARGUMENT = new Object();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0) -
schema/constraint_test.go
}, } for k, result := range results { v, ok := constraints[k] if !ok { t.Errorf("Failed to found unique constraint %v from parsed constraints %+v", k, constraints) } tests.AssertObjEqual(t, result, v, "Name") tests.AssertObjEqual(t, result.Field, v.Field, "Name", "Unique", "UniqueIndex") }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Feb 04 07:49:19 GMT 2024 - 2.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
import java.util.Collection; import org.junit.Ignore; /** * A generic JUnit test which tests {@code containsAll()} operations on a collection. Can't be * invoked directly; please see {@link * com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Kevin Bourrillion * @author Chris Povirk */ @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 Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code remove(int)} operations on a list. Can't be invoked * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @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 Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
.github/workflows/containers.yml
uses: actions/setup-java@v5 with: distribution: 'temurin' java-version: 21 - name: Setup Gradle uses: gradle/actions/setup-gradle@v5 - name: Run Container TestsCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 875 bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect4Test.java
void setUp() { MockitoAnnotations.openMocks(this); } /** * Test method for * {@link jcifs.dcerpc.msrpc.MsrpcSamrConnect4#MsrpcSamrConnect4(java.lang.String, int, jcifs.dcerpc.msrpc.SamrPolicyHandle)}. */ @Test void testMsrpcSamrConnect4() { // Given final String server = "test-server"; final int access = 1; // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java
pager.sessionId = "test-session-123"; assertEquals("test-session-123", pager.sessionId); } @Test public void test_crawlingInfoPager_setId() { final CrawlingInfoPager pager = new CrawlingInfoPager(); pager.id = "crawling-id-456"; assertEquals("crawling-id-456", pager.id); } @Test public void test_crawlingInfoPager_pageSize() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
/** * A generic JUnit test which tests {@code remove} operations on a map. Can't be invoked directly; * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author George van den Driessche * @author Chris Povirk */ @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 Nov 14 23:40:07 GMT 2024 - 5.9K bytes - Click Count (0)