Blender V4.3
blender::tests Namespace Reference

Classes

class  ChangeWorkingDirectoryTest
 
struct  ConstructibleType
 
struct  EqualityIntModN
 
class  ExceptionThrower
 
struct  ExtraSizeInfo
 
class  FileOpsTest
 
struct  HashIntModN
 
class  ImplicitlySharedData
 
struct  MyKeyType
 
struct  RecursiveType
 
class  SharedDataContainer
 
class  TestBaseClass
 
class  TestChildClass
 
struct  TestListValue
 
struct  TestType
 
struct  Type1
 
struct  Type2
 
class  TypeConstructMock
 

Functions

 TEST (any, DefaultConstructor)
 
 TEST (any, AssignInt)
 
 TEST (any, AssignMap)
 
 TEST (any, AssignAny)
 
 TEST (any, Allocate)
 
 TEST (any, ExtraInfo)
 
 TEST (array, DefaultConstructor)
 
 TEST (array, SizeConstructor)
 
 TEST (array, FillConstructor)
 
 TEST (array, InitializerListConstructor)
 
 TEST (array, SpanConstructor)
 
 TEST (array, CopyConstructor)
 
 TEST (array, MoveConstructor)
 
 TEST (array, CopyAssignment)
 
 TEST (array, MoveAssignment)
 
 TEST (array, TrivialTypeSizeConstructor)
 
 TEST (array, NoInitializationSizeConstructor)
 
 TEST (array, Fill)
 
 TEST (array, ReverseIterator)
 
 TEST (array, SpanConstructorExceptions)
 
 TEST (array, SizeValueConstructorExceptions)
 
 TEST (array, MoveConstructorExceptions)
 
 TEST (array, CopyAssignmentExceptions)
 
 TEST (array, MoveAssignmentExceptions)
 
 TEST (array, Last)
 
 TEST (array, Reinitialize)
 
 TEST (bitmap, empty_is_all_unset)
 
 TEST (bitmap, find_first_unset_empty)
 
 TEST (bitmap, find_first_unset_full)
 
 TEST (bitmap, find_first_unset_middle)
 
 TEST (bounds, Empty)
 
 TEST (bounds, EmptyInt)
 
 TEST (bounds, Center)
 
 TEST (bounds, Size)
 
 TEST (bounds, Translate)
 
 TEST (bounds, ScaleFromCenter)
 
 TEST (bounds, Resize)
 
 TEST (bounds, Recenter)
 
 TEST (bounds, Pad)
 
 TEST (bounds, MinMaxEmpty)
 
 TEST (bounds, MinMax)
 
 TEST (bounds, MinMaxFloat)
 
 TEST (bounds, MinGreaterThanZero)
 
 TEST (bounds, MinMaxRadii)
 
 TEST (bounds, Large)
 
 TEST (BLI_build_config, Basic)
 
 TEST (BLI_build_config, Endian)
 
 TEST (cpp_type, Size)
 
 TEST (cpp_type, Alignment)
 
 TEST (cpp_type, Is)
 
 TEST (cpp_type, DefaultConstruction)
 
 TEST (cpp_type, DefaultConstructTrivial)
 
 TEST (cpp_type, ValueInitialize)
 
 TEST (cpp_type, ValueInitializeTrivial)
 
 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 (cpp_type, ToStaticType)
 
 TEST (cpp_type, CopyAssignCompressed)
 
 TEST (disjoint_set, Test)
 
 TEST_F (FileOpsTest, rename)
 
 TEST (fileops, fstream_open_string_filename)
 
 TEST (fileops, fstream_open_charptr_filename)
 
 TEST_F (ChangeWorkingDirectoryTest, change_working_directory)
 
static int perform_binary_operation (int a, int b, FunctionRef< int(int, int)> operation)
 
 TEST (function_ref, StatelessLambda)
 
 TEST (function_ref, StatefullLambda)
 
static int add_two_numbers (int a, int b)
 
 TEST (function_ref, StandaloneFunction)
 
 TEST (function_ref, ConstantFunction)
 
 TEST (function_ref, MutableStatefullLambda)
 
 TEST (function_ref, Null)
 
 TEST (function_ref, CopyDoesNotReferenceFunctionRef)
 
 TEST (function_ref, CopyDoesNotReferenceFunctionRef2)
 
 TEST (function_ref, ReferenceAnotherFunctionRef)
 
 TEST (function_ref, InitializeWithNull)
 
static int overload_test (const FunctionRef< void(std::string)>)
 
static int overload_test (const FunctionRef< void(int)>)
 
 TEST (function_ref, OverloadSelection)
 
 TEST (generic_array, TypeConstructor)
 
 TEST (generic_array, MoveConstructor)
 
 TEST (generic_array, CopyConstructor)
 
 TEST (generic_array, BufferAndSizeConstructor)
 
 TEST (generic_array, Reinitialize)
 
 TEST (generic_array, InContainer)
 
 TEST (generic_array, ReinitEmpty)
 
 TEST (generic_array, AssignDefault)
 
 TEST (generic_array, DefaultConstructor)
 
 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)
 
 TEST (implicit_sharing, CopyOnWriteAccess)
 
 TEST (implicit_sharing, WeakUser)
 
 TEST (implicit_sharing, Version)
 
 TEST (index_range, DefaultConstructor)
 
 TEST (index_range, FromBeginSize)
 
 TEST (index_range, FromBeginEnd)
 
 TEST (index_range, FromBeginEndInclusive)
 
 TEST (index_range, FromEndSize)
 
 TEST (index_range, FromSingle)
 
 TEST (index_range, SingleElementRange)
 
 TEST (index_range, MultipleElementRange)
 
 TEST (index_range, SubscriptOperator)
 
 TEST (index_range, Before)
 
 TEST (index_range, After)
 
 TEST (index_range, Contains)
 
 TEST (index_range, First)
 
 TEST (index_range, Last)
 
 TEST (index_range, OneAfterEnd)
 
 TEST (index_range, OneBeforeStart)
 
 TEST (index_range, Start)
 
 TEST (index_range, Slice)
 
 TEST (index_range, Intersect)
 
 TEST (index_range, SliceRange)
 
 TEST (index_range, DropBack)
 
 TEST (index_range, DropBackAll)
 
 TEST (index_range, DropFront)
 
 TEST (index_range, DropFrontLargeN)
 
 TEST (index_range, DropFrontAll)
 
 TEST (index_range, TakeFront)
 
 TEST (index_range, TakeFrontLargeN)
 
 TEST (index_range, TakeBack)
 
 TEST (index_range, TakeBackLargeN)
 
 TEST (index_range, constexpr_)
 
 TEST (index_range, GenericAlgorithms)
 
 TEST (index_range, SplitByAlignment)
 
 TEST (index_ranges_builder, Empty)
 
 TEST (index_ranges_builder, Single)
 
 TEST (index_ranges_builder, Multiple)
 
 TEST (index_ranges_builder, Full)
 
 TEST (inplace_priority_queue, BuildSmall)
 
 TEST (inplace_priority_queue, DecreasePriority)
 
 TEST (inplace_priority_queue, IncreasePriority)
 
 TEST (inplace_priority_queue, PopAll)
 
 TEST (inplace_priority_queue, ManyPriorityChanges)
 
 TEST (inplace_priority_queue, IndicesAccess)
 
static bool is_aligned (void *ptr, uint alignment)
 
 TEST (linear_allocator, AllocationAlignment)
 
 TEST (linear_allocator, PackedAllocation)
 
 TEST (linear_allocator, CopyString)
 
 TEST (linear_allocator, AllocateArray)
 
 TEST (linear_allocator, Construct)
 
 TEST (linear_allocator, ConstructElementsAndPointerArray)
 
 TEST (linear_allocator, ConstructArrayCopy)
 
 TEST (linear_allocator, AllocateLarge)
 
 TEST (linear_allocator, ManyAllocations)
 
 TEST (linear_allocator, ConstructArray)
 
 TEST (linear_allocator, TransferOwnership)
 
 TEST (map, DefaultConstructor)
 
 TEST (map, AddIncreasesSize)
 
 TEST (map, Contains)
 
 TEST (map, LookupExisting)
 
 TEST (map, LookupNotExisting)
 
 TEST (map, AddMany)
 
 TEST (map, PopItem)
 
 TEST (map, PopTry)
 
 TEST (map, PopDefault)
 
 TEST (map, PopItemMany)
 
 TEST (map, ValueIterator)
 
 TEST (map, KeyIterator)
 
 TEST (map, ItemIterator)
 
 TEST (map, MutableValueIterator)
 
 TEST (map, MutableItemIterator)
 
 TEST (map, MutableItemToItemConversion)
 
static float return_42 ()
 
 TEST (map, LookupOrAddCB_SeparateFunction)
 
 TEST (map, LookupOrAddCB_Lambdas)
 
 TEST (map, AddOrModify)
 
 TEST (map, AddOrModifyReference)
 
 TEST (map, AddOverwrite)
 
 TEST (map, LookupOrAddDefault)
 
 TEST (map, LookupOrAdd)
 
 TEST (map, MoveConstructorSmall)
 
 TEST (map, MoveConstructorLarge)
 
 TEST (map, MoveAssignment)
 
 TEST (map, CopyAssignment)
 
 TEST (map, Clear)
 
 TEST (map, UniquePtrValue)
 
 TEST (map, Remove)
 
 TEST (map, PointerKeys)
 
 TEST (map, ConstKeysAndValues)
 
 TEST (map, ForeachItem)
 
 TEST (map, CopyConstructorExceptions)
 
 TEST (map, MoveConstructorExceptions)
 
 TEST (map, AddNewExceptions)
 
 TEST (map, ReserveExceptions)
 
 TEST (map, PopExceptions)
 
 TEST (map, AddOrModifyExceptions)
 
 TEST (map, EnumKey)
 
 TEST (map, GenericAlgorithms)
 
 TEST (map, AddAsVariadic)
 
 TEST (map, RemoveDuringIteration)
 
 TEST (map, RemoveIf)
 
 TEST (map, LookupKey)
 
 TEST (map, VectorKey)
 
 TEST (map, Equality)
 
 TEST (math_base, CompareFFRelativeValid)
 
 TEST (math_base, CompareFFRelativeNormal)
 
 TEST (math_base, CompareFFRelativeZero)
 
 TEST (math_base, UlpDiffFF)
 
 TEST (math_base, Log2FloorU)
 
 TEST (math_base, Log2CeilU)
 
 TEST (math_base, CeilPowerOf10)
 
 TEST (math_base, FloorPowerOf10)
 
 TEST (math_base, MinVectorAndFloat)
 
 TEST (math_base, ClampInt)
 
 TEST (math_base, StepLessThan)
 
 TEST (math_base, StepGreaterThan)
 
 TEST (math_base, StepExact)
 
 TEST (math_base, Midpoint)
 
 TEST (math_base, InterpolateInt)
 
 TEST (math_base, FlooredFMod)
 
 TEST (math_base, ModPeriodic)
 
 TEST (math_half, half_to_float_scalar)
 
 TEST (math_half, float_to_half_scalar)
 
 TEST (math_half, half_to_float_array)
 
 TEST (math_half, float_to_half_array)
 
 TEST (math_matrix, MatrixInverse)
 
 TEST (math_matrix, MatrixPseudoInverse)
 
 TEST (math_matrix, MatrixDeterminant)
 
 TEST (math_matrix, MatrixAdjoint)
 
 TEST (math_matrix, MatrixAccess)
 
 TEST (math_matrix, MatrixInit)
 
 TEST (math_matrix, MatrixModify)
 
 TEST (math_matrix, MatrixCompareTest)
 
 TEST (math_matrix, MatrixMultiply)
 
 TEST (math_matrix, MatrixToNearestEuler)
 
 TEST (math_matrix, MatrixMethods)
 
 TEST (math_matrix, Transformation2DMatrixDecomposition)
 
 TEST (math_matrix, MatrixToQuaternionLegacy)
 
 TEST (math_matrix, MatrixTranspose)
 
 TEST (math_matrix, MatrixInterpolationRegular)
 
 TEST (math_matrix, MatrixInterpolationSingularity)
 
 TEST (math_matrix, MatrixTransform)
 
 TEST (math_matrix, MatrixProjection)
 
 TEST (math_matrix, ToQuaternionSafe)
 
 TEST (math_matrix_types, DefaultConstructor)
 
 TEST (math_matrix_types, StaticConstructor)
 
 TEST (math_matrix_types, VectorConstructor)
 
 TEST (math_matrix_types, SmallerMatrixConstructor)
 
 TEST (math_matrix_types, ComponentMasking)
 
 TEST (math_matrix_types, PointerConversion)
 
 TEST (math_matrix_types, TypeConversion)
 
 TEST (math_matrix_types, PointerArrayConversion)
 
 TEST (math_matrix_types, ComponentAccess)
 
 TEST (math_matrix_types, AddOperator)
 
 TEST (math_matrix_types, SubtractOperator)
 
 TEST (math_matrix_types, MultiplyOperator)
 
 TEST (math_matrix_types, MatrixMultiplyOperator)
 
 TEST (math_matrix_types, VectorMultiplyOperator)
 
 TEST (math_matrix_types, ViewConstructor)
 
 TEST (math_matrix_types, ViewFromCstyleMatrix)
 
 TEST (math_matrix_types, ViewAssignment)
 
 TEST (math_matrix_types, ViewScalarOperators)
 
 TEST (math_matrix_types, ViewMatrixMultiplyOperator)
 
 TEST (math_matrix_types, ViewVectorMultiplyOperator)
 
 TEST (math_matrix_types, ViewMatrixNormalize)
 
 TEST (math_rotation_types, AxisSignedCross)
 
 TEST (math_rotation_types, AxisSignedConvertToVec)
 
 TEST (math_rotation_types, AxisConvertToVec)
 
 TEST (math_rotation_types, Euler3Order)
 
 TEST (math_rotation_types, DualQuaternionUniformScaleConstructor)
 
 TEST (math_rotation_types, DualQuaternionNonUniformScaleConstructor)
 
 TEST (math_rotation_types, DualQuaternionOperators)
 
 TEST (math_rotation_types, QuaternionDefaultConstructor)
 
 TEST (math_rotation_types, QuaternionStaticConstructor)
 
 TEST (math_rotation_types, QuaternionVectorConstructor)
 
 TEST (math_rotation_types, QuaternionProduct)
 
 TEST (math_rotation_types, QuaternionUnaryMinus)
 
 TEST (math_rotation_types, QuaternionExpmap)
 
 TEST (math_rotation_types, QuaternionTwistSwing)
 
 TEST (math_rotation_types, AngleMethods)
 
 TEST (math_rotation_types, AngleFraction)
 
 TEST (math_rotation_types, TypeConversion)
 
 TEST (math_rotation_types, Euler3Conversion)
 
 TEST (math_rotation_types, AngleSinCosOperators)
 
 TEST (math_vector, ClampVecWithFloats)
 
 TEST (math_vector, ClampVecWithVecs)
 
 TEST (math_vector, test_invert_v3_safe)
 
 TEST (math_vector, Clamp)
 
 TEST (math_vector, InterpolateInt)
 
 TEST (math_vector, InterpolateFloat)
 
 TEST (math_vector, CeilToMultiple)
 
 TEST (math_vector, DivideCeil)
 
 TEST (math_vector, Sign)
 
 TEST (math_vector, sqrt)
 
 TEST (math_vector, safe_sqrt)
 
 TEST (math_vector, rcp)
 
 TEST (math_vector, safe_rcp)
 
 TEST (math_vector, exp)
 
 TEST (math_vector, square)
 
 TEST (math_vec_types, ScalarConstructorUnsigned)
 
 TEST (math_vec_types, ScalarConstructorInt)
 
 TEST (math_vec_types, ScalarConstructorFloat)
 
 TEST (math_vec_types, ScalarConstructorDouble)
 
 TEST (math_vec_types, MultiScalarConstructorVec2)
 
 TEST (math_vec_types, MultiScalarConstructorVec3)
 
 TEST (math_vec_types, MultiScalarConstructorVec4)
 
 TEST (math_vec_types, MixedScalarVectorConstructorVec3)
 
 TEST (math_vec_types, MixedScalarVectorConstructorVec4)
 
 TEST (math_vec_types, ComponentMasking)
 
 TEST (math_vec_types, PointerConversion)
 
 TEST (math_vec_types, PointerArrayConversion)
 
 TEST (math_vec_types, VectorTypeConversion)
 
 TEST (math_vec_types, Add)
 
 TEST (math_vec_types, AddFloatByVector)
 
 TEST (math_vec_types, Sub)
 
 TEST (math_vec_types, SubFloatByVector)
 
 TEST (math_vec_types, Mul)
 
 TEST (math_vec_types, MulFloatByVector)
 
 TEST (math_vec_types, Divide)
 
 TEST (math_vec_types, DivideFloatByVector)
 
 TEST (math_vec_types, DivideFloatByVectorSmall)
 
 TEST (math_vec_types, SwizzleReinterpret)
 
 TEST (memory_counter, Simple)
 
 TEST (memory_utils, ScopedDefer1)
 
 TEST (memory_utils, ScopedDefer2)
 
 TEST (multi_value_map, LookupNotExistant)
 
 TEST (multi_value_map, LookupExistant)
 
 TEST (multi_value_map, LookupMutable)
 
 TEST (multi_value_map, AddMultiple)
 
 TEST (multi_value_map, Keys)
 
 TEST (multi_value_map, Values)
 
 TEST (multi_value_map, Items)
 
 TEST (multi_value_map, UniquePtr)
 
 TEST (pool, DefaultConstructor)
 
 TEST (pool, Allocation)
 
 TEST (pool, Reuse)
 
 TEST (set, DefaultConstructor)
 
 TEST (set, ContainsNotExistant)
 
 TEST (set, ContainsExistant)
 
 TEST (set, AddMany)
 
 TEST (set, InitializerListConstructor)
 
 TEST (set, CopyConstructor)
 
 TEST (set, MoveConstructor)
 
 TEST (set, CopyAssignment)
 
 TEST (set, MoveAssignment)
 
 TEST (set, RemoveContained)
 
 TEST (set, RemoveContainedMany)
 
 TEST (set, Intersects)
 
 TEST (set, Disjoint)
 
 TEST (set, AddMultiple)
 
 TEST (set, AddMultipleNew)
 
 TEST (set, Iterator)
 
 TEST (set, OftenAddRemoveContained)
 
 TEST (set, UniquePtrValues)
 
 TEST (set, Clear)
 
 TEST (set, StringSet)
 
 TEST (set, PointerSet)
 
 TEST (set, Remove)
 
