Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for testcontainers (0.18 sec)

  1. src/test/java/org/codelibs/core/collection/CaseInsensitiveSetTest.java

    import java.util.Set;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CaseInsensitiveSetTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testContains() throws Exception {
            final Set<String> set = new CaseInsensitiveSet();
            set.add("one");
            assertThat(set.contains("ONE"), is(true));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

            .testEquals();
      }
    
      public void testToString() {
        assertEquals("{a={1=blah}}", testTable.toString());
      }
    
      public void testContains() {
        assertTrue(testTable.contains('a', 1));
        assertFalse(testTable.contains('a', 2));
        assertFalse(testTable.contains('A', 1));
        assertFalse(testTable.contains('A', 2));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. utils/utils_test.go

    	}
    	for _, c := range cases {
    		if key := ToStringKey(c.values...); key != c.key {
    			t.Errorf("%v: expected %v, got %v", c.values, c.key, key)
    		}
    	}
    }
    
    func TestContains(t *testing.T) {
    	containsTests := []struct {
    		name  string
    		elems []string
    		elem  string
    		out   bool
    	}{
    		{"exists", []string{"1", "2", "3"}, "1", true},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          assertEquals(
              ImmutableMap.of(
                  1, ImmutableMap.of('a', "foo", 'b', "bar"), 2, ImmutableMap.of('a', "baz")),
              testInstance.columnMap());
        }
      }
    
      public void testContains() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertTrue(testInstance.contains('a', 1));
          assertTrue(testInstance.contains('b', 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.isEmpty(), is(true));
            list.addLast("1");
            assertThat(list.isEmpty(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContaines() throws Exception {
            assertThat(list.contains(null), is(not(true)));
            assertThat(list.contains("1"), is(not(true)));
            list.addLast("1");
            assertThat(list.contains("1"), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      public void testColumnKeySet() {
        assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet());
      }
    
      public void testColumnMap() {
        assertEquals(ImmutableMap.of(), INSTANCE.columnMap());
      }
    
      public void testContains() {
        assertFalse(INSTANCE.contains('a', 1));
      }
    
      public void testContainsColumn() {
        assertFalse(INSTANCE.containsColumn(1));
      }
    
      public void testContainsRow() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals(expectedSize, table.size());
      }
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        table = create();
      }
    
      public void testContains() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertTrue(table.contains("foo", 1));
        assertTrue(table.contains("bar", 1));
        assertTrue(table.contains("foo", 3));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertFalse(ArrayUtil.isEmpty(new Object[] { "" }));
            assertFalse(ArrayUtil.isEmpty(new Object[] { "aaa" }));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContains() throws Exception {
            assertThat(ArrayUtil.contains(new Object[] { "1" }, "1"), is(true));
            assertThat(ArrayUtil.contains(new Object[] { "1" }, "2"), is(not(true)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(
            Integer.MAX_VALUE,
            ContiguousSet.create(Range.<Integer>all(), integers()).last().intValue());
      }
    
      public void testContains() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertFalse(set.contains(0));
        assertTrue(set.contains(1));
        assertTrue(set.contains(2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_test.go

    	return func() bool {
    		testServer.Close()
    		return cniAddServerCalled
    	}
    }
    
    func buildCmdArgs(stdinData, podName, podNamespace string) *skel.CmdArgs {
    	return &skel.CmdArgs{
    		ContainerID: "testContainerID",
    		Netns:       testSandboxDirectory,
    		IfName:      "eth0",
    		Args:        fmt.Sprintf("K8S_POD_NAMESPACE=%s;K8S_POD_NAME=%s", podNamespace, podName),
    		Path:        "/tmp",
    		StdinData:   []byte(stdinData),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top