Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,907 for testu (0.02 sec)

  1. src/cmd/asm/internal/asm/line_test.go

    func testBadInstParser(t *testing.T, goarch string, tests []badInstTest) {
    	for i, test := range tests {
    		arch, ctxt := setArch(goarch)
    		tokenizer := lex.NewTokenizer("", strings.NewReader(test.input+"\n"), nil)
    		parser := NewParser(ctxt, arch, tokenizer)
    
    		err := tryParse(t, func() {
    			parser.Parse()
    		})
    
    		switch {
    		case err == nil:
    			t.Errorf("#%d: %q: want error %q; have none", i, test.input, test.error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. clause/expression_test.go

    	}, {
    		SQL:          "@@test AND name1 = @name1 AND name2 = @name2 AND name3 = @name1 @notexist",
    		Vars:         []interface{}{sql.Named("name1", "jinzhu"), sql.Named("name2", "jinzhu2")},
    		Result:       "@@test AND name1 = ? AND name2 = ? AND name3 = ? @notexist",
    		ExpectedVars: []interface{}{"jinzhu", "jinzhu2", "jinzhu"},
    	}, {
    		SQL:          "@@test AND name1 = @Name1 AND name2 = @Name2 AND name3 = @Name1 @notexist",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. okhttp-hpacktests/README.md

    OkHttp HPACK tests
    ==================
    
    These tests use the [hpack-test-case][1] project to validate OkHttp's HPACK
    implementation.  The HPACK test cases are in a separate git submodule, so to
    initialize them, you must run:
    
        git submodule init
        git submodule update
    
    TODO
    ----
    
     * Add maven goal to avoid manual call to git submodule init.
     * Make hpack-test-case update itself from git, and run new tests.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Dec 15 16:59:53 UTC 2014
    - 578 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesTest.java

        TestSuite suite = new TestSuite();
        suite.addTest(
            ByteSourceTester.tests(
                "Files.asByteSource[File]", SourceSinkFactories.fileByteSourceFactory(), true));
        suite.addTest(
            ByteSinkTester.tests("Files.asByteSink[File]", SourceSinkFactories.fileByteSinkFactory()));
        suite.addTest(
            ByteSinkTester.tests(
                "Files.asByteSink[File, APPEND]", SourceSinkFactories.appendingFileByteSinkFactory()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset#remove}, {@code Multiset.removeAll}, and {@code Multiset.retainAll} not
     * already covered by the corresponding Collection testers.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        tester.testFailedFuture("failure");
      }
    
      public void testCancel() throws Exception {
        assertTrue(future.cancel(true));
        tester.testCancelledFuture();
      }
    
      /** Tests the initial state of the future. */
      public void testCreate() throws Exception {
        SettableFuture<Integer> future = SettableFuture.create();
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. cmd/os-reliable_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    // Tests - mkdirAll()
    func TestOSMkdirAll(t *testing.T) {
    	// create xlStorage test setup
    	_, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	if err = mkdirAll("", 0o777, ""); err != errInvalidArgument {
    		t.Fatal("Unexpected error", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.TreeSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Run collection tests on wrappers from {@link Multimaps}.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  9. internal/arn/arn_test.go

    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.want, func(t *testing.T) {
    			if got := tt.arn.String(); got != tt.want {
    				t.Errorf("ARN.String() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestNewIAMRoleARN(t *testing.T) {
    	type args struct {
    		resourceID   string
    		serverRegion string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		want    ARN
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

    import java.util.EnumSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code
     * ListMultimap} implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class ListMultimapTestSuiteBuilder<K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top