static bool operator== (const Type1 &a, const Type1 &b)
 
static bool operator== (const Type2 &a, const Type1 &b)
 
 TEST (set, ContainsAs)
 
 TEST (set, ContainsAsString)
 
 TEST (set, RemoveContainedAs)
 
 TEST (set, RemoveAs)
 
 TEST (set, AddAs)
 
 TEST (set, CustomizeHashAndEquality)
 
 TEST (set, IntrusiveIntKey)
 
 TEST (set, LookupKey)
 
 TEST (set, LookupKeyDefault)
 
 TEST (set, LookupKeyPtr)
 
 TEST (set, LookupKeyOrAdd)
 
 TEST (set, StringViewKeys)
 
 TEST (set, SpanConstructorExceptions)
 
 TEST (set, CopyConstructorExceptions)
 
 TEST (set, MoveConstructorExceptions)
 
 TEST (set, AddNewExceptions)
 
 TEST (set, AddExceptions)
 
 TEST (set, ForwardIterator)
 
 TEST (set, GenericAlgorithms)
 
 TEST (set, RemoveDuringIteration)
 
 TEST (set, RemoveIf)
 
 TEST (set, RemoveUniquePtrWithRaw)
 
 TEST (set, Equality)
 
 TEST (span, FromSmallVector)
 
 TEST (span, AddConstToPointer)
 
 TEST (span, IsReferencing)
 
 TEST (span, DropBack)
 
 TEST (span, DropBackAll)
 
 TEST (span, DropFront)
 
 TEST (span, DropFrontLargeN)
 
 TEST (span, DropFrontAll)
 
 TEST (span, TakeFront)
 
 TEST (span, TakeFrontLargeN)
 
 TEST (span, TakeBack)
 
 TEST (span, TakeBackLargeN)
 
 TEST (span, Slice)
 
 TEST (span, SliceEmpty)
 
 TEST (span, SliceRange)
 
 TEST (span, SliceLargeN)
 
 TEST (span, Contains)
 
 TEST (span, Count)
 
static void test_ref_from_initializer_list (Span< int > span)
 
 TEST (span, FromInitializerList)
 
 TEST (span, FromVector)
 
 TEST (span, FromArray)
 
 TEST (span, Fill)
 
 TEST (span, FillIndices)
 
 TEST (span, SizeInBytes)
 
 TEST (span, FirstLast)
 
 TEST (span, FirstLast_OneElement)
 
 TEST (span, ContainsPtr)
 
 TEST (span, FirstIndex)
 
 TEST (span, CastSameSize)
 
 TEST (span, CastSmallerSize)
 
 TEST (span, CastLargerSize)
 
 TEST (span, VoidPointerSpan)
 
 TEST (span, CopyFrom)
 
 TEST (span, ReverseIterator)
 
 TEST (span, ReverseMutableSpan)
 
 TEST (span, MutableReverseIterator)
 
 TEST (span, Constexpr)
 
 TEST (span, ImplicitConversions)
 
 TEST (span, Comparison)
 
 TEST (stack, DefaultConstructor)
 
 TEST (stack, SpanConstructor)
 
 TEST (stack, CopyConstructor)
 
 TEST (stack, MoveConstructor)
 
 TEST (stack, CopyAssignment)
 
 TEST (stack, MoveAssignment)
 
 TEST (stack, Push)
 
 TEST (stack, PushAs)
 
 TEST (stack, PushMultiple)
 
 TEST (stack, PushPopMany)
 
 TEST (stack, PushMultipleAfterPop)
 
 TEST (stack, Pop)
 
 TEST (stack, Peek)
 
 TEST (stack, UniquePtrValues)
 
 TEST (stack, OveralignedValues)
 
 TEST (stack, SpanConstructorExceptions)
 
 TEST (stack, MoveConstructorExceptions)
 
 TEST (stack, PushExceptions)
 
 TEST (stack, PopExceptions)
 
 TEST (stack, PushMultipleExceptions)
 
 TEST (string_ref_null, DefaultConstructor)
 
 TEST (string_ref_null, CStringConstructor)
 
 TEST (string_ref_null, CStringLengthConstructor)
 
 TEST (string_ref_null, CompareEqual)
 
 TEST (string_ref_null, CompareEqualCharPtr1)
 
 TEST (string_ref_null, CompareEqualCharPtr2)
 
 TEST (string_ref_null, CompareEqualString1)
 
 TEST (string_ref_null, CompareEqualString2)
 
 TEST (string_ref_null, CompareEqualStringRef1)
 
 TEST (string_ref_null, CompareEqualStringRef2)
 
 TEST (string_ref, DefaultConstructor)
 
 TEST (string_ref, StartEndConstructor)
 
 TEST (string_ref, StartEndConstructorNullptr)
 
 TEST (string_ref, StartEndConstructorSame)
 
 TEST (string_ref, CStringConstructor)
 
 TEST (string_ref, PointerWithLengthConstructor)
 
 TEST (string_ref, StdStringConstructor)
 
 TEST (string_ref, SubscriptOperator)
 
 TEST (string_ref, ToStdString)
 
 TEST (string_ref, Print)
 
 TEST (string_ref, Add)
 
 TEST (string_ref, AddCharPtr1)
 
 TEST (string_ref, AddCharPtr2)
 
 TEST (string_ref, AddString1)
 
 TEST (string_ref, AddString2)
 
 TEST (string_ref, CompareEqual)
 
 TEST (string_ref, CompareEqualCharPtr1)
 
 TEST (string_ref, CompareEqualCharPtr2)
 
 TEST (string_ref, CompareEqualString1)
 
 TEST (string_ref, CompareEqualString2)
 
 TEST (string_ref, Iterate)
 
 TEST (string_ref, StartsWith)
 
 TEST (string_ref, EndsWith)
 
 TEST (string_ref, DropPrefixN)
 
 TEST (string_ref, DropPrefixLargeN)
 
 TEST (string_ref, DropKnownPrefix)
 
 TEST (string_ref, DropSuffix)
 
 TEST (string_ref, DropSuffixLargeN)
 
 TEST (string_ref, TrimArbitrary)
 
 TEST (string_ref, TrimWhitespace)
 
 TEST (string_ref, TrimCharacter)
 
 TEST (string_ref, Substr)
 
 TEST (string_ref, Copy)
 
 TEST (string_ref, FromStringView)
 
 TEST (string_ref, ToStringView)
 
 TEST (string_ref, Constexpr)
 
 TEST (BLI_tempfile, BLI_temp_directory_path_get)
 
 TEST (BLI_utildefines, ARRAY_SIZE)
 
 TEST (BLI_utildefines, BOUNDED_ARRAY_TYPE_SIZE)
 
 TEST (BLI_uuid, generate_random)
 
 TEST (BLI_uuid, generate_many_random)
 
 TEST (BLI_uuid, nil_value)
 
 TEST (BLI_uuid, equality)
 
 TEST (BLI_uuid, comparison_trivial)
 
 TEST (BLI_uuid, comparison_byte_order_check)
 
 TEST (BLI_uuid, string_formatting)
 
 TEST (BLI_uuid, string_parsing_ok)
 
 TEST (BLI_uuid, string_parsing_capitalisation)
 
 TEST (BLI_uuid, string_parsing_fail)
 
 TEST (BLI_uuid, stream_operator)
 
 TEST (vector_set, DefaultConstructor)
 
 TEST (vector_set, InitializerListConstructor_WithoutDuplicates)
 
 TEST (vector_set, InitializerListConstructor_WithDuplicates)
 
 TEST (vector_set, Copy)
 
 TEST (vector_set, CopyAssignment)
 
 TEST (vector_set, Move)
 
 TEST (vector_set, MoveAssignment)
 
 TEST (vector_set, AddNewIncreasesSize)
 
 TEST (vector_set, AddExistingDoesNotIncreaseSize)
 
 TEST (vector_set, Index)
 
 TEST (vector_set, IndexTry)
 
 TEST (vector_set, RemoveContained)
 
 TEST (vector_set, RemoveIf)
 
 TEST (vector_set, AddMultipleTimes)
 
 TEST (vector_set, UniquePtrValue)
 
 TEST (vector_set, Remove)
 
 TEST (vector_set, SpanConstructorExceptions)
 
 TEST (vector_set, CopyConstructorExceptions)
 
 TEST (vector_set, MoveConstructorExceptions)
 
 TEST (vector_set, AddNewExceptions)
 
 TEST (vector_set, AddExceptions)
 
 TEST (vector_set, ReserveExceptions)
 
 TEST (vector_set, PopExceptions)
 
 TEST (vector_set, IndexOfOrAdd)
 
 TEST (vector_set, Clear)
 
 TEST (vector_set, LookupKey)
 
 TEST (vector_set, GrowWhenEmpty)
 
 TEST (vector, DefaultConstructor)
 
 TEST (vector, SizeConstructor)
 
 TEST (vector, TrivialTypeSizeConstructor)
 
 TEST (vector, SizeValueConstructor)
 
 TEST (vector, InitializerListConstructor)
 
 TEST (vector, ConvertingConstructor)
 
 TEST (vector, IteratorConstructor)
 
 TEST (vector, CopyConstructor)
 
 TEST (vector, CopyConstructor2)
 
 TEST (vector, CopyConstructor3)
 
 TEST (vector, CopyConstructor4)
 
 TEST (vector, MoveConstructor)
 
 TEST (vector, MoveConstructor2)
 
 TEST (vector, MoveConstructor3)
 
 TEST (vector, MoveConstructor4)
 
 TEST (vector, MoveAssignment)
 
 TEST (vector, CopyAssignment)
 
 TEST (vector, Append)
 
 TEST (vector, AppendAs)
 
 TEST (vector, AppendAndGetIndex)
 
 TEST (vector, AppendNonDuplicates)
 
 TEST (vector, ExtendNonDuplicates)
 
 TEST (vector, ExtendIterator)
 
 TEST (vector, Iterator)
 
 TEST (vector, BecomeLarge)
 
