Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for testRow (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

        assertEquals(ImmutableSet.of(1), testTable.columnKeySet());
      }
    
      public void testColumnMap() {
        assertEquals(ImmutableMap.of(1, ImmutableMap.of('a', "blah")), testTable.columnMap());
      }
    
      public void testRow() {
        assertEquals(ImmutableMap.of(), testTable.row('A'));
        assertEquals(ImmutableMap.of(1, "blah"), testTable.row('a'));
      }
    
      public void testRowKeySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      }
    
      public void testContainsRow() {
        assertFalse(INSTANCE.containsRow('a'));
      }
    
      public void testContainsValue() {
        assertFalse(INSTANCE.containsValue("blah"));
      }
    
      public void testRow() {
        assertEquals(ImmutableMap.of(), INSTANCE.row('a'));
      }
    
      public void testRowKeySet() {
        assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet());
      }
    
      public void testRowMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          assertTrue(testInstance.containsRow('a'));
          assertTrue(testInstance.containsRow('b'));
          assertFalse(testInstance.containsRow('c'));
        }
      }
    
      public void testRow() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertEquals(ImmutableMap.of(1, "foo", 2, "baz"), testInstance.row('a'));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals(expected, table.hashCode());
      }
    
      public void testToStringSize1() {
        table = create("foo", 1, 'a');
        assertEquals("{foo={1=a}}", table.toString());
      }
    
      public void testRow() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo"));
      }
    
      // This test assumes that the implementation does not support null keys.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals(expected, table.hashCode());
      }
    
      public void testToStringSize1() {
        table = create("foo", 1, 'a');
        assertEquals("{foo={1=a}}", table.toString());
      }
    
      public void testRow() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo"));
      }
    
      // This test assumes that the implementation does not support null keys.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/IntMathTest.java

            assertTrue(isPerfectSquare);
          } catch (ArithmeticException e) {
            assertFalse(isPerfectSquare);
          }
        }
      }
    
      @GwtIncompatible // 2147483646^2 expected=4
      public void testPow() {
        for (int i : ALL_INTEGER_CANDIDATES) {
          for (int pow : EXPONENTS) {
            assertEquals(i + "^" + pow, BigInteger.valueOf(i).pow(pow).intValue(), IntMath.pow(i, pow));
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/NtlmTest.java

            this.context = SingletonContext.getInstance();
        }
    
    
        @Test
        public void testParsingType1 () throws IOException {
            int flags = 0x80000000;
            String suppliedDomain = "TESTDOM";
            String suppliedWorkstation = "TESTWS";
            Type1Message t1 = new Type1Message(this.context, flags, suppliedDomain, suppliedWorkstation);
    
            int origFlags = t1.getFlags();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/text/TokenizerTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class TokenizerTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testEOF() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. dbflute_fess/dfprop/sourceCopyright.dfprop

    # sourceCopyright: (NotRequired - Default '')
    #
    # The copyright for all class sources.
    # This property is NOT map style.
    # You should specify before your first generating.
    #
    #/*
    # * Copyright(c) DBFlute TestCo.,TestLtd. All Rights Reserved.
    # */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 344 bytes
    - Viewed (0)
Back to top