Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 698 for testpass (0.07 sec)

  1. guava-tests/test/com/google/common/hash/FunnelsTest.java

    import java.io.OutputStream;
    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.mockito.InOrder;
    
    /**
     * Tests for HashExtractors.
     *
     * @author Dimitris Andreou
     */
    public class FunnelsTest extends TestCase {
      public void testForBytes() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

    import java.io.Serializable;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link AbstractMultiset}.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. internal/bucket/replication/rule_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package replication
    
    import (
    	"bytes"
    	"fmt"
    	"testing"
    )
    
    func TestMetadataReplicate(t *testing.T) {
    	testCases := []struct {
    		inputConfig    string
    		opts           ObjectOpts
    		expectedResult bool
    	}{
    		// case 1 - rule with replica modification enabled; not a replica
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.6K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

    import java.io.Serializable;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link SerializableTester}.
     *
     * @author Nick Kralevich
     */
    public class SerializableTesterTest extends TestCase {
      public void testStringAssertions() {
        String original = "hello world";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

    import java.io.Serializable;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link SerializableTester}.
     *
     * @author Nick Kralevich
     */
    public class SerializableTesterTest extends TestCase {
      public void testStringAssertions() {
        String original = "hello world";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

    import com.google.common.collect.Multiset.Entry;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Multisets#immutableEntry}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MultisetsImmutableEntryTest extends TestCase {
      private static final @Nullable String NE = null;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link FakeTimeLimiter}.
     *
     * @author Jens Nyman
     */
    public class FakeTimeLimiterTest extends TestCase {
    
      private static final int DELAY_MS = 50;
      private static final String RETURN_VALUE = "abc";
    
      private TimeLimiter timeLimiter;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.codelibs.opensearch.runner.OpenSearchRunner;
    import org.opensearch.core.common.Strings;
    
    import junit.framework.TestCase;
    
    public class SuggesterBuilderTest extends TestCase {
        OpenSearchRunner runner;
    
        @Override
        public void setUp() throws Exception {
            runner = new OpenSearchRunner();
            runner.onBuild((number, settingsBuilder) -> {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.normalizer.NormalizerChain;
    
    import junit.framework.TestCase;
    
    public class DefaultContentsParserTest extends TestCase {
        DefaultContentsParser defaultContentsParser = new DefaultContentsParser();
        String[] supportedFields = new String[] { "content", "title" };
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top