static Vector< intreturn_by_value_helper ()
 
 TEST (vector, ReturnByValue)
 
 TEST (vector, VectorOfVectors_Append)
 
 TEST (vector, RemoveLast)
 
 TEST (vector, IsEmpty)
 
 TEST (vector, RemoveReorder)
 
 TEST (vector, RemoveFirstOccurrenceAndReorder)
 
 TEST (vector, Remove)
 
 TEST (vector, RemoveIf)
 
 TEST (vector, RemoveIfNonTrivialDestructible)
 
 TEST (vector, ExtendSmallVector)
 
 TEST (vector, ExtendArray)
 
 TEST (vector, Last)
 
 TEST (vector, AppendNTimes)
 
 TEST (vector, UniquePtrValue)
 
 TEST (vector, SizeConstructorCallsDefaultConstructor)
 
 TEST (vector, SizeValueConstructorCallsCopyConstructor)
 
 TEST (vector, AppendCallsCopyConstructor)
 
 TEST (vector, AppendCallsMoveConstructor)
 
 TEST (vector, SmallVectorCopyCallsCopyConstructor)
 
 TEST (vector, LargeVectorCopyCallsCopyConstructor)
 
 TEST (vector, SmallVectorMoveCallsMoveConstructor)
 
 TEST (vector, LargeVectorMoveCallsNoConstructor)
 
 TEST (vector, Resize)
 
 TEST (vector, FirstIndexOf)
 
 TEST (vector, FirstIndexTryOf)
 
 TEST (vector, OveralignedValues)
 
 TEST (vector, ConstructVoidPointerVector)
 
 TEST (vector, Fill)
 
 TEST (vector, InsertAtBeginning)
 
 TEST (vector, InsertAtEnd)
 
 TEST (vector, InsertInMiddle)
 
 TEST (vector, InsertAtIterator)
 
 TEST (vector, InsertMoveOnlyType)
 
 TEST (vector, Prepend)
 
 TEST (vector, PrependString)
 
 TEST (vector, ReverseIterator)
 
 TEST (vector, SizeValueConstructorExceptions)
 
 TEST (vector, SpanConstructorExceptions)
 
 TEST (vector, MoveConstructorExceptions)
 
 TEST (vector, AppendExceptions)
 
 TEST (vector, ExtendExceptions)
 
 TEST (vector, Insert1Exceptions)
 
 TEST (vector, Insert2Exceptions)
 
 TEST (vector, PopLastExceptions)
 
 TEST (vector, RemoveAndReorderExceptions)
 
 TEST (vector, RemoveExceptions)
 
 TEST (vector, RemoveChunk)
 
 TEST (vector, RemoveChunkExceptions)
 
 TEST (vector, RecursiveStructure)
 
 TEST (virtual_array, Span)
 
 TEST (virtual_array, Single)
 
 TEST (virtual_array, Array)
 
 TEST (virtual_array, Vector)
 
 TEST (virtual_array, StdVector)
 
 TEST (virtual_array, StdArray)
 
 TEST (virtual_array, VectorSet)
 
 TEST (virtual_array, Func)
 
 TEST (virtual_array, AsSpan)
 
static int get_x (const std::array< int, 3 > &item)
 
static void set_x (std::array< int, 3 > &item, int value)
 
 TEST (virtual_array, DerivedSpan)
 
 TEST (virtual_array, MutableToImmutable)
 
 TEST (virtual_array, MaterializeCompressed)
 
 TEST (virtual_array, EmptySpanWrapper)
 
 TEST (wm_drag, wmDragPath)
 
Conversions
 TEST (color, ThemeByteToFloat)
 
 TEST (color, SrgbStraightFloatToByte)
 
 TEST (color, SrgbStraightToSceneLinearPremultiplied)
 
 TEST (color, SceneLinearStraightToPremultiplied)
 
 TEST (color, SceneLinearPremultipliedToStraight)
 
 TEST (color, SceneLinearStraightSrgbFloat)
 
 TEST (color, SceneLinearPremultipliedToSrgbFloat)
 
 TEST (color, SceneLinearStraightSrgbByte)
 
 TEST (color, SceneLinearPremultipliedToSrgbByte)
 
 TEST (color, SceneLinearByteEncoding)
 
 TEST (color, SceneLinearByteDecoding)
 

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

◆ add_two_numbers()

static int blender::tests::add_two_numbers ( int a,
int b )
static

Definition at line 30 of file BLI_function_ref_test.cc.

References b.

Referenced by TEST().

◆ get_x()

static int blender::tests::get_x ( const std::array< int, 3 > & item)
static

Definition at line 126 of file BLI_virtual_array_test.cc.

Referenced by TEST().

◆ is_aligned()

static bool blender::tests::is_aligned ( void * ptr,
uint alignment )
static

Definition at line 14 of file BLI_linear_allocator_test.cc.

References BLI_assert, POINTER_AS_UINT, and ptr.

Referenced by TEST().

◆ operator==() [1/2]

static bool blender::tests::operator== ( const Type1 & a,
const Type1 & b )
static

Definition at line 288 of file BLI_set_test.cc.

References b.

◆ operator==() [2/2]

static bool blender::tests::operator== ( const Type2 & a,
const Type1 & b )
static

Definition at line 292 of file BLI_set_test.cc.

References b.

◆ overload_test() [1/2]

static int blender::tests::overload_test ( const FunctionRef< void(int)> )
static

Definition at line 115 of file BLI_function_ref_test.cc.

◆ overload_test() [2/2]

static int blender::tests::overload_test ( const FunctionRef< void(std::string)> )
static

Definition at line 110 of file BLI_function_ref_test.cc.

Referenced by TEST().

◆ perform_binary_operation()

static int blender::tests::perform_binary_operation ( int a,
int b,
FunctionRef< int(int, int)> operation )
static

Definition at line 11 of file BLI_function_ref_test.cc.

References b.

Referenced by TEST(), TEST(), and TEST().

◆ return_42()

static float blender::tests::return_42 ( )
static

Definition at line 262 of file BLI_map_test.cc.

Referenced by TEST().

◆ return_by_value_helper()

static Vector< int > blender::tests::return_by_value_helper ( )
static

Definition at line 327 of file BLI_vector_test.cc.

Referenced by TEST().

◆ set_x()

static void blender::tests::set_x ( std::array< int, 3 > & item,
int value )
static

Definition at line 131 of file BLI_virtual_array_test.cc.

Referenced by TEST().

◆ TEST() [1/619]

◆ TEST() [2/619]

blender::tests::TEST ( any ,
AssignAny  )

◆ TEST() [3/619]

blender::tests::TEST ( any ,
AssignInt  )

◆ TEST() [4/619]

◆ TEST() [5/619]

blender::tests::TEST ( any ,
DefaultConstructor  )

Definition at line 12 of file BLI_any_test.cc.

◆ TEST() [6/619]

blender::tests::TEST ( any ,
ExtraInfo  )

Definition at line 110 of file BLI_any_test.cc.

References EXPECT_EQ().

◆ TEST() [7/619]

◆ TEST() [8/619]

blender::tests::TEST ( array ,
CopyAssignmentExceptions  )

Definition at line 218 of file BLI_array_test.cc.

◆ TEST() [9/619]

◆ TEST() [10/619]

blender::tests::TEST ( array ,
DefaultConstructor  )

Definition at line 15 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [11/619]

blender::tests::TEST ( array ,
Fill  )

Definition at line 170 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [12/619]

blender::tests::TEST ( array ,
FillConstructor  )

Definition at line 29 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [13/619]

blender::tests::TEST ( array ,
InitializerListConstructor  )

Definition at line 40 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [14/619]

blender::tests::TEST ( array ,
Last  )

Definition at line 234 of file BLI_array_test.cc.

References EXPECT_EQ().

◆ TEST() [15/619]

blender::tests::TEST ( array ,
MoveAssignment  )

◆ TEST() [16/619]

blender::tests::TEST ( array ,
MoveAssignmentExceptions  )

Definition at line 226 of file BLI_array_test.cc.

◆ TEST() [17/619]

blender::tests::TEST ( array ,
MoveConstructor  )

◆ TEST() [18/619]

blender::tests::TEST ( array ,
MoveConstructorExceptions  )

Definition at line 211 of file BLI_array_test.cc.

◆ TEST() [19/619]

blender::tests::TEST ( array ,
NoInitializationSizeConstructor  )

Definition at line 145 of file BLI_array_test.cc.

References EXPECT_EQ(), and blender::TypedBuffer< T, Size >::ptr().

◆ TEST() [20/619]

blender::tests::TEST ( array ,
Reinitialize  )

Definition at line 245 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [21/619]

◆ TEST() [22/619]

blender::tests::TEST ( array ,
SizeConstructor  )

Definition at line 22 of file BLI_array_test.cc.

References EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [23/619]

blender::tests::TEST ( array ,
SizeValueConstructorExceptions  )

◆ TEST() [24/619]

blender::tests::TEST ( array ,
SpanConstructor  )

Definition at line 50 of file BLI_array_test.cc.

References ARRAY_SIZE, EXPECT_EQ(), and array< T, alignment >::size().

◆ TEST() [25/619]

blender::tests::TEST ( array ,
SpanConstructorExceptions  )

Definition at line 196 of file BLI_array_test.cc.

◆ TEST() [26/619]

blender::tests::TEST ( array ,
TrivialTypeSizeConstructor  )

Tests that the trivially constructible types are not zero-initialized. We do not want that for performance reasons.

Definition at line 120 of file BLI_array_test.cc.

References EXPECT_EQ(), magic(), and ptr.

◆ TEST() [27/619]

blender::tests::TEST ( bitmap ,
empty_is_all_unset  )

Definition at line 10 of file BLI_bitmap_test.cc.

References BLI_BITMAP_DECLARE, and BLI_BITMAP_TEST_BOOL.

◆ TEST() [28/619]

blender::tests::TEST ( bitmap ,
find_first_unset_empty  )

Definition at line 18 of file BLI_bitmap_test.cc.

References BLI_BITMAP_DECLARE, BLI_bitmap_find_first_unset(), and EXPECT_EQ().

◆ TEST() [29/619]

blender::tests::TEST ( bitmap ,
find_first_unset_full  )

◆ TEST() [30/619]

blender::tests::TEST ( bitmap ,
find_first_unset_middle  )

◆ TEST() [31/619]

blender::tests::TEST ( BLI_build_config ,
Basic  )

Definition at line 14 of file BLI_build_config_test.cc.

References ARCH_CPU_31_BITS, ARCH_CPU_32_BITS, and ARCH_CPU_64_BITS.

◆ TEST() [32/619]

blender::tests::TEST ( BLI_build_config ,
Endian  )

Definition at line 19 of file BLI_build_config_test.cc.

References ARCH_CPU_BIG_ENDIAN, and ARCH_CPU_LITTLE_ENDIAN.

◆ TEST() [33/619]

blender::tests::TEST ( BLI_tempfile ,
BLI_temp_directory_path_get  )

◆ TEST() [34/619]

blender::tests::TEST ( BLI_utildefines ,
ARRAY_SIZE  )

Definition at line 11 of file BLI_utildefines_test.cc.

References ARRAY_SIZE.

◆ TEST() [35/619]

blender::tests::TEST ( BLI_utildefines ,
BOUNDED_ARRAY_TYPE_SIZE  )

Definition at line 24 of file BLI_utildefines_test.cc.

◆ TEST() [36/619]

blender::tests::TEST ( BLI_uuid ,
comparison_byte_order_check  )

Definition at line 77 of file BLI_uuid_test.cc.

◆ TEST() [37/619]

blender::tests::TEST ( BLI_uuid ,
comparison_trivial  )

Definition at line 66 of file BLI_uuid_test.cc.

◆ TEST() [38/619]

blender::tests::TEST ( BLI_uuid ,
equality  )

Definition at line 57 of file BLI_uuid_test.cc.

References BLI_uuid_generate_random(), and EXPECT_EQ().

◆ TEST() [39/619]

blender::tests::TEST ( BLI_uuid ,
generate_many_random  )

◆ TEST() [40/619]

blender::tests::TEST ( BLI_uuid ,
generate_random  )

◆ TEST() [41/619]

blender::tests::TEST ( BLI_uuid ,
nil_value  )

Definition at line 41 of file BLI_uuid_test.cc.

References BLI_uuid_format(), BLI_uuid_is_nil(), BLI_uuid_nil(), and EXPECT_EQ().

◆ TEST() [42/619]

blender::tests::TEST ( BLI_uuid ,
stream_operator  )

Definition at line 159 of file BLI_uuid_test.cc.

References EXPECT_EQ().

◆ TEST() [43/619]

blender::tests::TEST ( BLI_uuid ,
string_formatting  )

◆ TEST() [44/619]

blender::tests::TEST ( BLI_uuid ,
string_parsing_capitalisation  )

Definition at line 136 of file BLI_uuid_test.cc.

References BLI_uuid_format(), BLI_uuid_parse_string(), and EXPECT_EQ().

◆ TEST() [45/619]

blender::tests::TEST ( BLI_uuid ,
string_parsing_fail  )

Definition at line 150 of file BLI_uuid_test.cc.

References BLI_uuid_parse_string().

◆ TEST() [46/619]

blender::tests::TEST ( BLI_uuid ,
string_parsing_ok  )

Definition at line 125 of file BLI_uuid_test.cc.

References BLI_uuid_format(), BLI_uuid_parse_string(), and EXPECT_EQ().

◆ TEST() [47/619]

blender::tests::TEST ( bounds ,
Center  )

Definition at line 34 of file BLI_bounds_test.cc.

References blender::Bounds< T >::center(), and EXPECT_EQ().

◆ TEST() [48/619]

blender::tests::TEST ( bounds ,
Empty  )

Definition at line 14 of file BLI_bounds_test.cc.

References blender::Bounds< T >::is_empty().

◆ TEST() [49/619]

blender::tests::TEST ( bounds ,
EmptyInt  )

Definition at line 24 of file BLI_bounds_test.cc.

References blender::Bounds< T >::is_empty().

◆ TEST() [50/619]

