KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_backup_settings.cpp File Reference

Tests for the auto_backup.format and auto_backup.location settings introduced in COMMON_SETTINGS schema 6. More...

#include <qa_utils/wx_utils/unit_test_utils.h>
#include <pgm_base.h>
#include <settings/common_settings.h>
#include <settings/json_settings_internals.h>
#include <settings/settings_manager.h>
#include <json_common.h>
#include <wx/filename.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (BackupFormatLocationRoundTrip)
 
 BOOST_AUTO_TEST_CASE (BackupFormatLocationDefaults)
 
 BOOST_AUTO_TEST_CASE (SchemaFiveToSixPreservesArchiveBehavior)
 
 BOOST_AUTO_TEST_CASE (SchemaFiveToSixRespectsExistingFormat)
 

Detailed Description

Tests for the auto_backup.format and auto_backup.location settings introduced in COMMON_SETTINGS schema 6.

Definition in file test_backup_settings.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( BackupFormatLocationDefaults )

Definition at line 67 of file test_backup_settings.cpp.

References BOOST_CHECK(), cs, INCREMENTAL, and PROJECT_DIR.

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( BackupFormatLocationRoundTrip )

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( SchemaFiveToSixPreservesArchiveBehavior )

Definition at line 83 of file test_backup_settings.cpp.

References BOOST_CHECK(), BOOST_REQUIRE(), cs, PROJECT_DIR, and ZIP.

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( SchemaFiveToSixRespectsExistingFormat )

Definition at line 111 of file test_backup_settings.cpp.

References BOOST_CHECK(), BOOST_REQUIRE(), cs, and INCREMENTAL.