Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_values (0.26 sec)

  1. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

        public void test_empty() {
            final FieldConfigs fieldConfigs = new FieldConfigs(Collections.emptyMap());
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
        }
    
        public void test_values() {
            final Map<String, String> params = Maps.of("foo", "bar");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. clause/values_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestValues(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{
    				clause.Insert{},
    				clause.Values{
    					Columns: []clause.Column{{Name: "name"}, {Name: "age"}},
    					Values:  [][]interface{}{{"jinzhu", 18}, {"josh", 1}},
    				},
    			},
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 691 bytes
    - Viewed (0)
Back to top