- Sort Score
- Num 10 results
- Language All
Results 1181 - 1190 of 1,929 for latests (0.04 seconds)
-
tests/update_has_many_test.go
package tests_test import ( "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestUpdateHasManyAssociations(t *testing.T) { user := *GetUser("update-has-many", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}} if err := DB.Save(&user).Error; err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/AddMatch.java
this.matchKey = matchKey; this.matchValue = matchValue; this.testName = Objects.requireNonNull(testName, "adding matches is only supported for named tests"); } @Override public boolean shouldApply(RestTestContext testContext) { return testContext.getTestName().equals(testName); } @OverrideCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/service/UserServiceTest.java
import org.codelibs.fess.opensearch.user.exentity.User; import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; /** * Unit tests for {@link UserService}. * Tests user service business logic including store, delete, and password operations. */ public class UserServiceTest extends UnitFessTestCase { private UserService userService; @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * JUnit 5 tests for {@link TestLocking}. * Tests command line argument parsing and basic field initialization. * Does not require a real SMB server - focuses on application logic. */ @ExtendWith(MockitoExtension.class) class TestLockingTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
cmd/bucket-lifecycle-handlers_test.go
ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testBucketLifecycleHandlers, endpoints: []string{"GetBucketLifecycle", "PutBucketLifecycle", "DeleteBucketLifecycle"}}) } // Simple tests of bucket lifecycle: PUT, GET, DELETE. // Tests are related and the order is important. func testBucketLifecycleHandlers(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler, creds auth.Credentials, t *testing.T, ) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jun 10 15:50:49 GMT 2024 - 11.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java
* @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 BiMapRemoveTester<K, V> extends AbstractBiMapTester<K, V> { @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.2K bytes - Click Count (1) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
* @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. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public abstract class AbstractListIndexOfTester<E> extends AbstractListTester<E> { /** Override to call {@code indexOf()} or {@code lastIndexOf()}. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java
* @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 MultimapKeySetTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testKeySet() { for (Entry<K, V> entry : getSampleElements()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/ConsoleIcon.java
this.unicodeChar = unicodeChar; this.asciiFallback = asciiFallback; } /** * Returns the appropriate icon representation for the given terminal. * Tests if the terminal's charset can encode the Unicode character, * falling back to ASCII if not. * * @param terminal the terminal to get the icon forCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 3.1K bytes - Click Count (0) -
tests/distinct_test.go
package tests_test import ( "regexp" "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestDistinct(t *testing.T) { users := []User{ *GetUser("distinct", Config{}), *GetUser("distinct", Config{}), *GetUser("distinct", Config{}), *GetUser("distinct-2", Config{}), *GetUser("distinct-3", Config{}), } users[0].Age = 20 if err := DB.Create(&users).Error; err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 2.5K bytes - Click Count (0)