-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first pass of adding family name and table name to reflector side
- Loading branch information
Hongyu Zhou
committed
Feb 15, 2024
1 parent
98bf00c
commit ac135f8
Showing
5 changed files
with
93 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
package schema | ||
|
||
import ( | ||
"reflect" | ||
"testing" | ||
) | ||
|
||
func TestDMLSequence_Int(t *testing.T) { | ||
tests := []struct { | ||
name string | ||
seq DMLSequence | ||
want int64 | ||
}{ | ||
// TODO: Add test cases. | ||
} | ||
for _, tt := range tests { | ||
t.Run(tt.name, func(t *testing.T) { | ||
if got := tt.seq.Int(); got != tt.want { | ||
t.Errorf("Int() = %v, want %v", got, tt.want) | ||
} | ||
}) | ||
} | ||
} | ||
|
||
func TestNewTestDMLStatement(t *testing.T) { | ||
type args struct { | ||
statement string | ||
} | ||
tests := []struct { | ||
name string | ||
args args | ||
want DMLStatement | ||
}{ | ||
// TODO: Add test cases. | ||
} | ||
for _, tt := range tests { | ||
t.Run(tt.name, func(t *testing.T) { | ||
if got := NewTestDMLStatement(tt.args.statement); !reflect.DeepEqual(got, tt.want) { | ||
t.Errorf("NewTestDMLStatement() = %v, want %v", got, tt.want) | ||
} | ||
}) | ||
} | ||
} | ||
|
||
func Test_nextTestDmlSeq(t *testing.T) { | ||
tests := []struct { | ||
name string | ||
want DMLSequence | ||
}{ | ||
// TODO: Add test cases. | ||
} | ||
for _, tt := range tests { | ||
t.Run(tt.name, func(t *testing.T) { | ||
if got := nextTestDmlSeq(); got != tt.want { | ||
t.Errorf("nextTestDmlSeq() = %v, want %v", got, tt.want) | ||
} | ||
}) | ||
} | ||
} |