Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testContainsValue (0.11 sec)

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

        assertFalse(testTable.containsColumn(2));
      }
    
      public void testContainsRow() {
        assertTrue(testTable.containsRow('a'));
        assertFalse(testTable.containsRow('A'));
      }
    
      public void testContainsValue() {
        assertTrue(testTable.containsValue("blah"));
        assertFalse(testTable.containsValue(""));
      }
    
      public void testGet() {
        assertEquals("blah", testTable.get('a', 1));
    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/RegularImmutableTableTest.java

        }
      }
    
      public void testSize() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertEquals(3, testInstance.size());
        }
      }
    
      public void testContainsValue() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertTrue(testInstance.containsValue("foo"));
          assertTrue(testInstance.containsValue("bar"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertTrue(table.containsColumn(1));
        assertTrue(table.containsColumn(3));
        assertFalse(table.containsColumn(2));
        assertFalse(table.containsColumn(null));
      }
    
      public void testContainsValue() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.containsValue('a'));
        assertTrue(table.containsValue('b'));
        assertTrue(table.containsValue('c'));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertTrue(table.containsColumn(1));
        assertTrue(table.containsColumn(3));
        assertFalse(table.containsColumn(2));
        assertFalse(table.containsColumn(null));
      }
    
      public void testContainsValue() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.containsValue('a'));
        assertTrue(table.containsValue('b'));
        assertTrue(table.containsValue('c'));
    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-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        } else {
          try {
            boolean unused2 = map.containsKey(null);
          } catch (NullPointerException optional) {
          }
        }
        assertInvariants(map);
      }
    
      public void testContainsValue() {
        Map<K, V> map;
        V unmappedValue;
        try {
          map = makePopulatedMap();
          unmappedValue = getValueNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        } else {
          try {
            boolean unused2 = map.containsKey(null);
          } catch (NullPointerException optional) {
          }
        }
        assertInvariants(map);
      }
    
      public void testContainsValue() {
        Map<K, V> map;
        V unmappedValue;
        try {
          map = makePopulatedMap();
          unmappedValue = getValueNotInPopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top