- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 2,813 for test2 (0.03 seconds)
-
tests/serializer_test.go
t.Fatalf("failed to migrate ProductWithAny, got error %v", err) } // Test creating record with nil any field product := ProductWithAny{Name: "Product 1"} if err := DB.Create(&product).Error; err != nil { t.Fatalf("failed to create product with nil any field, got error %v", err) } // Test updating/saving record with nil any field (should not panic) product.Name = "Product 1 (Updated)"
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/MIENameTest.java
class EqualityContract { @Test void equalsIgnoresCaseForName() { ASN1ObjectIdentifier oid = testOid(); MIEName a = new MIEName(oid, "Alice"); MIEName b = new MIEName(oid, "alice"); assertEquals(a, b); assertEquals(a.hashCode(), b.hashCode()); } @Test void equalsHandlesNullNames() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
cmd/erasure-healing_test.go
uuid2 "github.com/google/uuid" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/config/storageclass" ) // Tests isObjectDangling function func TestIsObjectDangling(t *testing.T) { fi := newFileInfo("test-object", 2, 2) fi.Erasure.Index = 1 ifi := newFileInfo("test-object", 2, 2) ifi.SetInlineData() ifi.Erasure.Index = 1 testCases := []struct { name string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 48.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
} // TODO(cpovirk): should we reject null items, since the tests already check null automatically? @CanIgnoreReturnValue public RelationshipTester<T> addRelatedGroup(Iterable<? extends T> group) { groups.add(ImmutableList.copyOf(group)); return this; } public void test() { for (int groupNumber = 0; groupNumber < groups.size(); groupNumber++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
import java.util.LinkedHashSet; import java.util.List; import java.util.Map.Entry; import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit tests for {@code LinkedHashMultimap}. * * @author Jared Levy */ @GwtCompatible @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.5K bytes - Click Count (0) -
okhttp/build.gradle.kts
commonTest { dependencies { implementation(projects.okhttpTestingSupport) implementation(libs.assertk) implementation(libs.kotlin.test.annotations) implementation(libs.kotlin.test.common) implementation(libs.kotlin.test.junit) implementation(libs.junit) implementation(libs.junit.jupiter.api) implementation(libs.junit.jupiter.params) } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 22:16:39 GMT 2026 - 11.4K bytes - Click Count (0) -
CONTRIBUTING.md
**4. Approved** - Once the PR is approved, it gets `kokoro:force-run` label applied and it initiates CI/CD tests. - We can't move forward if these tests fail. - In such situations, we may request you to make further changes to your PR for the tests to pass. - Once the tests pass, we now bring all the code into the internal code base, using a job called "copybara".Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Jan 11 04:47:59 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/resources/thumbnail/test_generate_thumbnail.sh
chmod +x "${GENERATE_THUMBNAIL}" echo "--- Basic argument tests ---" # Test: No arguments run_test "no arguments" 1 "${GENERATE_THUMBNAIL}" # Test: Empty command type run_test "empty command type" 1 "${GENERATE_THUMBNAIL}" "" "file:/tmp/test" "/tmp/out.png" # Test: Unsupported command type run_test "unsupported command type" 1 "${GENERATE_THUMBNAIL}" "unsupported" "file:/tmp/test" "/tmp/out.png" echo ""Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 04 08:02:36 GMT 2025 - 7.9K bytes - Click Count (0) -
src/archive/tar/strconv_test.go
} } if got != v.want { t.Errorf("formatPAXRecord(%q, %q): got %q, want %q", v.inKey, v.inVal, got, v.want) } } } func BenchmarkParsePAXTime(b *testing.B) { tests := []struct { name string in string want time.Time ok bool }{ { name: "NoNanos", in: "123456", want: time.Unix(123456, 0), ok: true, }, {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 11 17:52:43 GMT 2025 - 15K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
/** * Tester for {@link Multimap#putAll(Multimap)}. * * @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. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapPutAllMultimapTester<K, V>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.2K bytes - Click Count (0)