blender::tests::TEST ( bounds ,
Large  )

Definition at line 159 of file BLI_bounds_test.cc.

References data, EXPECT_EQ(), and blender::bounds::min_max().

◆ TEST() [51/619]

blender::tests::TEST ( bounds ,
MinGreaterThanZero  )

Definition at line 143 of file BLI_bounds_test.cc.

References blender::bounds::min_max().

◆ TEST() [52/619]

blender::tests::TEST ( bounds ,
MinMax  )

Definition at line 127 of file BLI_bounds_test.cc.

References EXPECT_EQ(), and blender::bounds::min_max().

◆ TEST() [53/619]

blender::tests::TEST ( bounds ,
MinMaxEmpty  )

Definition at line 119 of file BLI_bounds_test.cc.

References EXPECT_EQ(), and blender::bounds::min_max().

◆ TEST() [54/619]

blender::tests::TEST ( bounds ,
MinMaxFloat  )

Definition at line 135 of file BLI_bounds_test.cc.

References EXPECT_EQ(), and blender::bounds::min_max().

◆ TEST() [55/619]

blender::tests::TEST ( bounds ,
MinMaxRadii  )

Definition at line 150 of file BLI_bounds_test.cc.

References EXPECT_EQ(), and blender::bounds::min_max_with_radii().

◆ TEST() [56/619]

blender::tests::TEST ( bounds ,
Pad  )

◆ TEST() [57/619]

blender::tests::TEST ( bounds ,
Recenter  )

◆ TEST() [58/619]

blender::tests::TEST ( bounds ,
Resize  )

◆ TEST() [59/619]

blender::tests::TEST ( bounds ,
ScaleFromCenter  )

◆ TEST() [60/619]

blender::tests::TEST ( bounds ,
Size  )

Definition at line 46 of file BLI_bounds_test.cc.

References EXPECT_EQ(), and blender::Bounds< T >::size().

◆ TEST() [61/619]

blender::tests::TEST ( bounds ,
Translate  )

◆ TEST() [62/619]

◆ TEST() [63/619]

◆ TEST() [64/619]

◆ TEST() [65/619]

◆ TEST() [66/619]

blender::tests::TEST ( color ,
SceneLinearPremultipliedToStraight  )

◆ TEST() [67/619]

◆ TEST() [68/619]

◆ TEST() [69/619]

blender::tests::TEST ( color ,
SceneLinearStraightToPremultiplied  )

◆ TEST() [70/619]

◆ TEST() [71/619]

blender::tests::TEST ( color ,
SrgbStraightToSceneLinearPremultiplied  )

◆ TEST() [72/619]

◆ TEST() [73/619]

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

Definition at line 92 of file BLI_cpp_type_test.cc.

References blender::CPPType::alignment(), CPPType_TestType, and EXPECT_EQ().

◆ TEST() [74/619]

blender::tests::TEST ( cpp_type ,
CopyAssignCompressed  )

◆ TEST() [75/619]

◆ TEST() [76/619]

◆ TEST() [77/619]

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

◆ TEST() [78/619]

◆ TEST() [79/619]

blender::tests::TEST ( cpp_type ,
DefaultConstructTrivial  )

◆ TEST() [80/619]

◆ TEST() [81/619]

◆ TEST() [82/619]

◆ TEST() [83/619]

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

Definition at line 97 of file BLI_cpp_type_test.cc.

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

◆ TEST() [84/619]

◆ TEST() [85/619]

◆ TEST() [86/619]

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

Definition at line 87 of file BLI_cpp_type_test.cc.

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

◆ TEST() [87/619]

◆ TEST() [88/619]

◆ TEST() [89/619]

blender::tests::TEST ( cpp_type ,
ValueInitializeTrivial  )

◆ TEST() [90/619]

blender::tests::TEST ( disjoint_set ,
Test  )

◆ TEST() [91/619]

blender::tests::TEST ( fileops ,
fstream_open_charptr_filename  )

Definition at line 179 of file BLI_fileops_test.cc.

◆ TEST() [92/619]

blender::tests::TEST ( fileops ,
fstream_open_string_filename  )

Definition at line 164 of file BLI_fileops_test.cc.

◆ TEST() [93/619]

blender::tests::TEST ( function_ref ,
ConstantFunction  )

Definition at line 41 of file BLI_function_ref_test.cc.

References EXPECT_EQ(), and int.

◆ TEST() [94/619]

blender::tests::TEST ( function_ref ,
CopyDoesNotReferenceFunctionRef  )

Definition at line 71 of file BLI_function_ref_test.cc.

References EXPECT_EQ(), int, x, and y.

◆ TEST() [95/619]

blender::tests::TEST ( function_ref ,
CopyDoesNotReferenceFunctionRef2  )

Definition at line 81 of file BLI_function_ref_test.cc.

References EXPECT_EQ(), int, x, y, and z().

◆ TEST() [96/619]

blender::tests::TEST ( function_ref ,
InitializeWithNull  )

Definition at line 104 of file BLI_function_ref_test.cc.

References int.

◆ TEST() [97/619]

blender::tests::TEST ( function_ref ,
MutableStatefullLambda  )

Definition at line 48 of file BLI_function_ref_test.cc.

References EXPECT_EQ(), and int.

◆ TEST() [98/619]

blender::tests::TEST ( function_ref ,
Null  )

Definition at line 58 of file BLI_function_ref_test.cc.

References int.

◆ TEST() [99/619]

blender::tests::TEST ( function_ref ,
OverloadSelection  )

Definition at line 120 of file BLI_function_ref_test.cc.

References EXPECT_EQ(), and overload_test().

◆ TEST() [100/619]

blender::tests::TEST ( function_ref ,
ReferenceAnotherFunctionRef  )

Definition at line 92 of file BLI_function_ref_test.cc.

References EXPECT_EQ(), int, x, and y.

◆ TEST() [101/619]

blender::tests::TEST ( function_ref ,
StandaloneFunction  )

◆ TEST() [102/619]

blender::tests::TEST ( function_ref ,
StatefullLambda  )

Definition at line 22 of file BLI_function_ref_test.cc.

References b, EXPECT_EQ(), and perform_binary_operation().

◆ TEST() [103/619]

blender::tests::TEST ( function_ref ,
StatelessLambda  )

Definition at line 16 of file BLI_function_ref_test.cc.

References b, EXPECT_EQ(), and perform_binary_operation().

◆ TEST() [104/619]

blender::tests::TEST ( generic_array ,
AssignDefault  )

◆ TEST() [105/619]

blender::tests::TEST ( generic_array ,
BufferAndSizeConstructor  )

◆ TEST() [106/619]

◆ TEST() [107/619]

blender::tests::TEST ( generic_array ,
DefaultConstructor  )

Definition at line 136 of file BLI_generic_array_test.cc.

◆ TEST() [108/619]

blender::tests::TEST ( generic_array ,
InContainer  )

Definition at line 107 of file BLI_generic_array_test.cc.

References EXPECT_EQ(), and blender::CPPType::get().

◆ TEST() [109/619]

◆ TEST() [110/619]

blender::tests::TEST ( generic_array ,
ReinitEmpty  )

◆ TEST() [111/619]

◆ TEST() [112/619]

blender::tests::TEST ( generic_array ,
TypeConstructor  )

◆ TEST() [113/619]

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

◆ TEST() [114/619]

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

◆ TEST() [115/619]

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

◆ TEST() [116/619]

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

◆ TEST() [117/619]

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

Definition at line 18 of file BLI_generic_vector_array_test.cc.

References EXPECT_EQ(), blender::CPPType::get(), and size().

◆ TEST() [118/619]

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

Definition at line 11 of file BLI_generic_vector_array_test.cc.

References EXPECT_EQ(), and blender::CPPType::get().

◆ TEST() [119/619]

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

Definition at line 33 of file BLI_generic_vector_array_test.cc.

References EXPECT_EQ(), blender::CPPType::get(), and size().

◆ TEST() [120/619]

blender::tests::TEST ( implicit_sharing ,
CopyOnWriteAccess  )

◆ TEST() [121/619]

blender::tests::TEST ( implicit_sharing ,
Version  )

◆ TEST() [122/619]

◆ TEST() [123/619]

blender::tests::TEST ( index_range ,
After  )

Definition at line 154 of file BLI_index_range_test.cc.

References blender::IndexRange::after(), and EXPECT_EQ().

◆ TEST() [124/619]

blender::tests::TEST ( index_range ,
Before  )

Definition at line 145 of file BLI_index_range_test.cc.

References blender::IndexRange::before(), and EXPECT_EQ().

◆ TEST() [125/619]

blender::tests::TEST ( index_range ,
constexpr_  )

Definition at line 306 of file BLI_index_range_test.cc.

References BLI_STATIC_ASSERT, and EXPECT_EQ().

◆ TEST() [126/619]

blender::tests::TEST ( index_range ,
Contains  )

Definition at line 164 of file BLI_index_range_test.cc.

◆ TEST() [127/619]

blender::tests::TEST ( index_range ,
DefaultConstructor  )

Definition at line 14 of file BLI_index_range_test.cc.

References EXPECT_EQ(), range, and vector.

◆ TEST() [128/619]

blender::tests::TEST ( index_range ,
DropBack  )

Definition at line 233 of file BLI_index_range_test.cc.

References EXPECT_EQ().

◆ TEST() [129/619]

blender::tests::TEST ( index_range ,
DropBackAll  )

Definition at line 242 of file BLI_index_range_test.cc.

◆ TEST() [130/619]

blender::tests::TEST ( index_range ,
DropFront  )

Definition at line 249 of file BLI_index_range_test.cc.

References EXPECT_EQ().

◆ TEST() [131/619]

blender::tests::TEST ( index_range ,
DropFrontAll  )

◆ TEST() [132/619]

blender::tests::TEST ( index_range ,
DropFrontLargeN  )

◆ TEST() [133/619]

blender::tests::TEST ( index_range ,
First  )

Definition at line 174 of file BLI_index_range_test.cc.

References EXPECT_EQ().

◆ TEST() [134/619]

blender::tests::TEST ( index_range ,
FromBeginEnd  )

Definition at line 45 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and blender::IndexRange::from_begin_end().

◆ TEST() [135/619]

blender::tests::TEST ( index_range ,
FromBeginEndInclusive  )

◆ TEST() [136/619]

blender::tests::TEST ( index_range ,
FromBeginSize  )

Definition at line 26 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and blender::IndexRange::from_begin_size().

◆ TEST() [137/619]

blender::tests::TEST ( index_range ,
FromEndSize  )

Definition at line 79 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and blender::IndexRange::from_end_size().

◆ TEST() [138/619]

blender::tests::TEST ( index_range ,
FromSingle  )

Definition at line 92 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and blender::IndexRange::from_single().

◆ TEST() [139/619]

blender::tests::TEST ( index_range ,
GenericAlgorithms  )

Definition at line 314 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and v.

◆ TEST() [140/619]

blender::tests::TEST ( index_range ,
Intersect  )

Definition at line 213 of file BLI_index_range_test.cc.

References EXPECT_EQ().

◆ TEST() [141/619]

blender::tests::TEST ( index_range ,
Last  )

Definition at line 180 of file BLI_index_range_test.cc.

References EXPECT_EQ().

◆ TEST() [142/619]

blender::tests::TEST ( index_range ,
MultipleElementRange  )

Definition at line 121 of file BLI_index_range_test.cc.

References EXPECT_EQ(), range, and vector.

◆ TEST() [143/619]

blender::tests::TEST ( index_range ,
OneAfterEnd  )

Definition at line 186 of file BLI_index_range_test.cc.

References EXPECT_EQ().

◆ TEST() [144/619]

blender::tests::TEST ( index_range ,
OneBeforeStart  )

Definition at line 192 of file BLI_index_range_test.cc.

References EXPECT_EQ().

◆ TEST() [145/619]

blender::tests::TEST ( index_range ,
SingleElementRange  )

Definition at line 106 of file BLI_index_range_test.cc.

References EXPECT_EQ(), range, and vector.

◆ TEST() [146/619]

blender::tests::TEST ( index_range ,
Slice  )

◆ TEST() [147/619]

blender::tests::TEST ( index_range ,
SliceRange  )

◆ TEST() [148/619]

blender::tests::TEST ( index_range ,
SplitByAlignment  )

◆ TEST() [149/619]

blender::tests::TEST ( index_range ,
Start  )

Definition at line 198 of file BLI_index_range_test.cc.

References EXPECT_EQ().

◆ TEST() [150/619]

blender::tests::TEST ( index_range ,
SubscriptOperator  )

Definition at line 137 of file BLI_index_range_test.cc.

References EXPECT_EQ(), and range.

◆ TEST() [151/619]

blender::tests::TEST ( index_range ,
TakeBack  )

Definition at line 289 of file BLI_index_range_test.cc.

References EXPECT_EQ().

◆ TEST() [152/619]

blender::tests::TEST ( index_range ,
TakeBackLargeN  )

◆ TEST() [153/619]

blender::tests::TEST ( index_range ,
TakeFront  )

◆ TEST() [154/619]

blender::tests::TEST ( index_range ,
TakeFrontLargeN  )

◆ TEST() [155/619]

blender::tests::TEST ( index_ranges_builder ,
Empty  )

Definition at line 11 of file BLI_index_ranges_builder_test.cc.

References EXPECT_EQ().

◆ TEST() [156/619]

blender::tests::TEST ( index_ranges_builder ,
Full  )

◆ TEST() [157/619]

blender::tests::TEST ( index_ranges_builder ,
Multiple  )

◆ TEST() [158/619]

blender::tests::TEST ( index_ranges_builder ,
Single  )

◆ TEST() [159/619]

blender::tests::TEST ( inplace_priority_queue ,
BuildSmall  )

Definition at line 12 of file BLI_inplace_priority_queue_test.cc.

References EXPECT_EQ().

◆ TEST() [160/619]

◆ TEST() [161/619]

◆ TEST() [162/619]

◆ TEST() [163/619]

◆ TEST() [164/619]

◆ TEST() [165/619]

blender::tests::TEST ( linear_allocator ,
AllocateArray  )

◆ TEST() [166/619]

blender::tests::TEST ( linear_allocator ,
AllocateLarge  )

