Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,046 for expects (0.22 sec)

  1. schema/schema_helper_test.go

    			if r.Name != relation.Name {
    				t.Errorf("schema %v relation name expects %v, but got %v", s, r.Name, relation.Name)
    			}
    
    			if r.Type != relation.Type {
    				t.Errorf("schema %v relation name expects %v, but got %v", s, r.Type, relation.Type)
    			}
    
    			if r.Schema.Name != relation.Schema {
    				t.Errorf("schema %v relation's schema expects %v, but got %v", s, relation.Schema, r.Schema.Name)
    			}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. tests/sql_builder_test.go

    	result := DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    	expects := DB.Dialector.Explain(execStmt.SQL.String(), execStmt.Vars...)
    
    	if !strings.HasSuffix(result, expects) {
    		t.Errorf("expects: %v, got %v", expects, result)
    	}
    
    	stmt2 := dryRunDB.Where(
    		DB.Scopes(NameIn1And2),
    	).Or(
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. docs/distributed/CONFIG.md

    ```
    
    ### Things to know
    
    - Fields such as `version` and `pools` are mandatory, however all other fields are optional.
    - Each pool expects a minimum of 2 nodes per pool, and unique non-repeating hosts for each argument.
    - Each pool expects each host in this pool has the same number of drives specified as any other host.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

     */
    internal data class BasicDerAdapter<T>(
      private val name: String,
      /** The tag class this adapter expects, or -1 to match any tag class. */
      val tagClass: Int,
      /** The tag this adapter expects, or -1 to match any tag. */
      val tag: Long,
      /** Encode and decode the value once tags are handled. */
      private val codec: Codec<T>,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. schema/relationship_test.go

    		t.Fatalf("expects 1 relations, but got %v", len(userSchema.Relationships.Relations))
    	}
    
    	if createdByRel, ok := userSchema.Relationships.Relations["CreatedBy"]; ok {
    		if createdByRel.FieldSchema != userSchema {
    			t.Fatalf("expects same field schema, but got new %p, old %p", createdByRel.FieldSchema, userSchema)
    		}
    	} else {
    		t.Fatalf("expects created by relations, but not found")
    	}
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Challenge.kt

          val newKey = key?.lowercase(US)
          newAuthParams[newKey] = value
        }
        this.authParams = unmodifiableMap<String?, String>(newAuthParams)
      }
    
      /** Returns a copy of this charset that expects a credential encoded with [charset]. */
      fun withCharset(charset: Charset): Challenge {
        val authParams = this.authParams.toMutableMap()
        authParams["charset"] = charset.name()
        return Challenge(scheme, authParams)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

      )
    
      fun toDer(value: T): ByteString {
        val buffer = Buffer()
        val writer = DerWriter(buffer)
        toDer(writer, value)
        return buffer.readByteString()
      }
    
      /**
       * Returns an adapter that expects this value wrapped by another value. Typically this occurs
       * when a value has both a context or application tag and a universal tag.
       *
       * Use this for EXPLICIT tag types:
       *
       * ```
       * [5] EXPLICIT UTF8String
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testCreateEmptyWithClass() {
        Multiset<Color> ms = EnumMultiset.create(ImmutableList.<Color>of(), Color.class);
        ms.add(Color.RED);
      }
    
      public void testCreateEmptyWithoutClassFails() {
        try {
          EnumMultiset.create(ImmutableList.<Color>of());
          fail("Expected IllegalArgumentException");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. tests/update_test.go

    		t.Fatalf("user's updated at should be changed, expects: %+v, got: %+v", user1UpdatedAt, result.UpdatedAt)
    	}
    
    	if user2UpdatedAt.Format(time.RFC1123Z) == user2.UpdatedAt.Format(time.RFC1123Z) {
    		t.Fatalf("user's updated at should be changed, expects: %+v, got: %+v", user2UpdatedAt, user2.UpdatedAt)
    	}
    
    	DB.First(&result)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testCreateEmptyWithClass() {
        Multiset<Color> ms = EnumMultiset.create(ImmutableList.<Color>of(), Color.class);
        ms.add(Color.RED);
      }
    
      public void testCreateEmptyWithoutClassFails() {
        try {
          EnumMultiset.create(ImmutableList.<Color>of());
          fail("Expected IllegalArgumentException");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top