after completing the recent clean-up and refactoring work, the monad based framework for recursive tree expansion can be abandoned and retracted. This approach from functional programming leads to code, which is ''cool to write'' yet ''hard to understand.'' A second design attempt was based on the pipeline and decorator pattern and integrates the monadic expansion as a special case, used here to discover the prerequisites for a render job. This turned out to be more effective and prolific and became standard for several exploring and backtracking algorithms in Lumiera.
80 lines
1.5 KiB
Text
80 lines
1.5 KiB
Text
TESTING "Component Test Suite: Render Engine parts" ./test-suite --group=engine
|
|
|
|
|
|
|
|
TEST "Test support: dummy frames" TestFrame_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Test support: dummy buffer provider" TrackingHeapBlockProvider_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Buffer provider diagnostics" BufferProviderProtocol_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "buffer metadata type keys" BufferMetadataKey_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "buffer metadata and state transitions" BufferMetadata_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
PLANNED "buffer table" BuffTable_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
PLANNED "Engine Interface basics" EngineInterface_test <<END
|
|
END
|
|
|
|
|
|
PLANNED "Engine calculation streams" CalcStream_test <<END
|
|
END
|
|
|
|
|
|
TEST "Frame Dispatcher Interface" DispatcherInterface_test <<END
|
|
END
|
|
|
|
|
|
TEST "Render job properties" JobHash_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Render job planning calculation" JobPlanning_test <<END
|
|
out-lit: Frame #5 @ ∆200ms
|
|
out-lit: real-time-origin : 0:05:00.000
|
|
out-lit: total latency : ≺30ms≻
|
|
out-lit: deadline : 0:05:00.170
|
|
out-lit: Prerequisite......
|
|
out-lit: master deadline : 0:05:00.160
|
|
out-lit: latency : ≺60ms≻
|
|
out-lit: prereq deadline : 0:05:00.100
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Render job planning pipeline setup" JobPlanningPipeline_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "Mock support for render job planning" MockSupport_test <<END
|
|
return: 0
|
|
END
|
|
|
|
|
|
PLANNED "scheduler interface" SchedulerInterface_test <<END
|
|
END
|
|
|
|
|
|
TEST "Step timing basics" Timings_test <<END
|
|
END
|