test: include coverage fixtures in native gates

This commit is contained in:
修雨 committed 2026-07-16 10:58:56 +08:00
1 parent 089a661124
commit 7f07c22cd5
169 files changed
+679 -668

No files matched your search

+3 -3
View File
@@ -54,7 +54,7 @@ func installAitableDeps(t *testing.T, caller *aitableTestCaller) *bytes.Buffer {
return out
}
func TestAitableFlagAndJSONNormalizers(t *testing.T) {
func TestCrossPlatformCoverageAitableFlagAndJSONNormalizers(t *testing.T) {
cmd := &cobra.Command{Use: "test"}
cmd.Flags().String("enabled", "", "")
cmd.Flags().String("records", "", "")
@@ -152,7 +152,7 @@ func TestAitableFlagAndJSONNormalizers(t *testing.T) {
}
}
func TestAitableViewConfigAndHelpers(t *testing.T) {
func TestCrossPlatformCoverageAitableViewConfigAndHelpers(t *testing.T) {
config := map[string]any{
"filter": map[string]any{"operator": "and", "operands": []any{}},
"sort": map[string]any{"fieldId": "f"}, "group": []any{},
@@ -259,7 +259,7 @@ func TestAitableViewConfigAndHelpers(t *testing.T) {
}
}
func TestAitableToolResponseAndPaginationHelpers(t *testing.T) {
func TestCrossPlatformCoverageAitableToolResponseAndPaginationHelpers(t *testing.T) {
caller := &aitableTestCaller{responses: []string{`{"data":{"views":[{"viewId":"v","viewType":"Grid"}]}}`}}
installAitableDeps(t, caller)
view, viewType, err := getViewRaw(context.Background(), "b", "t", "v")