KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_property.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <wx/gdicmn.h>
#include <inspectable.h>
#include <properties/property_mgr.h>

Go to the source code of this file.

Classes

class  A
 
class  B
 
class  C
 
class  D
 
class  E
 
struct  ENUM_GLOB_DESC
 
struct  CLASS_A_DESC
 
struct  CLASS_B_DESC
 
struct  CLASS_C_DESC
 
struct  CLASS_D_DESC
 
struct  CLASS_E_DESC
 
struct  PropertiesFixture
 

Enumerations

enum  enum_glob { TEST1 = 0 , TEST2 = 1 , TEST3 = 4 }
 

Functions

 ENUM_TO_WXANY (enum_glob)
 
 ENUM_TO_WXANY (D::enum_class)
 
 BOOST_AUTO_TEST_CASE (Init)
 
 BOOST_AUTO_TEST_CASE (SetGet)
 
 BOOST_AUTO_TEST_CASE (VirtualMethods)
 
 BOOST_AUTO_TEST_CASE (NotexistingProperties)
 
 BOOST_AUTO_TEST_CASE (IncorrectType)
 
 BOOST_AUTO_TEST_CASE (TypeCasting)
 
 BOOST_AUTO_TEST_CASE (EnumGlob)
 
 BOOST_AUTO_TEST_CASE (EnumClass)
 
 BOOST_AUTO_TEST_CASE (Availability)
 
 BOOST_AUTO_TEST_CASE (Alias)
 
 BOOST_AUTO_TEST_CASE (Rename)
 
 BOOST_AUTO_TEST_CASE (AlternativeEnum)
 

Variables

static struct ENUM_GLOB_DESC _ENUM_GLOB_DESC
 
static struct CLASS_A_DESC _CLASS_A_DESC
 
static struct CLASS_B_DESC _CLASS_B_DESC
 
static struct CLASS_C_DESC _CLASS_C_DESC
 
static struct CLASS_D_DESC _CLASS_D_DESC
 
static struct CLASS_E_DESC _CLASS_E_DESC
 

Enumeration Type Documentation

◆ enum_glob

enum enum_glob
Enumerator
TEST1 
TEST2 
TEST3 

Definition at line 77 of file test_property.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/12]

BOOST_AUTO_TEST_CASE ( Alias  )

Definition at line 370 of file test_property.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/12]

BOOST_AUTO_TEST_CASE ( AlternativeEnum  )

◆ BOOST_AUTO_TEST_CASE() [3/12]

BOOST_AUTO_TEST_CASE ( Availability  )

Definition at line 356 of file test_property.cpp.

References PROPERTY_BASE::Available(), BOOST_CHECK(), TEST1, TEST3, and TYPE_HASH.

◆ BOOST_AUTO_TEST_CASE() [4/12]

BOOST_AUTO_TEST_CASE ( EnumClass  )

◆ BOOST_AUTO_TEST_CASE() [5/12]

BOOST_AUTO_TEST_CASE ( EnumGlob  )

◆ BOOST_AUTO_TEST_CASE() [6/12]

BOOST_AUTO_TEST_CASE ( IncorrectType  )

Definition at line 269 of file test_property.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/12]

BOOST_AUTO_TEST_CASE ( Init  )

Definition at line 226 of file test_property.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/12]

BOOST_AUTO_TEST_CASE ( NotexistingProperties  )

Definition at line 261 of file test_property.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/12]

BOOST_AUTO_TEST_CASE ( Rename  )

Definition at line 384 of file test_property.cpp.

References BOOST_CHECK(), and TYPE_HASH.

◆ BOOST_AUTO_TEST_CASE() [10/12]

BOOST_AUTO_TEST_CASE ( SetGet  )

Definition at line 232 of file test_property.cpp.

References TEST2, and D::TESTC.

◆ BOOST_AUTO_TEST_CASE() [11/12]

BOOST_AUTO_TEST_CASE ( TypeCasting  )

Definition at line 276 of file test_property.cpp.

References TYPE_HASH.

◆ BOOST_AUTO_TEST_CASE() [12/12]

BOOST_AUTO_TEST_CASE ( VirtualMethods  )

Definition at line 248 of file test_property.cpp.

◆ ENUM_TO_WXANY() [1/2]

ENUM_TO_WXANY ( D::enum_class  )

◆ ENUM_TO_WXANY() [2/2]

ENUM_TO_WXANY ( enum_glob  )

Variable Documentation

◆ _CLASS_A_DESC

struct CLASS_A_DESC _CLASS_A_DESC
static

◆ _CLASS_B_DESC

struct CLASS_B_DESC _CLASS_B_DESC
static

◆ _CLASS_C_DESC

struct CLASS_C_DESC _CLASS_C_DESC
static

◆ _CLASS_D_DESC

struct CLASS_D_DESC _CLASS_D_DESC
static

◆ _CLASS_E_DESC

struct CLASS_E_DESC _CLASS_E_DESC
static

◆ _ENUM_GLOB_DESC

struct ENUM_GLOB_DESC _ENUM_GLOB_DESC
static