Blender  V2.93
Classes | Functions | Variables
blender::fn::tests Namespace Reference

Classes

struct  TestType
 

Functions

 TEST (cpp_type, Size)
 
 TEST (cpp_type, Alignment)
 
 TEST (cpp_type, Is)
 
 TEST (cpp_type, DefaultConstruction)
 
 TEST (cpp_type, Destruct)
 
 TEST (cpp_type, CopyToUninitialized)
 
 TEST (cpp_type, CopyToInitialized)
 
 TEST (cpp_type, RelocateToUninitialized)
 
 TEST (cpp_type, RelocateToInitialized)
 
 TEST (cpp_type, FillInitialized)
 
 TEST (cpp_type, FillUninitialized)
 
 TEST (cpp_type, DebugPrint)
 
 TEST (generic_span, TypeConstructor)
 
 TEST (generic_span, BufferAndSizeConstructor)
 
 TEST (generic_mutable_span, TypeConstructor)
 
 TEST (generic_mutable_span, BufferAndSizeConstructor)
 
 TEST (generic_vector_array, Construct)
 
 TEST (generic_vector_array, Append)
 
 TEST (generic_vector_array, Extend)
 

Variables

static const int default_constructed_value = 1
 
static const int copy_constructed_value = 2
 
static const int move_constructed_value = 3
 
static const int copy_constructed_from_value = 4
 
static const int move_constructed_from_value = 5
 
static const int copy_assigned_value = 6
 
static const int copy_assigned_from_value = 7
 
static const int move_assigned_value = 8
 
static const int move_assigned_from_value = 9
 
static const int destructed_value = 10
 
static const CPPTypeCPPType_TestType = CPPType::get<TestType>()
 

Function Documentation

◆ TEST() [1/19]

blender::fn::tests::TEST ( cpp_type  ,
Alignment   
)

◆ TEST() [2/19]

blender::fn::tests::TEST ( cpp_type  ,
CopyToInitialized   
)

◆ TEST() [3/19]

blender::fn::tests::TEST ( cpp_type  ,
CopyToUninitialized   
)

◆ TEST() [4/19]

blender::fn::tests::TEST ( cpp_type  ,
DebugPrint   
)

Definition at line 317 of file FN_cpp_type_test.cc.

References EXPECT_EQ().

◆ TEST() [5/19]

blender::fn::tests::TEST ( cpp_type  ,
DefaultConstruction   
)

◆ TEST() [6/19]

blender::fn::tests::TEST ( cpp_type  ,
Destruct   
)

◆ TEST() [7/19]

blender::fn::tests::TEST ( cpp_type  ,
FillInitialized   
)

◆ TEST() [8/19]

blender::fn::tests::TEST ( cpp_type  ,
FillUninitialized   
)

◆ TEST() [9/19]

blender::fn::tests::TEST ( cpp_type  ,
Is   
)

Definition at line 95 of file FN_cpp_type_test.cc.

References CPPType_TestType, and blender::fn::CPPType::is().

◆ TEST() [10/19]

blender::fn::tests::TEST ( cpp_type  ,
RelocateToInitialized   
)

◆ TEST() [11/19]

blender::fn::tests::TEST ( cpp_type  ,
RelocateToUninitialized   
)

◆ TEST() [12/19]

blender::fn::tests::TEST ( cpp_type  ,
Size   
)

Definition at line 85 of file FN_cpp_type_test.cc.

References CPPType_TestType, EXPECT_EQ(), and blender::fn::CPPType::size().

◆ TEST() [13/19]

blender::fn::tests::TEST ( generic_mutable_span  ,
BufferAndSizeConstructor   
)

◆ TEST() [14/19]

blender::fn::tests::TEST ( generic_mutable_span  ,
TypeConstructor   
)

◆ TEST() [15/19]

blender::fn::tests::TEST ( generic_span  ,
BufferAndSizeConstructor   
)

◆ TEST() [16/19]

blender::fn::tests::TEST ( generic_span  ,
TypeConstructor   
)

◆ TEST() [17/19]

blender::fn::tests::TEST ( generic_vector_array  ,
Append   
)

◆ TEST() [18/19]

blender::fn::tests::TEST ( generic_vector_array  ,
Construct   
)

Definition at line 9 of file FN_generic_vector_array_test.cc.

References EXPECT_EQ().

◆ TEST() [19/19]

blender::fn::tests::TEST ( generic_vector_array  ,
Extend   
)

Variable Documentation

◆ copy_assigned_from_value

const int blender::fn::tests::copy_assigned_from_value = 7
static

Definition at line 16 of file FN_cpp_type_test.cc.

Referenced by blender::fn::tests::TestType::operator=(), and TEST().

◆ copy_assigned_value

const int blender::fn::tests::copy_assigned_value = 6
static

Definition at line 15 of file FN_cpp_type_test.cc.

Referenced by blender::fn::tests::TestType::operator=(), and TEST().

◆ copy_constructed_from_value

const int blender::fn::tests::copy_constructed_from_value = 4
static

Definition at line 13 of file FN_cpp_type_test.cc.

Referenced by TEST(), and blender::fn::tests::TestType::TestType().

◆ copy_constructed_value

const int blender::fn::tests::copy_constructed_value = 2
static

Definition at line 11 of file FN_cpp_type_test.cc.

Referenced by TEST(), and blender::fn::tests::TestType::TestType().

◆ CPPType_TestType

const CPPType& blender::fn::tests::CPPType_TestType = CPPType::get<TestType>()
static

Definition at line 83 of file FN_cpp_type_test.cc.

Referenced by TEST().

◆ default_constructed_value

const int blender::fn::tests::default_constructed_value = 1
static

Definition at line 10 of file FN_cpp_type_test.cc.

Referenced by TEST(), and blender::fn::tests::TestType::TestType().

◆ destructed_value

const int blender::fn::tests::destructed_value = 10
static

Definition at line 19 of file FN_cpp_type_test.cc.

Referenced by TEST(), and blender::fn::tests::TestType::~TestType().

◆ move_assigned_from_value

const int blender::fn::tests::move_assigned_from_value = 9
static

Definition at line 18 of file FN_cpp_type_test.cc.

Referenced by blender::fn::tests::TestType::operator=().

◆ move_assigned_value

const int blender::fn::tests::move_assigned_value = 8
static

Definition at line 17 of file FN_cpp_type_test.cc.

Referenced by blender::fn::tests::TestType::operator=(), and TEST().

◆ move_constructed_from_value

const int blender::fn::tests::move_constructed_from_value = 5
static

Definition at line 14 of file FN_cpp_type_test.cc.

Referenced by blender::fn::tests::TestType::TestType().

◆ move_constructed_value

const int blender::fn::tests::move_constructed_value = 3
static

Definition at line 12 of file FN_cpp_type_test.cc.

Referenced by TEST(), and blender::fn::tests::TestType::TestType().