Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 3,240 for Test (0.06 sec)

  1. internal/event/target/nats_contrib_test.go

    	natsserver "github.com/nats-io/nats-server/v2/test"
    )
    
    func TestNatsConnPlain(t *testing.T) {
    	opts := natsserver.DefaultTestOptions
    	opts.Port = 14222
    	s := natsserver.RunServer(&opts)
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject: "test",
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. ci/official/any.sh

    # any.sh has two run modes.
    #
    # 1. RUN, TEST, OR BUILD BAZEL TARGET(S) WITHIN A TFCI ENVIRONMENT
    #    To use:
    #       export TFCI=ci/official/envs/env_goes_here
    #       export TF_ANY_TARGETS="quoted list of targets, like on the command line"
    #       export TF_ANY_MODE="test" or "build" or "run" (default: "test")
    #       ./any.sh
    #
    # 2. RUN ANY OTHER SCRIPT AND ENV WITH NO SIDE EFFECTS (NO UPLOADS)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. internal/event/rules_test.go

    		result := testCase.rules.Clone()
    
    		if !reflect.DeepEqual(result, testCase.rules) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.rules, result)
    		}
    
    		result.Add(NewPattern(testCase.prefix, ""), testCase.targetID)
    		if reflect.DeepEqual(result, testCase.rules) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestRulesUnion(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  4. cmd/config-encrypted_test.go

    		{data, cred1, false},
    	}
    
    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata))
    			if err != nil && test.success {
    				t.Errorf("Expected success, saw failure %v", err)
    			}
    			if err == nil && !test.success {
    				t.Error("Expected failure, saw success")
    			}
    			if test.success {
    				if !bytes.Equal(ddata, data) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null))
            .testEquals();
      }
    
      public void testWrap_get() {
        String test = "test";
        Wrapper<String> wrapper = LENGTH_EQUIVALENCE.wrap(test);
        assertSame(test, wrapper.get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationOS().equals(null));
    
            new ActivationOS().equals(new ActivationOS());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationOS thing = new ActivationOS();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new ActivationOS().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new PluginConfiguration().equals(null));
    
            new PluginConfiguration().equals(new PluginConfiguration());
        }
    
        @Test
        void testEqualsIdentity() {
            PluginConfiguration thing = new PluginConfiguration();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new ReportPlugin().equals(null));
    
            new ReportPlugin().equals(new ReportPlugin());
        }
    
        @Test
        void testEqualsIdentity() {
            ReportPlugin thing = new ReportPlugin();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new ReportPlugin().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new Reporting().equals(null));
    
            new Reporting().equals(new Reporting());
        }
    
        @Test
        void testEqualsIdentity() {
            Reporting thing = new Reporting();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Reporting().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

    import java.util.concurrent.TimeUnit
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Integration test to confirm that [TaskRunner] works with a real backend. Business logic is all
     * exercised by [TaskRunnerTest].
     *
     * This test is doing real sleeping with tolerances of 250 ms. Hopefully that's enough for even the
     * busiest of CI servers.
     */
    @Tag("Slowish")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top