◆ TEST() [167/619]

blender::tests::TEST ( linear_allocator ,
AllocationAlignment  )

◆ TEST() [168/619]

blender::tests::TEST ( linear_allocator ,
Construct  )

◆ TEST() [169/619]

blender::tests::TEST ( linear_allocator ,
ConstructArray  )

◆ TEST() [170/619]

blender::tests::TEST ( linear_allocator ,
ConstructArrayCopy  )

◆ TEST() [171/619]

blender::tests::TEST ( linear_allocator ,
ConstructElementsAndPointerArray  )

◆ TEST() [172/619]

◆ TEST() [173/619]

blender::tests::TEST ( linear_allocator ,
ManyAllocations  )

◆ TEST() [174/619]

blender::tests::TEST ( linear_allocator ,
PackedAllocation  )

◆ TEST() [175/619]

blender::tests::TEST ( linear_allocator ,
TransferOwnership  )

◆ TEST() [176/619]

blender::tests::TEST ( map ,
AddAsVariadic  )

◆ TEST() [177/619]

blender::tests::TEST ( map ,
AddIncreasesSize  )

Definition at line 28 of file BLI_map_test.cc.

References EXPECT_EQ().

◆ TEST() [178/619]

blender::tests::TEST ( map ,
AddMany  )

◆ TEST() [179/619]

blender::tests::TEST ( map ,
AddNewExceptions  )

◆ TEST() [180/619]

blender::tests::TEST ( map ,
AddOrModify  )

Definition at line 288 of file BLI_map_test.cc.

References create_func(), and EXPECT_EQ().

◆ TEST() [181/619]

blender::tests::TEST ( map ,
AddOrModifyExceptions  )

Definition at line 566 of file BLI_map_test.cc.

◆ TEST() [182/619]

blender::tests::TEST ( map ,
AddOrModifyReference  )

Definition at line 305 of file BLI_map_test.cc.

References create_func(), and EXPECT_EQ().

◆ TEST() [183/619]

blender::tests::TEST ( map ,
AddOverwrite  )

Definition at line 323 of file BLI_map_test.cc.

References EXPECT_EQ().

◆ TEST() [184/619]

blender::tests::TEST ( map ,
Clear  )

◆ TEST() [185/619]

blender::tests::TEST ( map ,
ConstKeysAndValues  )

◆ TEST() [186/619]

blender::tests::TEST ( map ,
Contains  )

Definition at line 41 of file BLI_map_test.cc.

◆ TEST() [187/619]

◆ TEST() [188/619]

blender::tests::TEST ( map ,
CopyConstructorExceptions  )

◆ TEST() [189/619]

blender::tests::TEST ( map ,
DefaultConstructor  )

Definition at line 21 of file BLI_map_test.cc.

References EXPECT_EQ().

◆ TEST() [190/619]

blender::tests::TEST ( map ,
EnumKey  )

◆ TEST() [191/619]

blender::tests::TEST ( map ,
Equality  )

Definition at line 698 of file BLI_map_test.cc.

References b, and EXPECT_EQ().

◆ TEST() [192/619]

◆ TEST() [193/619]

blender::tests::TEST ( map ,
GenericAlgorithms  )

◆ TEST() [194/619]

◆ TEST() [195/619]

◆ TEST() [196/619]

blender::tests::TEST ( map ,
LookupExisting  )

◆ TEST() [197/619]

blender::tests::TEST ( map ,
LookupKey  )

◆ TEST() [198/619]

blender::tests::TEST ( map ,
LookupNotExisting  )

◆ TEST() [199/619]

blender::tests::TEST ( map ,
LookupOrAdd  )

Definition at line 346 of file BLI_map_test.cc.

References EXPECT_EQ().

◆ TEST() [200/619]

blender::tests::TEST ( map ,
LookupOrAddCB_Lambdas  )

Definition at line 276 of file BLI_map_test.cc.

References EXPECT_EQ().

◆ TEST() [201/619]

blender::tests::TEST ( map ,
LookupOrAddCB_SeparateFunction  )

Definition at line 267 of file BLI_map_test.cc.

References EXPECT_EQ(), and return_42().

◆ TEST() [202/619]

blender::tests::TEST ( map ,
LookupOrAddDefault  )

◆ TEST() [203/619]

◆ TEST() [204/619]

blender::tests::TEST ( map ,
MoveConstructorExceptions  )

◆ TEST() [205/619]

◆ TEST() [206/619]

◆ TEST() [207/619]

blender::tests::TEST ( map ,
MutableItemIterator  )

◆ TEST() [208/619]

◆ TEST() [209/619]

blender::tests::TEST ( map ,
MutableValueIterator  )

◆ TEST() [210/619]

blender::tests::TEST ( map ,
PointerKeys  )

Definition at line 461 of file BLI_map_test.cc.

References b, and EXPECT_EQ().

◆ TEST() [211/619]

blender::tests::TEST ( map ,
PopDefault  )

◆ TEST() [212/619]

blender::tests::TEST ( map ,
PopExceptions  )

◆ TEST() [213/619]

blender::tests::TEST ( map ,
PopItem  )

◆ TEST() [214/619]

blender::tests::TEST ( map ,
PopItemMany  )

◆ TEST() [215/619]

blender::tests::TEST ( map ,
PopTry  )

◆ TEST() [216/619]

blender::tests::TEST ( map ,
Remove  )

◆ TEST() [217/619]

◆ TEST() [218/619]

blender::tests::TEST ( map ,
RemoveIf  )

◆ TEST() [219/619]

blender::tests::TEST ( map ,
ReserveExceptions  )

◆ TEST() [220/619]

blender::tests::TEST ( map ,
UniquePtrValue  )

◆ TEST() [221/619]

◆ TEST() [222/619]

blender::tests::TEST ( map ,
VectorKey  )

◆ TEST() [223/619]

blender::tests::TEST ( math_base ,
CeilPowerOf10  )

Definition at line 148 of file BLI_math_base_test.cc.

References ceil_power_of_10(), and EXPECT_EQ().

◆ TEST() [224/619]

blender::tests::TEST ( math_base ,
ClampInt  )

Definition at line 171 of file BLI_math_base_test.cc.

References blender::math::clamp(), and EXPECT_EQ().

◆ TEST() [225/619]

blender::tests::TEST ( math_base ,
CompareFFRelativeNormal  )

Definition at line 22 of file BLI_math_base_test.cc.

References compare_ff_relative().

◆ TEST() [226/619]

blender::tests::TEST ( math_base ,
CompareFFRelativeValid  )

Definition at line 17 of file BLI_math_base_test.cc.

◆ TEST() [227/619]

blender::tests::TEST ( math_base ,
CompareFFRelativeZero  )

Definition at line 53 of file BLI_math_base_test.cc.

References compare_ff_relative().

◆ TEST() [228/619]

blender::tests::TEST ( math_base ,
FlooredFMod  )

Definition at line 201 of file BLI_math_base_test.cc.

References floored_fmod().

◆ TEST() [229/619]

blender::tests::TEST ( math_base ,
FloorPowerOf10  )

Definition at line 157 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and floor_power_of_10().

◆ TEST() [230/619]

blender::tests::TEST ( math_base ,
InterpolateInt  )

Definition at line 196 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::interpolate().

◆ TEST() [231/619]

blender::tests::TEST ( math_base ,
Log2CeilU  )

Definition at line 133 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and log2_ceil_u().

◆ TEST() [232/619]

blender::tests::TEST ( math_base ,
Log2FloorU  )

Definition at line 118 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and log2_floor_u().

◆ TEST() [233/619]

blender::tests::TEST ( math_base ,
Midpoint  )

Definition at line 191 of file BLI_math_base_test.cc.

References blender::math::midpoint().

◆ TEST() [234/619]

blender::tests::TEST ( math_base ,
MinVectorAndFloat  )

Definition at line 166 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::min().

◆ TEST() [235/619]

blender::tests::TEST ( math_base ,
ModPeriodic  )

Definition at line 214 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::mod_periodic().

◆ TEST() [236/619]

blender::tests::TEST ( math_base ,
StepExact  )

Definition at line 186 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::step().

◆ TEST() [237/619]

blender::tests::TEST ( math_base ,
StepGreaterThan  )

Definition at line 181 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::step().

◆ TEST() [238/619]

blender::tests::TEST ( math_base ,
StepLessThan  )

Definition at line 176 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and blender::math::step().

◆ TEST() [239/619]

blender::tests::TEST ( math_base ,
UlpDiffFF  )

Definition at line 95 of file BLI_math_base_test.cc.

References EXPECT_EQ(), and ulp_diff_ff().

◆ TEST() [240/619]

blender::tests::TEST ( math_half ,
float_to_half_array  )

◆ TEST() [241/619]

blender::tests::TEST ( math_half ,
float_to_half_scalar  )

Definition at line 43 of file BLI_math_half_test.cc.

References EXPECT_EQ(), and HFUN.

◆ TEST() [242/619]

blender::tests::TEST ( math_half ,
half_to_float_array  )

◆ TEST() [243/619]

blender::tests::TEST ( math_half ,
half_to_float_scalar  )

Definition at line 16 of file BLI_math_half_test.cc.

References EXPECT_EQ(), and blender::math::half_to_float().

◆ TEST() [244/619]

blender::tests::TEST ( math_matrix ,
MatrixAccess  )

Access helpers.

Definition at line 216 of file BLI_math_matrix_test.cc.

References EXPECT_EQ().

◆ TEST() [245/619]

blender::tests::TEST ( math_matrix ,
MatrixAdjoint  )

Definition at line 202 of file BLI_math_matrix_test.cc.

References adjoint(), and transpose().

◆ TEST() [246/619]

◆ TEST() [247/619]

blender::tests::TEST ( math_matrix ,
MatrixDeterminant  )

Definition at line 189 of file BLI_math_matrix_test.cc.

References determinant().

◆ TEST() [248/619]

◆ TEST() [249/619]

blender::tests::TEST ( math_matrix ,
MatrixInterpolationRegular  )

◆ TEST() [250/619]

blender::tests::TEST ( math_matrix ,
MatrixInterpolationSingularity  )

◆ TEST() [251/619]

blender::tests::TEST ( math_matrix ,
MatrixInverse  )

◆ TEST() [252/619]

◆ TEST() [253/619]

blender::tests::TEST ( math_matrix ,
MatrixModify  )

◆ TEST() [254/619]

blender::tests::TEST ( math_matrix ,
MatrixMultiply  )

Definition at line 344 of file BLI_math_matrix_test.cc.

◆ TEST() [255/619]

blender::tests::TEST ( math_matrix ,
MatrixProjection  )

Definition at line 572 of file BLI_math_matrix_test.cc.

References blender::math::atan(), e, and transpose().

◆ TEST() [256/619]

blender::tests::TEST ( math_matrix ,
MatrixPseudoInverse  )

◆ TEST() [257/619]

blender::tests::TEST ( math_matrix ,
MatrixToNearestEuler  )

Definition at line 374 of file BLI_math_matrix_test.cc.

References e, and blender::math::to_nearest_euler().

◆ TEST() [258/619]

blender::tests::TEST ( math_matrix ,
MatrixToQuaternionLegacy  )

Definition at line 444 of file BLI_math_matrix_test.cc.

References blender::math::to_quaternion_legacy().

◆ TEST() [259/619]

◆ TEST() [260/619]

blender::tests::TEST ( math_matrix ,
MatrixTranspose  )

Definition at line 455 of file BLI_math_matrix_test.cc.

References EXPECT_EQ(), and transpose().

◆ TEST() [261/619]

blender::tests::TEST ( math_matrix ,
ToQuaternionSafe  )

◆ TEST() [262/619]

blender::tests::TEST ( math_matrix ,
Transformation2DMatrixDecomposition  )

◆ TEST() [263/619]

blender::tests::TEST ( math_matrix_types ,
AddOperator  )

◆ TEST() [264/619]

blender::tests::TEST ( math_matrix_types ,
ComponentAccess  )

Definition at line 126 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [265/619]

blender::tests::TEST ( math_matrix_types ,
ComponentMasking  )

Definition at line 76 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [266/619]

blender::tests::TEST ( math_matrix_types ,
DefaultConstructor  )

Definition at line 14 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [267/619]

blender::tests::TEST ( math_matrix_types ,
MatrixMultiplyOperator  )

◆ TEST() [268/619]

blender::tests::TEST ( math_matrix_types ,
MultiplyOperator  )

Definition at line 205 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [269/619]

blender::tests::TEST ( math_matrix_types ,
PointerArrayConversion  )

Definition at line 115 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ(), float, and ptr.

◆ TEST() [270/619]

blender::tests::TEST ( math_matrix_types ,
PointerConversion  )

Definition at line 86 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [271/619]

blender::tests::TEST ( math_matrix_types ,
SmallerMatrixConstructor  )

Definition at line 61 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [272/619]

◆ TEST() [273/619]

blender::tests::TEST ( math_matrix_types ,
SubtractOperator  )

◆ TEST() [274/619]

blender::tests::TEST ( math_matrix_types ,
TypeConversion  )

Definition at line 96 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [275/619]

blender::tests::TEST ( math_matrix_types ,
VectorConstructor  )

Definition at line 50 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [276/619]

blender::tests::TEST ( math_matrix_types ,
VectorMultiplyOperator  )

Definition at line 275 of file BLI_math_matrix_types_test.cc.

References EXPECT_EQ().

◆ TEST() [277/619]

blender::tests::TEST ( math_matrix_types ,
ViewAssignment  )

◆ TEST() [278/619]

blender::tests::TEST ( math_matrix_types ,
ViewConstructor  )

◆ TEST() [279/619]

blender::tests::TEST ( math_matrix_types ,
ViewFromCstyleMatrix  )

◆ TEST() [280/619]

blender::tests::TEST ( math_matrix_types ,
ViewMatrixMultiplyOperator  )

◆ TEST() [281/619]

blender::tests::TEST ( math_matrix_types ,
ViewMatrixNormalize  )

◆ TEST() [282/619]

blender::tests::TEST ( math_matrix_types ,
ViewScalarOperators  )

◆ TEST() [283/619]

blender::tests::TEST ( math_matrix_types ,
ViewVectorMultiplyOperator  )

◆ TEST() [284/619]

