-
Notifications
You must be signed in to change notification settings - Fork 33
Description
TestLiteralEval.java only tests the literalEval() parser. The actual API methods... read(), write(), unchanged(), initVal(), have no tests at all.
This means there's no verification that:
-
write() produces a correctly formatted file ([simtime+delta, val1, val2, ...])
-
read() parses it back and strips simtime from the returned data
-
unchanged() returns true when data hasn't changed and false after a new write
-
simtime advances correctly across iterations when delta is applied
-
initVal() correctly extracts simtime and returns remaining values
to be added: a new TestConcoredockerApi.java that exercises the file-based IPC path using temp directories:
-
Write to a file, read it back, assert data roundtrips correctly
-
Run multiple write- read iterations, assert simtime advances with delta
-
Verify unchanged() state transitions with real file content
-
Verify initVal() parsing and simtime extraction
-
Confirm output files match the Python wire format ([simtime, ...])
Builds on top of #463 (once methods are accessible).