Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 2,776 for 1test (0.02 sec)

  1. utils/utils_test.go

    	}{
    		{"exists", []string{"1", "2", "3"}, "1", true},
    		{"not exists", []string{"1", "2", "3"}, "4", false},
    	}
    	for _, test := range containsTests {
    		t.Run(test.name, func(t *testing.T) {
    			if out := Contains(test.elems, test.elem); test.out != out {
    				t.Errorf("Contains(%v, %s) want: %t, got: %t", test.elems, test.elem, test.out, out)
    			}
    		})
    	}
    }
    
    type ModifyAt sql.NullTime
    
    // Value return a Unix time.
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      }
    
      @Test
      public void inDegree_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inDegree(N2)).isEqualTo(1);
        assertThat(network.inDegree(N1)).isEqualTo(1);
      }
    
      @Test
      public void outDegree_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.outDegree(N1)).isEqualTo(1);
        assertThat(network.outDegree(N2)).isEqualTo(1);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/DfsTest.java

        private String getTestDfsTargetServer () {
            String dfsTargetServer = getProperties().get("test.server.dfs");
            if ( dfsTargetServer != null ) {
                return dfsTargetServer;
            }
            return getTestServer();
        }
    
    
        private String getTestDC () {
            String dfsTargetServer = getProperties().get("test.domain.dc");
            if ( dfsTargetServer != null ) {
                return dfsTargetServer;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashMap;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class CollectionsUtilTest {
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsEmptyCollectionOfQ() {
            Collection<String> c = null;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/DocsTest.kt

    mkdir test-splits
    del /f /q test-splits\include-test-classes.properties
    del /f /q test-splits\exclude-test-classes.properties
    (
    $linesWithEcho
    ) > test-splits\$action-test-classes.properties
    echo "Tests to be ${action}d in this build"
    type test-splits\$action-test-classes.properties
    """
    
        return {
            script {
                name = "PREPARE_TEST_CLASSES"
                executionMode = BuildStep.ExecutionMode.ALWAYS
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 07:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ResponseCommonTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import kotlin.test.Test
    import kotlin.test.assertFailsWith
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okio.Buffer
    import okio.ByteString.Companion.EMPTY
    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    class ResponseCommonTest {
      @Test fun peekShorterThanResponse() {
        val response = newResponse(responseBody("abcdef"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

        /**
         * MNG-5951 MNG-6059 child.x.y.inherit.append.path="false" test
         * @throws Exception
         */
        @Test
        void testNoAppendUrls() throws Exception {
            testInheritance("no-append-urls");
        }
    
        /**
         * MNG-5951 special case test: inherit with partial override
         * @throws Exception
         */
        @Test
        void testNoAppendUrls2() throws Exception {
            testInheritance("no-append-urls2");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/TraverserTest.java

          createDirectedGraph("ab", "fe", "fg", "bc", "bd", "ed", "eh", "gh");
    
      @Test
      public void forGraph_breadthFirst_javadocExample_canBeIteratedMultipleTimes() {
        Iterable<Character> result = Traverser.forGraph(JAVADOC_GRAPH).breadthFirst('a');
    
        assertEqualCharNodes(result, "abcdef");
        assertEqualCharNodes(result, "abcdef");
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/TraverserTest.java

          createDirectedGraph("ab", "fe", "fg", "bc", "bd", "ed", "eh", "gh");
    
      @Test
      public void forGraph_breadthFirst_javadocExample_canBeIteratedMultipleTimes() {
        Iterable<Character> result = Traverser.forGraph(JAVADOC_GRAPH).breadthFirst('a');
    
        assertEqualCharNodes(result, "abcdef");
        assertEqualCharNodes(result, "abcdef");
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  10. cmd/namespace-lock_test.go

    import (
    	"context"
    	"runtime"
    	"testing"
    	"time"
    )
    
    // WARNING:
    //
    // Expected source line number is hard coded, 35, in the
    // following test. Adding new code before this test or changing its
    // position will cause the line number to change and the test to FAIL
    // Tests getSource().
    func TestGetSource(t *testing.T) {
    	currentSource := func() string { return getSource(2) }
    	gotSource := currentSource()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.1K bytes
    - Viewed (0)
Back to top