◆ TEST() [285/619]

blender::tests::TEST ( math_rotation_types ,
AngleMethods  )

Definition at line 229 of file BLI_math_rotation_types_test.cc.

References M_PI.

◆ TEST() [286/619]

blender::tests::TEST ( math_rotation_types ,
AngleSinCosOperators  )

Definition at line 431 of file BLI_math_rotation_types_test.cc.

References e, M_PI, M_PI_2, and M_PI_4.

◆ TEST() [287/619]

blender::tests::TEST ( math_rotation_types ,
AxisConvertToVec  )

◆ TEST() [288/619]

◆ TEST() [289/619]

◆ TEST() [290/619]

◆ TEST() [291/619]

blender::tests::TEST ( math_rotation_types ,
DualQuaternionOperators  )

◆ TEST() [292/619]

◆ TEST() [293/619]

◆ TEST() [294/619]

blender::tests::TEST ( math_rotation_types ,
Euler3Order  )

Definition at line 70 of file BLI_math_rotation_types_test.cc.

References BLI_STATIC_ASSERT, and EXPECT_EQ().

◆ TEST() [295/619]

blender::tests::TEST ( math_rotation_types ,
QuaternionDefaultConstructor  )

Definition at line 151 of file BLI_math_rotation_types_test.cc.

References EXPECT_EQ().

◆ TEST() [296/619]

blender::tests::TEST ( math_rotation_types ,
QuaternionExpmap  )

◆ TEST() [297/619]

◆ TEST() [298/619]

◆ TEST() [299/619]

◆ TEST() [300/619]

blender::tests::TEST ( math_rotation_types ,
QuaternionUnaryMinus  )

Definition at line 195 of file BLI_math_rotation_types_test.cc.

References EXPECT_EQ().

◆ TEST() [301/619]

blender::tests::TEST ( math_rotation_types ,
QuaternionVectorConstructor  )

Definition at line 169 of file BLI_math_rotation_types_test.cc.

References EXPECT_EQ().

◆ TEST() [302/619]

◆ TEST() [303/619]

blender::tests::TEST ( math_vec_types ,
Add  )

Definition at line 151 of file BLI_math_vector_types_test.cc.

◆ TEST() [304/619]

blender::tests::TEST ( math_vec_types ,
AddFloatByVector  )

Definition at line 163 of file BLI_math_vector_types_test.cc.

◆ TEST() [305/619]

blender::tests::TEST ( math_vec_types ,
ComponentMasking  )

Definition at line 117 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [306/619]

blender::tests::TEST ( math_vec_types ,
Divide  )

Definition at line 239 of file BLI_math_vector_types_test.cc.

References b.

◆ TEST() [307/619]

blender::tests::TEST ( math_vec_types ,
DivideFloatByVector  )

Definition at line 248 of file BLI_math_vector_types_test.cc.

References b.

◆ TEST() [308/619]

blender::tests::TEST ( math_vec_types ,
DivideFloatByVectorSmall  )

Definition at line 257 of file BLI_math_vector_types_test.cc.

◆ TEST() [309/619]

blender::tests::TEST ( math_vec_types ,
MixedScalarVectorConstructorVec3  )

Definition at line 65 of file BLI_math_vector_types_test.cc.

◆ TEST() [310/619]

blender::tests::TEST ( math_vec_types ,
MixedScalarVectorConstructorVec4  )

Definition at line 78 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [311/619]

blender::tests::TEST ( math_vec_types ,
Mul  )

Definition at line 211 of file BLI_math_vector_types_test.cc.

◆ TEST() [312/619]

blender::tests::TEST ( math_vec_types ,
MulFloatByVector  )

Definition at line 223 of file BLI_math_vector_types_test.cc.

◆ TEST() [313/619]

blender::tests::TEST ( math_vec_types ,
MultiScalarConstructorVec2  )

Definition at line 41 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [314/619]

blender::tests::TEST ( math_vec_types ,
MultiScalarConstructorVec3  )

Definition at line 48 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [315/619]

blender::tests::TEST ( math_vec_types ,
MultiScalarConstructorVec4  )

Definition at line 56 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [316/619]

blender::tests::TEST ( math_vec_types ,
PointerArrayConversion  )

Definition at line 134 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ(), float, and ptr.

◆ TEST() [317/619]

blender::tests::TEST ( math_vec_types ,
PointerConversion  )

Definition at line 125 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [318/619]

blender::tests::TEST ( math_vec_types ,
ScalarConstructorDouble  )

Definition at line 34 of file BLI_math_vector_types_test.cc.

◆ TEST() [319/619]

blender::tests::TEST ( math_vec_types ,
ScalarConstructorFloat  )

Definition at line 27 of file BLI_math_vector_types_test.cc.

◆ TEST() [320/619]

blender::tests::TEST ( math_vec_types ,
ScalarConstructorInt  )

Definition at line 20 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [321/619]

blender::tests::TEST ( math_vec_types ,
ScalarConstructorUnsigned  )

Definition at line 13 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [322/619]

blender::tests::TEST ( math_vec_types ,
Sub  )

Definition at line 179 of file BLI_math_vector_types_test.cc.

◆ TEST() [323/619]

blender::tests::TEST ( math_vec_types ,
SubFloatByVector  )

Definition at line 195 of file BLI_math_vector_types_test.cc.

◆ TEST() [324/619]

◆ TEST() [325/619]

blender::tests::TEST ( math_vec_types ,
VectorTypeConversion  )

Definition at line 144 of file BLI_math_vector_types_test.cc.

References EXPECT_EQ().

◆ TEST() [326/619]

blender::tests::TEST ( math_vector ,
CeilToMultiple  )

Definition at line 109 of file BLI_math_vector_test.cc.

References b, and blender::math::ceil_to_multiple().

◆ TEST() [327/619]

blender::tests::TEST ( math_vector ,
Clamp  )

Definition at line 72 of file BLI_math_vector_test.cc.

References blender::math::clamp(), EXPECT_EQ(), max, and min.

◆ TEST() [328/619]

blender::tests::TEST ( math_vector ,
ClampVecWithFloats  )

Definition at line 12 of file BLI_math_vector_test.cc.

References b, clamp_v2(), and min.

◆ TEST() [329/619]

blender::tests::TEST ( math_vector ,
ClampVecWithVecs  )

Definition at line 33 of file BLI_math_vector_test.cc.

References b, clamp_v2_v2v2(), and min.

◆ TEST() [330/619]

blender::tests::TEST ( math_vector ,
DivideCeil  )

Definition at line 119 of file BLI_math_vector_test.cc.

References b, and blender::math::divide_ceil().

◆ TEST() [331/619]

blender::tests::TEST ( math_vector ,
exp  )

Definition at line 174 of file BLI_math_vector_test.cc.

References blender::math::exp().

◆ TEST() [332/619]

blender::tests::TEST ( math_vector ,
InterpolateFloat  )

Definition at line 99 of file BLI_math_vector_test.cc.

References b, and blender::math::interpolate().

◆ TEST() [333/619]

blender::tests::TEST ( math_vector ,
InterpolateInt  )

Definition at line 89 of file BLI_math_vector_test.cc.

References b, EXPECT_EQ(), and blender::math::interpolate().

◆ TEST() [334/619]

blender::tests::TEST ( math_vector ,
rcp  )

Definition at line 156 of file BLI_math_vector_test.cc.

References blender::math::rcp().

◆ TEST() [335/619]

blender::tests::TEST ( math_vector ,
safe_rcp  )

Definition at line 165 of file BLI_math_vector_test.cc.

References blender::math::safe_rcp().

◆ TEST() [336/619]

blender::tests::TEST ( math_vector ,
safe_sqrt  )

Definition at line 147 of file BLI_math_vector_test.cc.

References blender::math::safe_sqrt().

◆ TEST() [337/619]

blender::tests::TEST ( math_vector ,
Sign  )

Definition at line 129 of file BLI_math_vector_test.cc.

References blender::math::sign().

◆ TEST() [338/619]

blender::tests::TEST ( math_vector ,
sqrt  )

Definition at line 138 of file BLI_math_vector_test.cc.

References blender::math::sqrt().

◆ TEST() [339/619]

blender::tests::TEST ( math_vector ,
square  )

Definition at line 183 of file BLI_math_vector_test.cc.

References blender::math::square().

◆ TEST() [340/619]

blender::tests::TEST ( math_vector ,
test_invert_v3_safe  )

Definition at line 54 of file BLI_math_vector_test.cc.

References invert_v3(), and invert_v3_safe().

◆ TEST() [341/619]

blender::tests::TEST ( memory_counter ,
Simple  )

◆ TEST() [342/619]

blender::tests::TEST ( memory_utils ,
ScopedDefer1  )

Definition at line 66 of file BLI_memory_utils_test.cc.

References BLI_SCOPED_DEFER, and EXPECT_EQ().

◆ TEST() [343/619]

blender::tests::TEST ( memory_utils ,
ScopedDefer2  )

Definition at line 79 of file BLI_memory_utils_test.cc.

References BLI_SCOPED_DEFER, and EXPECT_EQ().

◆ TEST() [344/619]

blender::tests::TEST ( multi_value_map ,
AddMultiple  )

◆ TEST() [345/619]

blender::tests::TEST ( multi_value_map ,
Items  )

◆ TEST() [346/619]

◆ TEST() [347/619]

blender::tests::TEST ( multi_value_map ,
LookupExistant  )

◆ TEST() [348/619]

blender::tests::TEST ( multi_value_map ,
LookupMutable  )

◆ TEST() [349/619]

blender::tests::TEST ( multi_value_map ,
LookupNotExistant  )

Definition at line 11 of file BLI_multi_value_map_test.cc.

References EXPECT_EQ().

◆ TEST() [350/619]

blender::tests::TEST ( multi_value_map ,
UniquePtr  )

◆ TEST() [351/619]

blender::tests::TEST ( multi_value_map ,
Values  )

◆ TEST() [352/619]

blender::tests::TEST ( pool ,
Allocation  )

◆ TEST() [353/619]

blender::tests::TEST ( pool ,
DefaultConstructor  )

Definition at line 14 of file BLI_pool_test.cc.

References EXPECT_EQ().

◆ TEST() [354/619]

blender::tests::TEST ( pool ,
Reuse  )

◆ TEST() [355/619]

blender::tests::TEST ( set ,
AddAs  )

Definition at line 356 of file BLI_set_test.cc.

References set().

◆ TEST() [356/619]

blender::tests::TEST ( set ,
AddExceptions  )

◆ TEST() [357/619]

blender::tests::TEST ( set ,
AddMany  )

Definition at line 45 of file BLI_set_test.cc.

References set().

◆ TEST() [358/619]

blender::tests::TEST ( set ,
AddMultiple  )

◆ TEST() [359/619]

blender::tests::TEST ( set ,
AddMultipleNew  )

◆ TEST() [360/619]

blender::tests::TEST ( set ,
AddNewExceptions  )

◆ TEST() [361/619]

blender::tests::TEST ( set ,
Clear  )

Definition at line 236 of file BLI_set_test.cc.

References EXPECT_EQ().

◆ TEST() [362/619]

blender::tests::TEST ( set ,
ContainsAs  )

Definition at line 314 of file BLI_set_test.cc.

References set().

◆ TEST() [363/619]

blender::tests::TEST ( set ,
ContainsAsString  )

Definition at line 324 of file BLI_set_test.cc.

References set().

◆ TEST() [364/619]

blender::tests::TEST ( set ,
ContainsExistant  )

Definition at line 35 of file BLI_set_test.cc.

References set().

◆ TEST() [365/619]

blender::tests::TEST ( set ,
ContainsNotExistant  )

Definition at line 29 of file BLI_set_test.cc.

References set().

◆ TEST() [366/619]

◆ TEST() [367/619]

◆ TEST() [368/619]

blender::tests::TEST ( set ,
CopyConstructorExceptions  )

◆ TEST() [369/619]

blender::tests::TEST ( set ,
CustomizeHashAndEquality  )

Definition at line 379 of file BLI_set_test.cc.

References set().

◆ TEST() [370/619]

blender::tests::TEST ( set ,
DefaultConstructor  )

Definition at line 22 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [371/619]

blender::tests::TEST ( set ,
Disjoint  )

Definition at line 170 of file BLI_set_test.cc.

References b.

◆ TEST() [372/619]

blender::tests::TEST ( set ,
Equality  )

Definition at line 607 of file BLI_set_test.cc.

References b, e, and EXPECT_EQ().

◆ TEST() [373/619]

blender::tests::TEST ( set ,
ForwardIterator  )

Definition at line 533 of file BLI_set_test.cc.

References EXPECT_EQ().

◆ TEST() [374/619]

blender::tests::TEST ( set ,
GenericAlgorithms  )

Definition at line 549 of file BLI_set_test.cc.

References EXPECT_EQ(), and v.

◆ TEST() [375/619]

blender::tests::TEST ( set ,
InitializerListConstructor  )

Definition at line 60 of file BLI_set_test.cc.

References EXPECT_EQ().

◆ TEST() [376/619]

blender::tests::TEST ( set ,
Intersects  )

Definition at line 162 of file BLI_set_test.cc.

References b.

◆ TEST() [377/619]

blender::tests::TEST ( set ,
IntrusiveIntKey  )

Definition at line 394 of file BLI_set_test.cc.

References int, and set().

◆ TEST() [378/619]

◆ TEST() [379/619]

blender::tests::TEST ( set ,
LookupKey  )

Definition at line 430 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [380/619]

blender::tests::TEST ( set ,
LookupKeyDefault  )

Definition at line 439 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [381/619]

blender::tests::TEST ( set ,
LookupKeyOrAdd  )

Definition at line 460 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [382/619]

blender::tests::TEST ( set ,
LookupKeyPtr  )

Definition at line 450 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [383/619]

blender::tests::TEST ( set ,
MoveAssignment  )

◆ TEST() [384/619]

blender::tests::TEST ( set ,
MoveConstructor  )

◆ TEST() [385/619]

blender::tests::TEST ( set ,
MoveConstructorExceptions  )

◆ TEST() [386/619]

blender::tests::TEST ( set ,
OftenAddRemoveContained  )

Definition at line 214 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [387/619]

blender::tests::TEST ( set ,
PointerSet  )

