Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 1,595 for Tests (0.02 sec)

  1. tests/sql_builder_test.go

    package tests_test
    
    import (
    	"regexp"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestRow(t *testing.T) {
    	user1 := User{Name: "RowUser1", Age: 1}
    	user2 := User{Name: "RowUser2", Age: 10}
    	user3 := User{Name: "RowUser3", Age: 20}
    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    	row := DB.Table("users").Where("name = ?", user2.Name).Select("age").Row()
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code TreeRangeMap}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // NavigableMap
    @NullUnmarked
    public class TreeRangeMapTest extends TestCase {
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableSetMultimap}.
     *
     * @author Mike Ward
     */
    @GwtCompatible
    @NullMarked
    public class ImmutableSetMultimapTest extends TestCase {
      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.2.md

    * Allowing type object in kubectl swagger validation ([#24054](https://github.com/kubernetes/kubernetes/pull/24054), [@nikhiljindal](https://github.com/nikhiljindal))
    * Add ClusterUpgrade tests ([#24150](https://github.com/kubernetes/kubernetes/pull/24150), [@ihmccreery](https://github.com/ihmccreery))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
  5. cmd/notification.go

    		}
    		results[len(results)-1] = r
    		results[len(results)-1].Endpoint = u.String()
    	}()
    	wg.Wait()
    
    	return results
    }
    
    // SpeedTest run GET/PUT tests at input concurrency for requested object size,
    // optionally you can extend the tests longer with time.Duration.
    func (sys *NotificationSys) SpeedTest(ctx context.Context, sopts speedTestOpts) []SpeedTestResult {
    	length := len(sys.allPeerClients)
    	if length == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeRangeSet.java

              // { < > }
              ubToAdd = rangeBelowLb.upperBound;
              /*
               * TODO(cpovirk): can we just "return;" here? Or, can we remove this if() entirely? If
               * not, add tests to demonstrate the problem with each approach
               */
            }
            lbToAdd = rangeBelowLb.lowerBound;
          }
        }
    
        Entry<Cut<C>, Range<C>> entryBelowUb = rangesByLowerBound.floorEntry(ubToAdd);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.13.md

    ### SIG Scalability
    
    SIG Scalability has mostly focused on stability and deflaking our tests, investing into framework for writing scalability tests (ClusterLoader v2) with a goal to migrate all tests to it by the end of 2018 and on the work towards extending definition of Kubernetes scalability by providing more/better user-friendly SLIs/SLOs.
    
    ### SIG Scheduling
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 273.1K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@link ClassSanityTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class ClassSanityTesterTest extends TestCase {
    
      private final ClassSanityTester tester = new ClassSanityTester();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/SplitterTest.java

       * All of the infrastructure of split and splitToString is identical, so we do one test of
       * splitToString. All other cases should be covered by testing of split.
       *
       * <p>TODO(user): It would be good to make all the relevant tests run on both split and
       * splitToString automatically.
       */
      public void testCharacterSimpleSplitToList() {
        String simple = "a,b,c";
        List<String> letters = COMMA_SPLITTER.splitToList(simple);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        boolean[][] arrays = new boolean[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        boolean[] sharedArray = new boolean[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Booleans.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top