Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 2,264 for test0 (0.09 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.GzipSink
    import okio.buffer
    import org.junit.jupiter.api.Test
    
    class Http2Test {
      val frame = Buffer()
      val reader = Http2Reader(frame, false)
      val expectedStreamId = 15
    
      @Test fun unknownFrameTypeSkipped() {
        writeMedium(frame, 4) // has a 4-byte field
        frame.writeByte(99) // type 99
        frame.writeByte(FLAG_NONE)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    	os.Exit(code)
    }
    
    func TestSimpleLock(t *testing.T) {
    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    
    	// fmt.Println("Lock acquired, waiting...")
    	time.Sleep(testDrwMutexRefreshCallTimeout)
    
    	dm.Unlock(context.Background())
    }
    
    func TestSimpleLockUnlockMultipleTimes(t *testing.T) {
    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

    import org.eclipse.aether.impl.VersionRangeResolver;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test cases for the default {@code ModelResolver} implementation.
     *
     * @since 3.5.0
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

    import com.google.common.collect.ImmutableMap;
    import java.nio.CharBuffer;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link MoreObjects#toStringHelper(Object)}.
     *
     * @author Jason Lee
     */
    @GwtCompatible
    public class ToStringHelperTest extends TestCase {
    
      @GwtIncompatible // Class names are obfuscated in GWT
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/dataconfig/admin_dataconfig_details.jsp

                    <div class="row">
                        <div class="col-md-12">
                            <div
                                    class="card card-outline <c:if test="${crudMode == 1 || crudMode == 2}">card-success</c:if><c:if test="${crudMode == 3}">card-danger</c:if><c:if test="${crudMode == 4}">card-primary</c:if>">
                                <div class="card-header">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 7.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test of {@link MutableClassToInstanceMap}.
     *
     * @author Kevin Bourrillion
     */
    public class MutableClassToInstanceMapTest extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tests/named_polymorphic_test.go

    package tests_test
    
    import (
    	"testing"
    
    	. "gorm.io/gorm/utils/tests"
    )
    
    type Hamster struct {
    	Id           int
    	Name         string
    	PreferredToy Toy `gorm:"polymorphic:Owner;polymorphicValue:hamster_preferred"`
    	OtherToy     Toy `gorm:"polymorphic:Owner;polymorphicValue:hamster_other"`
    }
    
    func TestNamedPolymorphic(t *testing.T) {
    	DB.Migrator().DropTable(&Hamster{})
    	DB.AutoMigrate(&Hamster{})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  8. utils/tests/utils.go

    package tests
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"go/ast"
    	"reflect"
    	"testing"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) {
    	for _, name := range names {
    		rv := reflect.Indirect(reflect.ValueOf(r))
    		ev := reflect.Indirect(reflect.ValueOf(e))
    		if rv.IsValid() != ev.IsValid() {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), r, e)
    			return
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class MethodUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEqualsMethod() throws Exception {
            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords_edit.jsp

                                </la:link></li>
                                <c:if test="${crudMode == 1}">
                                    <li class="breadcrumb-item active"><la:message
                                            key="labels.dict_protwords_link_create"/></li>
                                </c:if>
                                <c:if test="${crudMode == 2}">
                                    <li class="breadcrumb-item active"><la:message
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6.9K bytes
    - Viewed (0)
Back to top