Skip to content

Commit

Permalink
Updated test cases in app settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkapok committed Aug 9, 2024
1 parent 9fd8fef commit ea19ba4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ describe('App settings component', () => {
});

// TODO AppSettings:
// * After changing units, also the range values need to be reloaded
// * Apply settings by component
// * Add to application settings serialization/persistence
// * Add save and load last from state
Expand All @@ -91,12 +92,15 @@ describe('App settings component', () => {


// TODO missing test cases:
// * Units.ts: Add more tests for density conversion
// * Add tests for Diver.ts
// * AppSettingsComponent:
// * Precision and Step for imperial units
// * Precision and Step for metric units
// * Values are reloaded after switch to and from imperial units and click Use button
// * Values are Saved to PreferencesStore after clicking Use button
// * Values are loaded from PreferencesStore after component initialization
// * PersistenceService: Save and load AppSettings from store
// * ProfileEvents: Generates correct events based on maxDensity
// * NormalizationService: rounds values to correct range of settings when switching units
// * Scheduler: Change of maxDensity triggers schedule calculation
// * Diver.component.ts: Add tests for rmv and stressRmv save and load

0 comments on commit ea19ba4

Please sign in to comment.