Definition at line 255 of file BLI_set_test.cc.

References b, EXPECT_EQ(), and set().

◆ TEST() [388/619]

blender::tests::TEST ( set ,
Remove  )

Definition at line 267 of file BLI_set_test.cc.

References EXPECT_EQ().

◆ TEST() [389/619]

blender::tests::TEST ( set ,
RemoveAs  )

Definition at line 343 of file BLI_set_test.cc.

References set().

◆ TEST() [390/619]

blender::tests::TEST ( set ,
RemoveContained  )

Definition at line 119 of file BLI_set_test.cc.

◆ TEST() [391/619]

blender::tests::TEST ( set ,
RemoveContainedAs  )

Definition at line 334 of file BLI_set_test.cc.

References set().

◆ TEST() [392/619]

blender::tests::TEST ( set ,
RemoveContainedMany  )

Definition at line 139 of file BLI_set_test.cc.

References set().

◆ TEST() [393/619]

blender::tests::TEST ( set ,
RemoveDuringIteration  )

Definition at line 557 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [394/619]

blender::tests::TEST ( set ,
RemoveIf  )

Definition at line 583 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [395/619]

blender::tests::TEST ( set ,
RemoveUniquePtrWithRaw  )

Definition at line 596 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [396/619]

blender::tests::TEST ( set ,
SpanConstructorExceptions  )

Definition at line 484 of file BLI_set_test.cc.

References set().

◆ TEST() [397/619]

blender::tests::TEST ( set ,
StringSet  )

Definition at line 244 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [398/619]

blender::tests::TEST ( set ,
StringViewKeys  )

Definition at line 474 of file BLI_set_test.cc.

References set().

◆ TEST() [399/619]

blender::tests::TEST ( set ,
UniquePtrValues  )

Definition at line 225 of file BLI_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [400/619]

blender::tests::TEST ( span ,
AddConstToPointer  )

Definition at line 24 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size().

◆ TEST() [401/619]

blender::tests::TEST ( span ,
CastLargerSize  )

◆ TEST() [402/619]

blender::tests::TEST ( span ,
CastSameSize  )

◆ TEST() [403/619]

blender::tests::TEST ( span ,
CastSmallerSize  )

◆ TEST() [404/619]

blender::tests::TEST ( span ,
Comparison  )

Definition at line 426 of file BLI_span_test.cc.

References b.

◆ TEST() [405/619]

◆ TEST() [406/619]

blender::tests::TEST ( span ,
Contains  )

Definition at line 159 of file BLI_span_test.cc.

References blender::Span< T >::contains().

◆ TEST() [407/619]

blender::tests::TEST ( span ,
ContainsPtr  )

Definition at line 267 of file BLI_span_test.cc.

References blender::Span< T >::contains_ptr().

◆ TEST() [408/619]

blender::tests::TEST ( span ,
CopyFrom  )

Definition at line 335 of file BLI_span_test.cc.

References blender::MutableSpan< T >::copy_from(), and EXPECT_EQ().

◆ TEST() [409/619]

blender::tests::TEST ( span ,
Count  )

Definition at line 171 of file BLI_span_test.cc.

References blender::Span< T >::count(), and EXPECT_EQ().

◆ TEST() [410/619]

blender::tests::TEST ( span ,
DropBack  )

Definition at line 43 of file BLI_span_test.cc.

References blender::Span< T >::drop_back(), and EXPECT_EQ().

◆ TEST() [411/619]

blender::tests::TEST ( span ,
DropBackAll  )

Definition at line 52 of file BLI_span_test.cc.

References blender::Span< T >::drop_back(), and EXPECT_EQ().

◆ TEST() [412/619]

blender::tests::TEST ( span ,
DropFront  )

Definition at line 59 of file BLI_span_test.cc.

References blender::Span< T >::drop_front(), and EXPECT_EQ().

◆ TEST() [413/619]

blender::tests::TEST ( span ,
DropFrontAll  )

Definition at line 78 of file BLI_span_test.cc.

References blender::Span< T >::drop_front(), and EXPECT_EQ().

◆ TEST() [414/619]

blender::tests::TEST ( span ,
DropFrontLargeN  )

◆ TEST() [415/619]

blender::tests::TEST ( span ,
Fill  )

Definition at line 216 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::MutableSpan< T >::fill().

◆ TEST() [416/619]

blender::tests::TEST ( span ,
FillIndices  )

Definition at line 228 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::MutableSpan< T >::fill_indices().

◆ TEST() [417/619]

blender::tests::TEST ( span ,
FirstIndex  )

Definition at line 281 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::first_index().

◆ TEST() [418/619]

blender::tests::TEST ( span ,
FirstLast  )

◆ TEST() [419/619]

blender::tests::TEST ( span ,
FirstLast_OneElement  )

◆ TEST() [420/619]

blender::tests::TEST ( span ,
FromArray  )

Definition at line 207 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size().

◆ TEST() [421/619]

blender::tests::TEST ( span ,
FromInitializerList  )

Definition at line 191 of file BLI_span_test.cc.

References test_ref_from_initializer_list().

◆ TEST() [422/619]

blender::tests::TEST ( span ,
FromSmallVector  )

Definition at line 14 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size().

◆ TEST() [423/619]

blender::tests::TEST ( span ,
FromVector  )

Definition at line 196 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size().

◆ TEST() [424/619]

blender::tests::TEST ( span ,
ImplicitConversions  )

Definition at line 414 of file BLI_span_test.cc.

References BLI_STATIC_ASSERT.

◆ TEST() [425/619]

blender::tests::TEST ( span ,
IsReferencing  )

Definition at line 33 of file BLI_span_test.cc.

References ARRAY_SIZE, EXPECT_EQ(), and blender::MutableSpan< T >::size().

◆ TEST() [426/619]

◆ TEST() [427/619]

◆ TEST() [428/619]

blender::tests::TEST ( span ,
ReverseMutableSpan  )

◆ TEST() [429/619]

blender::tests::TEST ( span ,
SizeInBytes  )

Definition at line 240 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size_in_bytes().

◆ TEST() [430/619]

blender::tests::TEST ( span ,
Slice  )

Definition at line 121 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::slice().

◆ TEST() [431/619]

blender::tests::TEST ( span ,
SliceEmpty  )

Definition at line 130 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::slice().

◆ TEST() [432/619]

◆ TEST() [433/619]

blender::tests::TEST ( span ,
SliceRange  )

Definition at line 137 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::slice().

◆ TEST() [434/619]

blender::tests::TEST ( span ,
TakeBack  )

Definition at line 103 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::take_back().

◆ TEST() [435/619]

◆ TEST() [436/619]

blender::tests::TEST ( span ,
TakeFront  )

Definition at line 85 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::take_front().

◆ TEST() [437/619]

blender::tests::TEST ( span ,
TakeFrontLargeN  )

◆ TEST() [438/619]

blender::tests::TEST ( span ,
VoidPointerSpan  )

Definition at line 325 of file BLI_span_test.cc.

References b, and EXPECT_EQ().

◆ TEST() [439/619]

◆ TEST() [440/619]

◆ TEST() [441/619]

blender::tests::TEST ( stack ,
DefaultConstructor  )

◆ TEST() [442/619]

blender::tests::TEST ( stack ,
MoveAssignment  )

◆ TEST() [443/619]

blender::tests::TEST ( stack ,
MoveConstructor  )

◆ TEST() [444/619]

blender::tests::TEST ( stack ,
MoveConstructorExceptions  )

◆ TEST() [445/619]

blender::tests::TEST ( stack ,
OveralignedValues  )

◆ TEST() [446/619]

◆ TEST() [447/619]

◆ TEST() [448/619]

◆ TEST() [449/619]

◆ TEST() [450/619]

◆ TEST() [451/619]

◆ TEST() [452/619]

◆ TEST() [453/619]

◆ TEST() [454/619]

◆ TEST() [455/619]

◆ TEST() [456/619]

◆ TEST() [457/619]

blender::tests::TEST ( stack ,
SpanConstructorExceptions  )

Definition at line 202 of file BLI_stack_cxx_test.cc.

◆ TEST() [458/619]

◆ TEST() [459/619]

blender::tests::TEST ( string_ref ,
Add  )

Definition at line 186 of file BLI_string_ref_test.cc.

References b, and EXPECT_EQ().

◆ TEST() [460/619]

blender::tests::TEST ( string_ref ,
AddCharPtr1  )

Definition at line 194 of file BLI_string_ref_test.cc.

References EXPECT_EQ().

◆ TEST() [461/619]

blender::tests::TEST ( string_ref ,
AddCharPtr2  )

Definition at line 201 of file BLI_string_ref_test.cc.

References EXPECT_EQ().

◆ TEST() [462/619]

blender::tests::TEST ( string_ref ,
AddString1  )

Definition at line 208 of file BLI_string_ref_test.cc.

References EXPECT_EQ().

◆ TEST() [463/619]

blender::tests::TEST ( string_ref ,
AddString2  )

Definition at line 215 of file BLI_string_ref_test.cc.

References EXPECT_EQ().

◆ TEST() [464/619]

blender::tests::TEST ( string_ref ,
CompareEqual  )

Definition at line 222 of file BLI_string_ref_test.cc.

◆ TEST() [465/619]

blender::tests::TEST ( string_ref ,
CompareEqualCharPtr1  )

Definition at line 233 of file BLI_string_ref_test.cc.

◆ TEST() [466/619]

blender::tests::TEST ( string_ref ,
CompareEqualCharPtr2  )

Definition at line 242 of file BLI_string_ref_test.cc.

◆ TEST() [467/619]

blender::tests::TEST ( string_ref ,
CompareEqualString1  )

Definition at line 251 of file BLI_string_ref_test.cc.

◆ TEST() [468/619]

blender::tests::TEST ( string_ref ,
CompareEqualString2  )

Definition at line 260 of file BLI_string_ref_test.cc.

◆ TEST() [469/619]

blender::tests::TEST ( string_ref ,
Constexpr  )

◆ TEST() [470/619]

blender::tests::TEST ( string_ref ,
Copy  )

Definition at line 399 of file BLI_string_ref_test.cc.

References blender::StringRefBase::copy(), and EXPECT_EQ().

◆ TEST() [471/619]

blender::tests::TEST ( string_ref ,
CStringConstructor  )

◆ TEST() [472/619]

blender::tests::TEST ( string_ref ,
DefaultConstructor  )

Definition at line 102 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [473/619]

blender::tests::TEST ( string_ref ,
DropKnownPrefix  )

◆ TEST() [474/619]

blender::tests::TEST ( string_ref ,
DropPrefixLargeN  )

◆ TEST() [475/619]

blender::tests::TEST ( string_ref ,
DropPrefixN  )

◆ TEST() [476/619]

blender::tests::TEST ( string_ref ,
DropSuffix  )

◆ TEST() [477/619]

blender::tests::TEST ( string_ref ,
DropSuffixLargeN  )

◆ TEST() [478/619]

blender::tests::TEST ( string_ref ,
EndsWith  )

Definition at line 295 of file BLI_string_ref_test.cc.

References blender::StringRefBase::endswith().

◆ TEST() [479/619]

blender::tests::TEST ( string_ref ,
FromStringView  )

Definition at line 410 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and view.

◆ TEST() [480/619]

◆ TEST() [481/619]

blender::tests::TEST ( string_ref ,
PointerWithLengthConstructor  )

◆ TEST() [482/619]

blender::tests::TEST ( string_ref ,
Print  )

Definition at line 175 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and str.

◆ TEST() [483/619]

blender::tests::TEST ( string_ref ,
StartEndConstructor  )

Definition at line 108 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [484/619]

blender::tests::TEST ( string_ref ,
StartEndConstructorNullptr  )

Definition at line 117 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [485/619]

blender::tests::TEST ( string_ref ,
StartEndConstructorSame  )

Definition at line 124 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [486/619]

blender::tests::TEST ( string_ref ,
StartsWith  )

Definition at line 283 of file BLI_string_ref_test.cc.

References blender::StringRefBase::startswith().

◆ TEST() [487/619]

blender::tests::TEST ( string_ref ,
StdStringConstructor  )

◆ TEST() [488/619]

blender::tests::TEST ( string_ref ,
SubscriptOperator  )

Definition at line 156 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [489/619]

blender::tests::TEST ( string_ref ,
Substr  )

Definition at line 388 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::substr().

◆ TEST() [490/619]

blender::tests::TEST ( string_ref ,
ToStdString  )

Definition at line 167 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and str.

◆ TEST() [491/619]

blender::tests::TEST ( string_ref ,
ToStringView  )

Definition at line 417 of file BLI_string_ref_test.cc.

References EXPECT_EQ().

◆ TEST() [492/619]

blender::tests::TEST ( string_ref ,
TrimArbitrary  )

Definition at line 350 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::trim().

◆ TEST() [493/619]

blender::tests::TEST ( string_ref ,
TrimCharacter  )

Definition at line 377 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::trim().

◆ TEST() [494/619]

blender::tests::TEST ( string_ref ,
TrimWhitespace  )

Definition at line 365 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::trim().

◆ TEST() [495/619]

blender::tests::TEST ( string_ref_null ,
CompareEqual  )

Definition at line 37 of file BLI_string_ref_test.cc.

◆ TEST() [496/619]

blender::tests::TEST ( string_ref_null ,
CompareEqualCharPtr1  )

Definition at line 48 of file BLI_string_ref_test.cc.

◆ TEST() [497/619]

blender::tests::TEST ( string_ref_null ,
CompareEqualCharPtr2  )

Definition at line 57 of file BLI_string_ref_test.cc.

◆ TEST() [498/619]

blender::tests::TEST ( string_ref_null ,
CompareEqualString1  )

Definition at line 66 of file BLI_string_ref_test.cc.

◆ TEST() [499/619]

blender::tests::TEST ( string_ref_null ,
CompareEqualString2  )

Definition at line 75 of file BLI_string_ref_test.cc.

◆ TEST() [500/619]

blender::tests::TEST ( string_ref_null ,
CompareEqualStringRef1  )

Definition at line 84 of file BLI_string_ref_test.cc.

◆ TEST() [501/619]

blender::tests::TEST ( string_ref_null ,
CompareEqualStringRef2  )

