Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 513 for test_case (0.1 sec)

  1. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

    import java.io.IOException;
    import java.nio.CharBuffer;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link CharSequenceReader}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSequenceReaderTest extends TestCase {
    
      public void testReadEmptyString() throws IOException {
        assertReadsCorrectly("");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

    import java.lang.ref.WeakReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests of basic {@link LoadingCache} operations with all possible combinations of key & value
     * strengths.
     *
     * @author mike nonemacher
     */
    @NullUnmarked
    public class CacheReferencesTest extends TestCase {
    
      private static final CacheLoader<Key, String> KEY_TO_STRING_LOADER =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

    import java.lang.reflect.Proxy;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link AbstractInvocationHandler}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class AbstractInvocationHandlerTest extends TestCase {
    
      private static final ImmutableList<String> LIST1 = ImmutableList.of("one", "two");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers_test.go

    		t.Errorf("Expected %s, got %s", globalMinioDefaultRegion, results.Region)
    	}
    }
    
    // TestToAdminAPIErrCode - test for toAdminAPIErrCode helper function.
    func TestToAdminAPIErrCode(t *testing.T) {
    	testCases := []struct {
    		err            error
    		expectedAPIErr APIErrorCode
    	}{
    		// 1. Server not in quorum.
    		{
    			err:            errErasureWriteQuorum,
    			expectedAPIErr: ErrAdminConfigNoQuorum,
    		},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/ConverterTest.java

    import com.google.common.testing.SerializableTester;
    import java.util.Iterator;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link Converter}. */
    @GwtCompatible
    @NullUnmarked
    public class ConverterTest extends TestCase {
    
      private static final Converter<String, Long> STR_TO_LONG =
          new Converter<String, Long>() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link ImmutableClassToInstanceMap}.
     *
     * @author Kevin Bourrillion
     */
    @NullUnmarked
    public class ImmutableClassToInstanceMapTest 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
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

    import java.util.Iterator;
    import java.util.LinkedList;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Synchronized#deque} and {@link Queues#synchronizedDeque}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class SynchronizedDequeTest extends TestCase {
    
      protected Deque<String> create() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. cmd/http-tracer_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    // Test redactLDAPPwd()
    func TestRedactLDAPPwd(t *testing.T) {
    	testCases := []struct {
    		query         string
    		expectedQuery string
    	}{
    		{"", ""},
    		{
    			"?Action=AssumeRoleWithLDAPIdentity&LDAPUsername=myusername&LDAPPassword=can+youreadthis%3F&Version=2011-06-15",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

    import com.google.common.base.Strings;
    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for FarmHashFingerprint64.
     *
     * @author Kyle Maddison
     * @author Geoff Pike
     */
    @NullUnmarked
    public class FarmHashFingerprint64Test extends TestCase {
    
      private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Unit test for {@link SignedBytes}.
     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class SignedBytesTest extends TestCase {
      private static final byte[] EMPTY = {};
      private static final byte[] ARRAY1 = {(byte) 1};
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top