Skip to content
Snippets Groups Projects
  1. Dec 17, 2020
  2. Dec 10, 2020
  3. Sep 17, 2020
    • Matthias Urhahn's avatar
      Introduce ViewModel Injection (#1151) · e8320fdf
      Matthias Urhahn authored
      
      * DI: ViewModel (VDC) injection wiring + example in TestRiskLevelCalculation.kt
      
      * Refactoring the TestRiskLevel fragment to demo our new viewmodel approach. Part1
      
      * Refactoring the TestRiskLevel fragment to demo our new viewmodel approach. Part2
      
      * Fix `Unexpected indentation (expected 4, actual 8)`
      
      * Code fluff
      
      * klint
      
      * Remove empty test + klint
      
      * Rename VDC to CWAViewModel
      
      * Add example unit tests for the TestFragment's ViewModel.
      
      * Revert AppInjector renaming.
      
      * Comments explaining the code.
      
      * Rename class to make it's purpose less confusing.
      
      * Revert "Rename class to make it's purpose less confusing."
      
      This reverts commit c80298bb
      
      * Rename class to make it's purpose less confusing.
      
      * Simpler ViewModel Injection example.
      
      * klint <3
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      e8320fdf
  4. Aug 26, 2020
    • Matthias Urhahn's avatar
      Storage check with optional allocation (EXPOSUREAPP-2259) (#1076) · 521e3ec7
      Matthias Urhahn authored
      
      * Disable klint debug output to make it easier to find the actual error in the log.
      
      * Setup jUnit5 & kotest.
      
      * Add base classes for testing to setup log output.
      
      * Introduce class `DeviceStorage` to check (or request on newer APIs) free space.
      
      Rel. EXPOSUREAPP-2259
      
      * Add test cases for failure modes.
      
      * Make it obvious that the check should not be executed on the ui thread.
      
      * Try fall back to legacy method if the API26+ version fails.
      If that also fails, throw the exception and let the caller handle it.
      
      * Wire up injection annotations.
      
      * Remove unused mockito testing dependency.
      
      * klint...
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Co-authored-by: default avatarJakob Möller <jakob.moeller@sap.com>
      521e3ec7
  5. Jul 14, 2020
  6. Jul 13, 2020
  7. Jun 11, 2020
  8. Jun 10, 2020
  9. Jun 09, 2020
Loading