Definition at line 93 of file BLI_string_ref_test.cc.

◆ TEST() [502/619]

blender::tests::TEST ( string_ref_null ,
CStringConstructor  )

◆ TEST() [503/619]

blender::tests::TEST ( string_ref_null ,
CStringLengthConstructor  )

◆ TEST() [504/619]

blender::tests::TEST ( string_ref_null ,
DefaultConstructor  )

Definition at line 14 of file BLI_string_ref_test.cc.

References EXPECT_EQ(), and blender::StringRefBase::size().

◆ TEST() [505/619]

◆ TEST() [506/619]

◆ TEST() [507/619]

blender::tests::TEST ( vector ,
AppendAs  )

◆ TEST() [508/619]

blender::tests::TEST ( vector ,
AppendCallsCopyConstructor  )

◆ TEST() [509/619]

blender::tests::TEST ( vector ,
AppendCallsMoveConstructor  )

◆ TEST() [510/619]

◆ TEST() [511/619]

◆ TEST() [512/619]

blender::tests::TEST ( vector ,
AppendNTimes  )

◆ TEST() [513/619]

◆ TEST() [514/619]

blender::tests::TEST ( vector ,
ConstructVoidPointerVector  )

◆ TEST() [515/619]

blender::tests::TEST ( vector ,
ConvertingConstructor  )

◆ TEST() [516/619]

blender::tests::TEST ( vector ,
CopyAssignment  )

◆ TEST() [517/619]

blender::tests::TEST ( vector ,
CopyConstructor  )

◆ TEST() [518/619]

◆ TEST() [519/619]

◆ TEST() [520/619]

◆ TEST() [521/619]

blender::tests::TEST ( vector ,
DefaultConstructor  )

◆ TEST() [522/619]

blender::tests::TEST ( vector ,
ExtendArray  )

◆ TEST() [523/619]

◆ TEST() [524/619]

◆ TEST() [525/619]

◆ TEST() [526/619]

blender::tests::TEST ( vector ,
ExtendSmallVector  )

Definition at line 446 of file BLI_vector_test.cc.

References b, and EXPECT_EQ().

◆ TEST() [527/619]

◆ TEST() [528/619]

blender::tests::TEST ( vector ,
FirstIndexOf  )

◆ TEST() [529/619]

blender::tests::TEST ( vector ,
FirstIndexTryOf  )

◆ TEST() [530/619]

blender::tests::TEST ( vector ,
InitializerListConstructor  )

◆ TEST() [531/619]

blender::tests::TEST ( vector ,
Insert1Exceptions  )

◆ TEST() [532/619]

◆ TEST() [533/619]

◆ TEST() [534/619]

◆ TEST() [535/619]

◆ TEST() [536/619]

◆ TEST() [537/619]

◆ TEST() [538/619]

◆ TEST() [539/619]

blender::tests::TEST ( vector ,
Iterator  )

Definition at line 305 of file BLI_vector_test.cc.

References EXPECT_EQ().

◆ TEST() [540/619]

blender::tests::TEST ( vector ,
IteratorConstructor  )

◆ TEST() [541/619]

blender::tests::TEST ( vector ,
LargeVectorCopyCallsCopyConstructor  )

Definition at line 586 of file BLI_vector_test.cc.

◆ TEST() [542/619]

blender::tests::TEST ( vector ,
LargeVectorMoveCallsNoConstructor  )

Definition at line 602 of file BLI_vector_test.cc.

◆ TEST() [543/619]

blender::tests::TEST ( vector ,
Last  )

Definition at line 471 of file BLI_vector_test.cc.

References EXPECT_EQ().

◆ TEST() [544/619]

blender::tests::TEST ( vector ,
MoveAssignment  )

◆ TEST() [545/619]

blender::tests::TEST ( vector ,
MoveConstructor  )

◆ TEST() [546/619]

blender::tests::TEST ( vector ,
MoveConstructor2  )

◆ TEST() [547/619]

blender::tests::TEST ( vector ,
MoveConstructor3  )

◆ TEST() [548/619]

blender::tests::TEST ( vector ,
MoveConstructor4  )

◆ TEST() [549/619]

blender::tests::TEST ( vector ,
MoveConstructorExceptions  )

Definition at line 770 of file BLI_vector_test.cc.

◆ TEST() [550/619]

◆ TEST() [551/619]

◆ TEST() [552/619]

◆ TEST() [553/619]

◆ TEST() [554/619]

blender::tests::TEST ( vector ,
RecursiveStructure  )

Definition at line 875 of file BLI_vector_test.cc.

References blender::tests::RecursiveType::my_vector.

◆ TEST() [555/619]

◆ TEST() [556/619]

◆ TEST() [557/619]

◆ TEST() [558/619]

◆ TEST() [559/619]

◆ TEST() [560/619]

◆ TEST() [561/619]

◆ TEST() [562/619]

◆ TEST() [563/619]

◆ TEST() [564/619]

◆ TEST() [565/619]

◆ TEST() [566/619]

blender::tests::TEST ( vector ,
ReturnByValue  )

◆ TEST() [567/619]

◆ TEST() [568/619]

blender::tests::TEST ( vector ,
SizeConstructor  )

◆ TEST() [569/619]

blender::tests::TEST ( vector ,
SizeConstructorCallsDefaultConstructor  )

Definition at line 547 of file BLI_vector_test.cc.

◆ TEST() [570/619]

blender::tests::TEST ( vector ,
SizeValueConstructor  )

◆ TEST() [571/619]

blender::tests::TEST ( vector ,
SizeValueConstructorCallsCopyConstructor  )

Definition at line 555 of file BLI_vector_test.cc.

◆ TEST() [572/619]

blender::tests::TEST ( vector ,
SizeValueConstructorExceptions  )

◆ TEST() [573/619]

blender::tests::TEST ( vector ,
SmallVectorCopyCallsCopyConstructor  )

Definition at line 578 of file BLI_vector_test.cc.

◆ TEST() [574/619]

blender::tests::TEST ( vector ,
SmallVectorMoveCallsMoveConstructor  )

Definition at line 594 of file BLI_vector_test.cc.

◆ TEST() [575/619]

blender::tests::TEST ( vector ,
SpanConstructorExceptions  )

Definition at line 763 of file BLI_vector_test.cc.

◆ TEST() [576/619]

blender::tests::TEST ( vector ,
TrivialTypeSizeConstructor  )

Tests that the trivially constructible types are not zero-initialized. We do not want that for performance reasons.

Definition at line 30 of file BLI_vector_test.cc.

References EXPECT_EQ(), magic(), ptr, and blender::Vector< T, InlineBufferCapacity, Allocator >::~Vector().

◆ TEST() [577/619]

◆ TEST() [578/619]

◆ TEST() [579/619]

blender::tests::TEST ( vector_set ,
AddExceptions  )

◆ TEST() [580/619]

blender::tests::TEST ( vector_set ,
AddExistingDoesNotIncreaseSize  )

Definition at line 88 of file BLI_vector_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [581/619]

blender::tests::TEST ( vector_set ,
AddMultipleTimes  )

Definition at line 148 of file BLI_vector_set_test.cc.

References set().

◆ TEST() [582/619]

blender::tests::TEST ( vector_set ,
AddNewExceptions  )

◆ TEST() [583/619]

blender::tests::TEST ( vector_set ,
AddNewIncreasesSize  )

Definition at line 78 of file BLI_vector_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [584/619]

blender::tests::TEST ( vector_set ,
Clear  )

Definition at line 266 of file BLI_vector_set_test.cc.

References EXPECT_EQ().

◆ TEST() [585/619]

◆ TEST() [586/619]

◆ TEST() [587/619]

blender::tests::TEST ( vector_set ,
CopyConstructorExceptions  )

Definition at line 191 of file BLI_vector_set_test.cc.

◆ TEST() [588/619]

blender::tests::TEST ( vector_set ,
DefaultConstructor  )

Definition at line 14 of file BLI_vector_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [589/619]

blender::tests::TEST ( vector_set ,
GrowWhenEmpty  )

Definition at line 291 of file BLI_vector_set_test.cc.

References set().

◆ TEST() [590/619]

blender::tests::TEST ( vector_set ,
Index  )

Definition at line 98 of file BLI_vector_set_test.cc.

References EXPECT_EQ().

◆ TEST() [591/619]

blender::tests::TEST ( vector_set ,
IndexOfOrAdd  )

Definition at line 252 of file BLI_vector_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [592/619]

blender::tests::TEST ( vector_set ,
IndexTry  )

Definition at line 106 of file BLI_vector_set_test.cc.

References EXPECT_EQ().

◆ TEST() [593/619]

blender::tests::TEST ( vector_set ,
InitializerListConstructor_WithDuplicates  )

Definition at line 30 of file BLI_vector_set_test.cc.

References EXPECT_EQ().

◆ TEST() [594/619]

blender::tests::TEST ( vector_set ,
InitializerListConstructor_WithoutDuplicates  )

Definition at line 21 of file BLI_vector_set_test.cc.

References EXPECT_EQ().

◆ TEST() [595/619]

blender::tests::TEST ( vector_set ,
LookupKey  )

Definition at line 278 of file BLI_vector_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [596/619]

blender::tests::TEST ( vector_set ,
Move  )

◆ TEST() [597/619]

blender::tests::TEST ( vector_set ,
MoveAssignment  )

◆ TEST() [598/619]

blender::tests::TEST ( vector_set ,
MoveConstructorExceptions  )

Definition at line 199 of file BLI_vector_set_test.cc.

References EXPECT_EQ().

◆ TEST() [599/619]

blender::tests::TEST ( vector_set ,
PopExceptions  )

◆ TEST() [600/619]

blender::tests::TEST ( vector_set ,
Remove  )

Definition at line 169 of file BLI_vector_set_test.cc.

References set().

◆ TEST() [601/619]

blender::tests::TEST ( vector_set ,
RemoveContained  )

Definition at line 115 of file BLI_vector_set_test.cc.

References EXPECT_EQ().

◆ TEST() [602/619]

blender::tests::TEST ( vector_set ,
RemoveIf  )

Definition at line 135 of file BLI_vector_set_test.cc.

References EXPECT_EQ(), and set().

◆ TEST() [603/619]

blender::tests::TEST ( vector_set ,
ReserveExceptions  )

Definition at line 233 of file BLI_vector_set_test.cc.

References set().

◆ TEST() [604/619]

blender::tests::TEST ( vector_set ,
SpanConstructorExceptions  )

Definition at line 182 of file BLI_vector_set_test.cc.

References set().

◆ TEST() [605/619]

blender::tests::TEST ( vector_set ,
UniquePtrValue  )

Definition at line 159 of file BLI_vector_set_test.cc.

References set(), and UNUSED_VARS.

◆ TEST() [606/619]

◆ TEST() [607/619]

blender::tests::TEST ( virtual_array ,
AsSpan  )

◆ TEST() [608/619]

blender::tests::TEST ( virtual_array ,
DerivedSpan  )

◆ TEST() [609/619]

blender::tests::TEST ( virtual_array ,
EmptySpanWrapper  )

◆ TEST() [610/619]

blender::tests::TEST ( virtual_array ,
Func  )

◆ TEST() [611/619]

◆ TEST() [612/619]

blender::tests::TEST ( virtual_array ,
MutableToImmutable  )

◆ TEST() [613/619]

◆ TEST() [614/619]

◆ TEST() [615/619]

blender::tests::TEST ( virtual_array ,
StdArray  )

◆ TEST() [616/619]

blender::tests::TEST ( virtual_array ,
StdVector  )

◆ TEST() [617/619]

blender::tests::TEST ( virtual_array ,
Vector  )

◆ TEST() [618/619]

◆ TEST() [619/619]

blender::tests::TEST ( wm_drag ,
wmDragPath  )

NOTE: WM_drag_create_path_data gets the file_type from the first path in paths and only needs its extension, so there is no need to describe a full path here that can have a different format on Windows or Linux. However callers must ensure that they are valid paths.

Test wmDrag path data getters.

Test wmDrag path data getters.

Test wmDrag path data getters when the drag type is different to WM_DRAG_PATH.

Definition at line 15 of file wm_dragdrop_test.cc.

References blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), EXPECT_EQ(), FILE_TYPE_ASSET, FILE_TYPE_BLENDER, FILE_TYPE_IMAGE, FILE_TYPE_TEXT, wmDragPath::paths, wmDrag::poin, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), size(), wmDragPath::tooltip, wmDrag::type, WM_DRAG_COLOR, WM_drag_create_path_data(), WM_drag_get_path_file_type(), WM_drag_get_paths(), WM_drag_get_single_path(), WM_drag_has_path_file_type(), and WM_DRAG_PATH.

◆ TEST_F() [1/2]

◆ TEST_F() [2/2]

blender::tests::TEST_F ( FileOpsTest ,
rename  )

◆ test_ref_from_initializer_list()

static void blender::tests::test_ref_from_initializer_list ( Span< int > span)
static

Definition at line 182 of file BLI_span_test.cc.

References EXPECT_EQ(), and blender::Span< T >::size().

Referenced by TEST().

Variable Documentation

◆ copy_assigned_from_value

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

Definition at line 18 of file BLI_cpp_type_test.cc.

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

◆ copy_assigned_value

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

Definition at line 17 of file BLI_cpp_type_test.cc.

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

◆ copy_constructed_from_value

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

Definition at line 15 of file BLI_cpp_type_test.cc.

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

◆ copy_constructed_value

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

Definition at line 13 of file BLI_cpp_type_test.cc.

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

◆ CPPType_TestType

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

Definition at line 85 of file BLI_cpp_type_test.cc.

Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().

◆ default_constructed_value

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

Definition at line 12 of file BLI_cpp_type_test.cc.

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

◆ destructed_value

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

Definition at line 21 of file BLI_cpp_type_test.cc.

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

◆ move_assigned_from_value

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

Definition at line 20 of file BLI_cpp_type_test.cc.

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

◆ move_assigned_value

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

Definition at line 19 of file BLI_cpp_type_test.cc.

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

◆ move_constructed_from_value

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

Definition at line 16 of file BLI_cpp_type_test.cc.

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

◆ move_constructed_value

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

Definition at line 14 of file BLI_cpp_type_test.cc.

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