chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)

This commit is contained in:
MiFaZhan
2026-11-02 13:27:59 +08:00
1250 changed files with 154111 additions and 0 deletions
@@ -0,0 +1,18 @@
package tasks
import "testing"
func TestAllFullSyncTaskRegistrations(t *testing.T) {
for name, method := range map[string]string{
"start_traffic_usage_full_sync": "StartTrafficUsageFullSync",
"syns_sim_status_queue": "SynsSimStatusQueue",
"syns_imei_queue": "SynsImeiQueue",
"sync_traffic_usage_daily": "SyncTrafficUsageDaily",
"sync_traffic_usage_monthly": "SyncTrafficUsageMonthly",
"start_traffic_usage_monthly_history": "StartTrafficUsageMonthlyHistory",
} {
if got := GetInnerTaskName(name); got != method {
t.Errorf("task %q registered as %q, want %q", name, got, method)
}
}
}