Skip to content

Refine accessData and accessDataOrNull #10

Refine accessData and accessDataOrNull

Refine accessData and accessDataOrNull #10

GitHub Actions / Unit test results succeeded Feb 3, 2024 in 0s

All 30 tests pass in 0s

30 tests  +5   30 ✅ +5   0s ⏱️ ±0s
 8 suites +1    0 💤 ±0 
 8 files   +1    0 ❌ ±0 

Results for commit 2fd0fe5. ± Comparison against earlier commit c48f453.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit test results

30 tests found

There are 30 tests, see "Raw output" for the full list of tests.
Raw output
dev.pmpuro.tila.AccessTest ‑ should access data of correct type
dev.pmpuro.tila.AccessTest ‑ should return null for incorrect type
dev.pmpuro.tila.AccessTest ‑ should return null for non existent data
dev.pmpuro.tila.AccessTest ‑ should throw for incorrect type
dev.pmpuro.tila.AccessTest ‑ should throw for non existent data
dev.pmpuro.tila.ApplyDerivativeTest ‑ should call a derivative
dev.pmpuro.tila.ApplyDerivativeTest ‑ should derive automatically state data from returned map from a derivative
dev.pmpuro.tila.ApplyDerivativeTest ‑ should derive state data from returned map from a derivative
dev.pmpuro.tila.ApplyEventHandlerTest ‑ should call event handler
dev.pmpuro.tila.ApplyEventHandlerTest ‑ should call event handler when send an event immediately
dev.pmpuro.tila.ApplyEventHandlerTest ‑ should merge all given data
dev.pmpuro.tila.ApplyEventHandlerTest ‑ should merge event handlers returned data to app data
dev.pmpuro.tila.DataTest ‑ should give the app data when a derivative is applied
dev.pmpuro.tila.DataTest ‑ should keep the app data the same after a derivate call
dev.pmpuro.tila.DerivationTest ‑ should be able to deregister a derivative
dev.pmpuro.tila.DerivationTest ‑ should call registered derivative
dev.pmpuro.tila.DerivationTest ‑ should pass data map to derivatives
dev.pmpuro.tila.EventLoopTest ‑ should apply event handler
dev.pmpuro.tila.EventLoopTest ‑ should be able to deregister an event handler
dev.pmpuro.tila.EventLoopTest ‑ should be able to register an event handler
dev.pmpuro.tila.EventLoopTest ‑ should send an event
dev.pmpuro.tila.StateInjectionTest ‑ should inject a new state
dev.pmpuro.tila.StateInjectionTest ‑ should inject a state
dev.pmpuro.tila.StateTest ‑ should add a new piece of state when updating
dev.pmpuro.tila.StateTest ‑ should not override old piece of state
dev.pmpuro.tila.StateTest ‑ should return existing piece of state
dev.pmpuro.tila.StateTest ‑ should store many values
dev.pmpuro.tila.StateTest ‑ should store piece of state
dev.pmpuro.tila.StateTest ‑ should throw for non existing piece of state
dev.pmpuro.tila.StateTest ‑ should update existing piece of state