Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,907 for testu (0.02 sec)

  1. src/bytes/reader_test.go

    	r := NewReader([]byte("0123456789"))
    	tests := []struct {
    		off     int64
    		n       int
    		want    string
    		wanterr any
    	}{
    		{0, 10, "0123456789", nil},
    		{1, 10, "123456789", io.EOF},
    		{1, 9, "123456789", nil},
    		{11, 10, "", io.EOF},
    		{0, 0, "", nil},
    		{-1, 0, "", "bytes.Reader.ReadAt: negative offset"},
    	}
    	for i, tt := range tests {
    		b := make([]byte, tt.n)
    		rn, err := r.ReadAt(b, tt.off)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

     *
     * @author Louis Wasserman
     * @param <K> The key type of the tested multimap.
     * @param <V> The value type of the tested multimap.
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class SetMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.Executor;
    import java.util.concurrent.Executors;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     */
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.SortedMap;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableMap
     * implementation.
     */
    @GwtIncompatible
    public class NavigableMapTestSuiteBuilder<K, V> extends SortedMapTestSuiteBuilder<K, V> {
      public static <K, V> NavigableMapTestSuiteBuilder<K, V> using(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        assertThat(result).contains("Custom thread name");
        task.cancel(true);
        exitLatch.await();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only in GwtIncompatible tests
      private void awaitUnchecked(CyclicBarrier barrier) {
        try {
          barrier.await();
        } catch (Exception e) {
          throw new RuntimeException(e);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/testing-dependencies.md

    Sie möchten den externen Anbieter wahrscheinlich einmal testen, ihn aber nicht unbedingt bei jedem weiteren ausgeführten Test aufrufen.
    
    In diesem Fall können Sie die Abhängigkeit, die diesen Anbieter aufruft, überschreiben und eine benutzerdefinierte Abhängigkeit verwenden, die einen Scheinbenutzer zurückgibt, nur für Ihre Tests.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code indexOf()} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @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 Jul 24 20:12:35 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code lastIndexOf()} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @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 Jul 24 20:12:35 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. schema/schema_helper_test.go

    package schema_test
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func checkSchema(t *testing.T, s *schema.Schema, v schema.Schema, primaryFields []string) {
    	t.Run("CheckSchema/"+s.Name, func(t *testing.T) {
    		tests.AssertObjEqual(t, s, v, "Name", "Table")
    
    		for idx, field := range primaryFields {
    			var found bool
    			for _, f := range s.PrimaryFields {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/PercentEscaperTest.java

    import com.google.common.base.Preconditions;
    import com.google.common.escape.UnicodeEscaper;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link PercentEscaper}.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    public class PercentEscaperTest extends TestCase {
    
      /** Tests that the simple escaper treats 0-9, a-z and A-Z as safe */
      public void testSimpleEscaper() {
        UnicodeEscaper e = new PercentEscaper("", false);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top