fix(tests): update Gemini family test case numbers for consistency

This commit is contained in:
hkfires
2026-04-17 08:43:19 +08:00
parent d9a3b3e5f3
commit da43f63735
+26 -26
View File
@@ -1065,12 +1065,12 @@ func TestThinkingE2EMatrix_Suffix(t *testing.T) {
expectErr: false, expectErr: false,
}, },
// Gemini Family Cross-Channel Consistency (Cases 106-114) // Gemini Family Cross-Channel Consistency (Cases 90-95)
// Tests that gemini/gemini-cli/antigravity as same API family should have consistent validation behavior // Tests that gemini/gemini-cli/antigravity as same API family should have consistent validation behavior
// Case 106: Gemini to Antigravity, budget 64000 (suffix) → clamped to Max // Case 90: Gemini to Antigravity, budget 64000 (suffix) → clamped to Max
{ {
name: "106", name: "90",
from: "gemini", from: "gemini",
to: "antigravity", to: "antigravity",
model: "gemini-budget-model(64000)", model: "gemini-budget-model(64000)",
@@ -1080,9 +1080,9 @@ func TestThinkingE2EMatrix_Suffix(t *testing.T) {
includeThoughts: "true", includeThoughts: "true",
expectErr: false, expectErr: false,
}, },
// Case 107: Gemini to Gemini-CLI, budget 64000 (suffix) → clamped to Max // Case 91: Gemini to Gemini-CLI, budget 64000 (suffix) → clamped to Max
{ {
name: "107", name: "91",
from: "gemini", from: "gemini",
to: "gemini-cli", to: "gemini-cli",
model: "gemini-budget-model(64000)", model: "gemini-budget-model(64000)",
@@ -1092,9 +1092,9 @@ func TestThinkingE2EMatrix_Suffix(t *testing.T) {
includeThoughts: "true", includeThoughts: "true",
expectErr: false, expectErr: false,
}, },
// Case 108: Gemini-CLI to Antigravity, budget 64000 (suffix) → clamped to Max // Case 92: Gemini-CLI to Antigravity, budget 64000 (suffix) → clamped to Max
{ {
name: "108", name: "92",
from: "gemini-cli", from: "gemini-cli",
to: "antigravity", to: "antigravity",
model: "gemini-budget-model(64000)", model: "gemini-budget-model(64000)",
@@ -1104,9 +1104,9 @@ func TestThinkingE2EMatrix_Suffix(t *testing.T) {
includeThoughts: "true", includeThoughts: "true",
expectErr: false, expectErr: false,
}, },
// Case 109: Gemini-CLI to Gemini, budget 64000 (suffix) → clamped to Max // Case 93: Gemini-CLI to Gemini, budget 64000 (suffix) → clamped to Max
{ {
name: "109", name: "93",
from: "gemini-cli", from: "gemini-cli",
to: "gemini", to: "gemini",
model: "gemini-budget-model(64000)", model: "gemini-budget-model(64000)",
@@ -1116,9 +1116,9 @@ func TestThinkingE2EMatrix_Suffix(t *testing.T) {
includeThoughts: "true", includeThoughts: "true",
expectErr: false, expectErr: false,
}, },
// Case 110: Gemini to Antigravity, budget 8192 → passthrough (normal value) // Case 94: Gemini to Antigravity, budget 8192 → passthrough (normal value)
{ {
name: "110", name: "94",
from: "gemini", from: "gemini",
to: "antigravity", to: "antigravity",
model: "gemini-budget-model(8192)", model: "gemini-budget-model(8192)",
@@ -1128,9 +1128,9 @@ func TestThinkingE2EMatrix_Suffix(t *testing.T) {
includeThoughts: "true", includeThoughts: "true",
expectErr: false, expectErr: false,
}, },
// Case 111: Gemini-CLI to Antigravity, budget 8192 → passthrough (normal value) // Case 95: Gemini-CLI to Antigravity, budget 8192 → passthrough (normal value)
{ {
name: "111", name: "95",
from: "gemini-cli", from: "gemini-cli",
to: "antigravity", to: "antigravity",
model: "gemini-budget-model(8192)", model: "gemini-budget-model(8192)",
@@ -2166,12 +2166,12 @@ func TestThinkingE2EMatrix_Body(t *testing.T) {
expectErr: true, expectErr: true,
}, },
// Gemini Family Cross-Channel Consistency (Cases 106-114) // Gemini Family Cross-Channel Consistency (Cases 90-95)
// Tests that gemini/gemini-cli/antigravity as same API family should have consistent validation behavior // Tests that gemini/gemini-cli/antigravity as same API family should have consistent validation behavior
// Case 106: Gemini to Antigravity, thinkingBudget=64000 → exceeds Max error (same family strict validation) // Case 90: Gemini to Antigravity, thinkingBudget=64000 → exceeds Max error (same family strict validation)
{ {
name: "106", name: "90",
from: "gemini", from: "gemini",
to: "antigravity", to: "antigravity",
model: "gemini-budget-model", model: "gemini-budget-model",
@@ -2179,9 +2179,9 @@ func TestThinkingE2EMatrix_Body(t *testing.T) {
expectField: "", expectField: "",
expectErr: true, expectErr: true,
}, },
// Case 107: Gemini to Gemini-CLI, thinkingBudget=64000 → exceeds Max error (same family strict validation) // Case 91: Gemini to Gemini-CLI, thinkingBudget=64000 → exceeds Max error (same family strict validation)
{ {
name: "107", name: "91",
from: "gemini", from: "gemini",
to: "gemini-cli", to: "gemini-cli",
model: "gemini-budget-model", model: "gemini-budget-model",
@@ -2189,9 +2189,9 @@ func TestThinkingE2EMatrix_Body(t *testing.T) {
expectField: "", expectField: "",
expectErr: true, expectErr: true,
}, },
// Case 108: Gemini-CLI to Antigravity, thinkingBudget=64000 → exceeds Max error (same family strict validation) // Case 92: Gemini-CLI to Antigravity, thinkingBudget=64000 → exceeds Max error (same family strict validation)
{ {
name: "108", name: "92",
from: "gemini-cli", from: "gemini-cli",
to: "antigravity", to: "antigravity",
model: "gemini-budget-model", model: "gemini-budget-model",
@@ -2199,9 +2199,9 @@ func TestThinkingE2EMatrix_Body(t *testing.T) {
expectField: "", expectField: "",
expectErr: true, expectErr: true,
}, },
// Case 109: Gemini-CLI to Gemini, thinkingBudget=64000 → exceeds Max error (same family strict validation) // Case 93: Gemini-CLI to Gemini, thinkingBudget=64000 → exceeds Max error (same family strict validation)
{ {
name: "109", name: "93",
from: "gemini-cli", from: "gemini-cli",
to: "gemini", to: "gemini",
model: "gemini-budget-model", model: "gemini-budget-model",
@@ -2209,9 +2209,9 @@ func TestThinkingE2EMatrix_Body(t *testing.T) {
expectField: "", expectField: "",
expectErr: true, expectErr: true,
}, },
// Case 110: Gemini to Antigravity, thinkingBudget=8192 → passthrough (normal value) // Case 94: Gemini to Antigravity, thinkingBudget=8192 → passthrough (normal value)
{ {
name: "110", name: "94",
from: "gemini", from: "gemini",
to: "antigravity", to: "antigravity",
model: "gemini-budget-model", model: "gemini-budget-model",
@@ -2221,9 +2221,9 @@ func TestThinkingE2EMatrix_Body(t *testing.T) {
includeThoughts: "true", includeThoughts: "true",
expectErr: false, expectErr: false,
}, },
// Case 111: Gemini-CLI to Antigravity, thinkingBudget=8192 → passthrough (normal value) // Case 95: Gemini-CLI to Antigravity, thinkingBudget=8192 → passthrough (normal value)
{ {
name: "111", name: "95",
from: "gemini-cli", from: "gemini-cli",
to: "antigravity", to: "antigravity",
model: "gemini-budget-model", model: "gemini-budget-model",