Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 2,185 for test0 (0.02 sec)

  1. guava-tests/test/com/google/common/reflect/ReflectionTest.java

    import com.google.common.testing.NullPointerTester;
    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Method;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /** Tests for {@link Reflection} */
    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NavigableSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ForwardingSortedMultiset}.
     *
     * @author Louis Wasserman
     */
    public class ForwardingSortedMultisetTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types_test.go

    			sizeFilter: BatchJobSizeFilter{
    				LowerBound: 1 << 20,
    			},
    			want: true,
    		},
    	}
    
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) {
    			if got := test.sizeFilter.InRange(test.objSize); got != test.want {
    				t.Fatalf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    }
    
    func TestBatchJobSizeValidate(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 08 23:22:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for {@code Multimap.toString()}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapToStringTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java

    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code Multimap.values}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapValuesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testValues() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

      - Fixing or improving documentation.
      - Improvements to Maven configuration.
    
    Guidelines for any code contributions:
    
      1. Any significant changes should be accompanied by tests. The project already
         has good test coverage, so look at some existing tests if you're unsure
         how to go about it.
      2. All contributions must be licensed Apache 2.0 and all files must have a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link Multimap#replaceValues(Object, Iterable)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapReplaceValuesTester<K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset.entrySet}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetEntrySetTester<E> extends AbstractMultisetTester<E> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. cmd/sftp-server_test.go

    	for i, testCase := range iamTestSuites {
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
    			func(t *testing.T) {
    				c := &check{t, testCase.serverType}
    				suite := testCase
    
    				suite.SetUpSuite(c)
    
    				suite.SFTPServiceAccountLogin(c)
    				suite.SFTPInvalidServiceAccountPassword(c)
    
    				// LDAP tests
    				ldapServer := os.Getenv(EnvTestLDAPServer)
    				if ldapServer == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        fakePool.runAll();
    
        // Check that this thread has been marked as interrupted again now that the thread has been
        // returned by SequentialExecutor. Clear the bit while checking so that the test doesn't hose
        // JUnit or some other test case.
        assertThat(Thread.interrupted()).isTrue();
      }
    
      public void testInterrupt_doesNotInterruptSubsequentTask() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top