feat: sync vehicle monitoring and accumulated platform updates
Add monitoring metrics, numeric sorting, report-time display, vehicle number labels, and map layout fixes. Include accumulated mileage, hydrogen, OneOS authentication, open platform, ingestion, deployment, and UI updates. Exclude temporary files, generated reports, and credentials. Validate frontend 632 tests and production build, API packages, vehicle-map tests, and release installer tests. Gateway suite has one pre-existing date-sensitive identity throttling test failure reproduced on the parent commit.
This commit is contained in:
@@ -132,3 +132,31 @@ func TestHistoricalHydrogenDocumentationDefinesEvidenceAndFailureBoundaries(t *t
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestOperatingDataDocumentationAndCatalog(t *testing.T) {
|
||||
for _, text := range []string{OperatingDataQueryPath, "queryStatus", "dailyDate", "partialSuccessCount", "CARRIED_FORWARD", "Retry-After", "MISSING"} {
|
||||
if !strings.Contains(string(openAPISpec), text) {
|
||||
t.Errorf("OpenAPI missing %s", text)
|
||||
}
|
||||
if !strings.Contains(string(simpleDocsHTML), text) {
|
||||
t.Errorf("HTML missing %s", text)
|
||||
}
|
||||
}
|
||||
found := false
|
||||
for _, product := range dataProducts() {
|
||||
if product.Path == OperatingDataQueryPath {
|
||||
found = product.Code == "operating_data"
|
||||
}
|
||||
}
|
||||
if !found {
|
||||
t.Fatal("aggregate API missing from catalog")
|
||||
}
|
||||
}
|
||||
|
||||
func TestOperatingSimpleModeDocumentation(t *testing.T) {
|
||||
for _, field := range []string{"responseMode", "SIMPLE", "reportTime", "offline", "dailyHydrogenConsumptionKg", "hydrogenConsumptionPer100KmKg"} {
|
||||
if !strings.Contains(string(openAPISpec), field) || !strings.Contains(string(simpleDocsHTML), field) {
|
||||
t.Errorf("SIMPLE contract missing %s", field)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user