Matter SDK Coverage Report
Current view: top level - app - SafeAttributePersistenceProvider.cpp (source / functions) Coverage Total Hit
Test: SHA:b879ecb8e99e175eea0a293a888bda853da2b19c Lines: 60.0 % 5 3
Test Date: 2025-01-17 19:00:11 Functions: 50.0 % 2 1

            Line data    Source code
       1              : #include <app/SafeAttributePersistenceProvider.h>
       2              : 
       3              : namespace chip {
       4              : namespace app {
       5              : 
       6              : namespace {
       7              : 
       8              : SafeAttributePersistenceProvider * gSafeAttributeSaver = nullptr;
       9              : 
      10              : } // anonymous namespace
      11              : 
      12            0 : SafeAttributePersistenceProvider * GetSafeAttributePersistenceProvider()
      13              : {
      14            0 :     return gSafeAttributeSaver;
      15              : }
      16              : 
      17            1 : void SetSafeAttributePersistenceProvider(SafeAttributePersistenceProvider * aProvider)
      18              : {
      19            1 :     VerifyOrReturn(aProvider != nullptr);
      20            1 :     gSafeAttributeSaver = aProvider;
      21              : }
      22              : 
      23              : } // namespace app
      24              : } // namespace chip
        

Generated by: LCOV version 2.0-1