Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,292 for test_ (0.02 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

    import org.apache.maven.model.building.SimpleProblemCollector;
    import org.apache.maven.model.profile.activation.ProfileActivator;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link DefaultProfileSelector}.
     */
    public class DefaultProfileSelectorTest {
        private Profile newProfile(String id) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. 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 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/projects/CheckProject.kt

    ) : Project({
        id("Check")
        name = "Check"
        val performanceTestBucketProvider = StatisticsBasedPerformanceTestBucketProvider(model, File("performance-test-durations.json"), File("performance-tests-ci.json"))
    
        params {
            param("credentialsStorageType", "credentialsJSON")
            // Disallow Web UI changes to TeamCity settings
            param("teamcity.ui.settings.readOnly", "true")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 22 07:02:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/RangeNonGwtTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link Range} which cannot run as GWT tests.
     *
     * @author Gregory Kick
     * @see RangeTest
     */
    public class RangeNonGwtTest extends TestCase {
    
      public void testNullPointers() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java

     */
    
    package com.google.common.util.concurrent;
    
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.util.concurrent.AbstractFuture.TrustedFuture;
    
    /**
     * Tests for {@link AbstractFuture} that use a non-{@link TrustedFuture} for {@link
     * AbstractFuture#setFuture} calls.
     */
    @GwtCompatible
    public class UntrustedInputFutureTest extends AbstractAbstractFutureTest {
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/RemovalNotificationTest.java

     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    
    /**
     * Unit tests of {@link RemovalNotification}.
     *
     * @author Ben Yu
     */
    public class RemovalNotificationTest extends TestCase {
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TestExceptions.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors.
     *
     * @author George van den Driessche
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. mockwebserver-junit5/README.md

    To use, first add this library as a test dependency:
    
    ```
    testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.12.0")
    ```
    
    Then in tests annotated `@org.junit.jupiter.api.Test`, you may add a [MockWebServer] as a test
    method parameter. It will be shut down automatically after the test runs.
    
    ```
    class MyTest {
      @Test
      void test(MockWebServer server) {
        ...
      }
    }
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top