|
Blender V5.0
|
Classes | |
| struct | ExtraSizeInfo |
| struct | ConstructibleType |
| struct | TestType |
| class | ExceptionThrower |
| class | FileOpsTest |
| class | ChangeWorkingDirectoryTest |
| class | ImplicitlySharedData |
| class | SharedDataContainer |
| class | TestBaseClass |
| class | TestChildClass |
| struct | Type1 |
| struct | Type2 |
| struct | EqualityIntModN |
| struct | HashIntModN |
| struct | MyKeyType |
| class | TypeConstructMock |
| struct | TestListValue |
| struct | RecursiveType |
Functions | |
| static std::string | font_path (std::string font_name) |
| static int | open_font (std::string font_name) |
| static void | close_font (int id) |
| TEST (blf_load, load) | |
| TEST (blf_load, font_is_loaded_path) | |
| TEST (blf_load, font_is_loaded_id) | |
| TEST (blf_load, display_name_from_file) | |
| TEST (blf_load, display_name_from_id) | |
| TEST (blf_load, has_glyph) | |
| TEST (blf_metrics, get_vfont_metrics) | |
| TEST (blf_metrics, default_weight) | |
| TEST (blf_metrics, has_variable_weight) | |
| TEST (blf_metrics, variable_weight) | |
| TEST (blf_dimensions, width_max) | |
| TEST (blf_dimensions, height_max) | |
| TEST (blf_dimensions, descender) | |
| TEST (blf_dimensions, ascender) | |
| TEST (blf_dimensions, fixed_width) | |
| TEST (blf_dimensions, width_em) | |
| TEST (blf_dimensions, height_em) | |
| TEST (blf_dimensions, advance) | |
| TEST (blf_wrapping_minimal, wrap_overflow_ascii) | |
| TEST (blf_wrapping_minimal, wrap_space) | |
| TEST (blf_wrapping_minimal, wrap_linefeed) | |
| TEST (blf_wrapping_minimal, wrap_hardlimit) | |
| TEST (blf_wrapping_path, wrap_path_overflow_ascii) | |
| TEST (blf_wrapping_path, wrap_path_space) | |
| TEST (blf_wrapping_path, wrap_path_separators_underscore) | |
| TEST (blf_wrapping_path, wrap_path_separators_slash) | |
| TEST (blf_wrapping_path, wrap_path_hardlimit) | |
| TEST (blf_wrapping_typographical, wrap_typographical_thinspace) | |
| TEST (blf_wrapping_typographical, wrap_typographical_backslash) | |
| TEST (blf_wrapping_typographical, wrap_typographical_underscore) | |
| TEST (blf_wrapping_typographical, wrap_typographical_forward_slash) | |
| TEST (blf_wrapping_typographical, wrap_typographical_dash) | |
| TEST (blf_wrapping_typographical, wrap_typographical_CJK) | |
| TEST (blf_wrapping_typographical, wrap_typographical_Tibetan) | |
| TEST (blf_wrapping_typographical, wrap_typographical_hardlimit) | |
| TEST (any, DefaultConstructor) | |
| TEST (any, AssignInt) | |
| TEST (any, AssignMap) | |
| TEST (any, AssignAny) | |
| TEST (any, Allocate) | |
| TEST (any, ExtraInfo) | |
| TEST (array_state, Empty) | |
| TEST (array_state, NoSharing) | |
| TEST (array_state, WithSharing) | |
| TEST (array_state, DifferentSharingInfoButSameData) | |
| 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_F (FileOpsTest, dir_create_recursive) | |
| 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 (function_ref, FalsyStdFunction) | |
| TEST (function_ref, FalsyFunctionPointer) | |
| 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, ItemsConstructor) | |
| TEST (map, ItemsConstructorDuplicates) | |
| 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, LookupTry) | |
| 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 (map, AddCbMove) | |
| 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, float_to_half_make_finite_scalar) | |
| TEST (math_half, half_to_float_array) | |
| TEST (math_half, float_to_half_array) | |
| TEST (math_half, float_to_half_make_finite_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, MatrixTransform2D) | |
| TEST (math_matrix, MatrixProjection) | |
| TEST (math_matrix, ToQuaternionSafe) | |
| static void | transform_normals_test (const float3x3 &transform, const Span< float3 > normals) |
| TEST (math_matrix, TransformNormals) | |
| 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, test_invert_v3_safe) | |
| TEST (math_vector, Clamp) | |
| TEST (math_vector, MinList) | |
| TEST (math_vector, MaxList) | |
| 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 (set, AddOverwrite) | |
| 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 (mutable_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_null, Constexpr) | |
| 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, SpanConstructor) | |
| 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, CopyUtf8Truncated) | |
| TEST (string_ref, CopyBytesTruncated) | |
| 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 (vectorlist, DefaultConstructor) | |
| TEST (vectorlist, MoveConstructor) | |
| TEST (vectorlist, MoveOperator) | |
| TEST (vectorlist, Append) | |
| TEST (vectorlist, Iterator) | |
| TEST (vectorlist, ConstIterator) | |
| TEST (vectorlist, LimitIterator) | |
| TEST (vectorlist, IteratorAfterClear) | |
| TEST (vectorlist, LimitIndexing) | |
| TEST (vectorlist, ConstLimitIndexing) | |
| static VectorList< int > | return_by_value_helper () |
| TEST (vectorlist, ReturnByValue) | |
| TEST (vectorlist, IsEmpty) | |
| TEST (vectorlist, First) | |
| TEST (vectorlist, Last) | |
| TEST (vectorlist, AppendCallsCopyConstructor) | |
| TEST (vectorlist, AppendCallsMoveConstructor) | |
| TEST (vectorlist, OveralignedValues) | |
| TEST (vectorlist, AppendExceptions) | |
| 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, MoveNonInline) | |
| 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_set, ExtractVector) | |
| TEST (vector_set, ExtractVectorInline) | |
| TEST (vector_set, ExtractVectorInlineExceptions) | |
| TEST (vector_set, ExtractVectorEmpty) | |
| TEST (vector_set, CustomIDVectorSet) | |
| TEST (vector_set, CustomIDVectorSetMove) | |
| TEST (vector_set, AddOverwrite) | |
| TEST (vector_set, LookupDefault) | |
| 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< int > | return_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, ExtendMoveFromSmallVector) | |
| TEST (vector, ExtendMoveFromUniquePtrVector) | |
| 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 (vector, FromRaw) | |
| TEST (vector, FromRawEmpty) | |
| TEST (vector, ReleaseEmptyInline) | |
| TEST (vector, ReleaseEmptyAllocated) | |
| TEST (vector, ReleaseNonEmptyInline) | |
| TEST (vector, ReleaseAllocated) | |
| TEST (virtual_array, Span) | |
| TEST (virtual_array, Single) | |
| TEST (virtual_array, Array) | |
| TEST (virtual_array, MutableArray) | |
| 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 CPPType & | CPPType_TestType = CPPType::get<TestType>() |
|
static |
|
static |
Definition at line 28 of file BLF_tests.cc.
References BLF_exit(), and BLF_unload_id().
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
static |
Definition at line 11 of file BLF_tests.cc.
References BLI_path_join, and FILE_MAX.
Referenced by open_font(), TEST(), and TEST().
|
static |
Definition at line 145 of file BLI_virtual_array_test.cc.
Referenced by TEST().
|
static |
Definition at line 14 of file BLI_linear_allocator_test.cc.
References BLI_assert, POINTER_AS_UINT, and ptr.
Referenced by TEST().
|
static |
Definition at line 22 of file BLF_tests.cc.
References BLF_init(), BLF_load(), and font_path().
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
Definition at line 288 of file BLI_set_test.cc.
References b, and blender::tests::Type1::value.
Definition at line 292 of file BLI_set_test.cc.
References b, and blender::tests::Type2::value.
|
static |
Definition at line 115 of file BLI_function_ref_test.cc.
|
static |
Definition at line 110 of file BLI_function_ref_test.cc.
Referenced by TEST().
|
static |
|
static |
Definition at line 304 of file BLI_map_test.cc.
Referenced by TEST().
|
static |
Definition at line 151 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append().
|
static |
Definition at line 327 of file BLI_vector_test.cc.
|
static |
Definition at line 150 of file BLI_virtual_array_test.cc.
Referenced by TEST().
| blender::tests::TEST | ( | any | , |
| Allocate | ) |
Definition at line 92 of file BLI_any_test.cc.
References blender::Any< ExtraInfo, InlineBufferCapacity, Alignment >::allocate(), any(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | any | , |
| AssignAny | ) |
Definition at line 67 of file BLI_any_test.cc.
References any(), b, EXPECT_EQ(), blender::Any< ExtraInfo, InlineBufferCapacity, Alignment >::get(), and z().
| blender::tests::TEST | ( | any | , |
| AssignInt | ) |
Definition at line 18 of file BLI_any_test.cc.
References any(), b, EXPECT_EQ(), blender::Any< ExtraInfo, InlineBufferCapacity, Alignment >::get(), blender::Any< ExtraInfo, InlineBufferCapacity, Alignment >::has_value(), blender::Any< ExtraInfo, InlineBufferCapacity, Alignment >::is(), and blender::Any< ExtraInfo, InlineBufferCapacity, Alignment >::reset().
| blender::tests::TEST | ( | any | , |
| AssignMap | ) |
Definition at line 43 of file BLI_any_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), any(), b, EXPECT_EQ(), blender::Any< ExtraInfo, InlineBufferCapacity, Alignment >::get(), blender::Any< ExtraInfo, InlineBufferCapacity, Alignment >::has_value(), blender::Any< ExtraInfo, InlineBufferCapacity, Alignment >::is(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup().
| blender::tests::TEST | ( | any | , |
| DefaultConstructor | ) |
Definition at line 12 of file BLI_any_test.cc.
References any(), and blender::Any< ExtraInfo, InlineBufferCapacity, Alignment >::has_value().
| blender::tests::TEST | ( | any | , |
| ExtraInfo | ) |
Definition at line 110 of file BLI_any_test.cc.
References any(), and EXPECT_EQ().
| blender::tests::TEST | ( | array | , |
| CopyAssignment | ) |
Definition at line 89 of file BLI_array_test.cc.
References array< T, alignment >::data(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), EXPECT_EQ(), array< T, alignment >::size(), and blender::Array< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | array | , |
| CopyAssignmentExceptions | ) |
Definition at line 218 of file BLI_array_test.cc.
| blender::tests::TEST | ( | array | , |
| CopyConstructor | ) |
Definition at line 62 of file BLI_array_test.cc.
References array< T, alignment >::data(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), EXPECT_EQ(), array< T, alignment >::size(), and blender::Array< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | array | , |
| DefaultConstructor | ) |
Definition at line 15 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| Fill | ) |
Definition at line 170 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| FillConstructor | ) |
Definition at line 29 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| InitializerListConstructor | ) |
Definition at line 40 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| Last | ) |
Definition at line 234 of file BLI_array_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | array | , |
| MoveAssignment | ) |
Definition at line 103 of file BLI_array_test.cc.
References EXPECT_EQ(), array< T, alignment >::size(), and blender::Array< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | array | , |
| MoveAssignmentExceptions | ) |
Definition at line 226 of file BLI_array_test.cc.
| blender::tests::TEST | ( | array | , |
| MoveConstructor | ) |
Definition at line 76 of file BLI_array_test.cc.
References EXPECT_EQ(), array< T, alignment >::size(), and blender::Array< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | array | , |
| MoveConstructorExceptions | ) |
Definition at line 211 of file BLI_array_test.cc.
| blender::tests::TEST | ( | array | , |
| NoInitializationSizeConstructor | ) |
Definition at line 145 of file BLI_array_test.cc.
References EXPECT_EQ(), i, and blender::TypedBuffer< T, Size >::ptr().
| blender::tests::TEST | ( | array | , |
| Reinitialize | ) |
Definition at line 245 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| ReverseIterator | ) |
Definition at line 182 of file BLI_array_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append().
| blender::tests::TEST | ( | array | , |
| SizeConstructor | ) |
Definition at line 22 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| SizeValueConstructorExceptions | ) |
Definition at line 204 of file BLI_array_test.cc.
References blender::tests::ExceptionThrower::throw_during_copy.
| 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().
| blender::tests::TEST | ( | array | , |
| SpanConstructorExceptions | ) |
Definition at line 196 of file BLI_array_test.cc.
| 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.
| blender::tests::TEST | ( | array_state | , |
| DifferentSharingInfoButSameData | ) |
Definition at line 43 of file BLI_array_state_test.cc.
References blender::VArray< T >::from_span(), blender::ImplicitSharingPtr< T, IsStrong >::get(), blender::implicit_sharing::info_for_mem_free(), MEM_calloc_arrayN(), and state.
| blender::tests::TEST | ( | array_state | , |
| Empty | ) |
Definition at line 11 of file BLI_array_state_test.cc.
References blender::VArray< T >::from_span(), and state.
| blender::tests::TEST | ( | array_state | , |
| NoSharing | ) |
Definition at line 19 of file BLI_array_state_test.cc.
References blender::VArray< T >::from_span(), and state.
| blender::tests::TEST | ( | array_state | , |
| WithSharing | ) |
Definition at line 28 of file BLI_array_state_test.cc.
References data, blender::VArray< T >::from_span(), blender::ImplicitSharingPtr< T, IsStrong >::get(), blender::implicit_sharing::info_for_mem_free(), MEM_calloc_arrayN(), and state.
| blender::tests::TEST | ( | bitmap | , |
| empty_is_all_unset | ) |
Definition at line 10 of file BLI_bitmap_test.cc.
References BLI_BITMAP_DECLARE, BLI_BITMAP_TEST_BOOL, and i.
| 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().
| blender::tests::TEST | ( | bitmap | , |
| find_first_unset_full | ) |
Definition at line 24 of file BLI_bitmap_test.cc.
References BLI_BITMAP_DECLARE, BLI_bitmap_find_first_unset(), BLI_bitmap_flip_all(), and EXPECT_EQ().
| blender::tests::TEST | ( | bitmap | , |
| find_first_unset_middle | ) |
Definition at line 31 of file BLI_bitmap_test.cc.
References BLI_BITMAP_DECLARE, BLI_BITMAP_DISABLE, BLI_BITMAP_ENABLE, BLI_bitmap_find_first_unset(), BLI_bitmap_flip_all(), and EXPECT_EQ().
| blender::tests::TEST | ( | blf_dimensions | , |
| advance | ) |
Definition at line 195 of file BLF_tests.cc.
References BLF_glyph_advance(), BLF_size(), close_font(), open_font(), and sample.
| blender::tests::TEST | ( | blf_dimensions | , |
| ascender | ) |
Definition at line 154 of file BLF_tests.cc.
References BLF_ascender(), BLF_size(), close_font(), and open_font().
| blender::tests::TEST | ( | blf_dimensions | , |
| descender | ) |
Definition at line 145 of file BLF_tests.cc.
References BLF_descender(), BLF_size(), close_font(), and open_font().
| blender::tests::TEST | ( | blf_dimensions | , |
| fixed_width | ) |
Definition at line 163 of file BLF_tests.cc.
References BLF_fixed_width(), BLF_size(), close_font(), and open_font().
| blender::tests::TEST | ( | blf_dimensions | , |
| height_em | ) |
Definition at line 184 of file BLF_tests.cc.
References BLF_height(), BLF_size(), close_font(), open_font(), and sample.
| blender::tests::TEST | ( | blf_dimensions | , |
| height_max | ) |
Definition at line 136 of file BLF_tests.cc.
References BLF_height_max(), BLF_size(), close_font(), and open_font().
| blender::tests::TEST | ( | blf_dimensions | , |
| width_em | ) |
Definition at line 173 of file BLF_tests.cc.
References BLF_size(), BLF_width(), close_font(), open_font(), and sample.
| blender::tests::TEST | ( | blf_dimensions | , |
| width_max | ) |
Definition at line 127 of file BLF_tests.cc.
References BLF_size(), BLF_width_max(), close_font(), and open_font().
| blender::tests::TEST | ( | blf_load | , |
| display_name_from_file | ) |
Definition at line 57 of file BLF_tests.cc.
References BLF_display_name_from_file(), font_path(), MEM_freeN(), name, and STREQ.
| blender::tests::TEST | ( | blf_load | , |
| display_name_from_id | ) |
Definition at line 66 of file BLF_tests.cc.
References BLF_display_name_from_id(), close_font(), MEM_freeN(), name, open_font(), and STREQ.
| blender::tests::TEST | ( | blf_load | , |
| font_is_loaded_id | ) |
Definition at line 50 of file BLF_tests.cc.
References BLF_is_loaded_id(), close_font(), and open_font().
| blender::tests::TEST | ( | blf_load | , |
| font_is_loaded_path | ) |
Definition at line 41 of file BLF_tests.cc.
References BLF_init(), BLF_is_loaded(), BLF_load(), close_font(), and font_path().
| blender::tests::TEST | ( | blf_load | , |
| has_glyph | ) |
Definition at line 76 of file BLF_tests.cc.
References BLF_has_glyph(), close_font(), and open_font().
| blender::tests::TEST | ( | blf_load | , |
| load | ) |
Definition at line 34 of file BLF_tests.cc.
References close_font(), and open_font().
| blender::tests::TEST | ( | blf_metrics | , |
| default_weight | ) |
Definition at line 98 of file BLF_tests.cc.
References BLF_default_weight(), close_font(), and open_font().
| blender::tests::TEST | ( | blf_metrics | , |
| get_vfont_metrics | ) |
Definition at line 84 of file BLF_tests.cc.
References BLF_get_vfont_metrics(), close_font(), open_font(), and blender::math::scale().
| blender::tests::TEST | ( | blf_metrics | , |
| has_variable_weight | ) |
Definition at line 106 of file BLF_tests.cc.
References BLF_has_variable_weight(), close_font(), and open_font().
| blender::tests::TEST | ( | blf_metrics | , |
| variable_weight | ) |
Definition at line 114 of file BLF_tests.cc.
References BLF_character_weight(), BLF_size(), BLF_width(), close_font(), open_font(), and sample.
| blender::tests::TEST | ( | blf_wrapping_minimal | , |
| wrap_hardlimit | ) |
Definition at line 248 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), HardLimit, open_font(), sample, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | blf_wrapping_minimal | , |
| wrap_linefeed | ) |
Definition at line 235 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), open_font(), sample, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | blf_wrapping_minimal | , |
| wrap_overflow_ascii | ) |
Definition at line 206 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), sample, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | blf_wrapping_minimal | , |
| wrap_space | ) |
Definition at line 222 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), sample, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | blf_wrapping_path | , |
| wrap_path_hardlimit | ) |
Definition at line 318 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), HardLimit, open_font(), Path, sample, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | blf_wrapping_path | , |
| wrap_path_overflow_ascii | ) |
Definition at line 261 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), Path, sample, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | blf_wrapping_path | , |
| wrap_path_separators_slash | ) |
Definition at line 304 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), Path, sample, SEP_STR, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | blf_wrapping_path | , |
| wrap_path_separators_underscore | ) |
Definition at line 290 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), Path, sample, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | blf_wrapping_path | , |
| wrap_path_space | ) |
Definition at line 277 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), Path, sample, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | blf_wrapping_typographical | , |
| wrap_typographical_backslash | ) |
Definition at line 347 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), sample, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and Typographical.
| blender::tests::TEST | ( | blf_wrapping_typographical | , |
| wrap_typographical_CJK | ) |
Definition at line 399 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), sample, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and Typographical.
| blender::tests::TEST | ( | blf_wrapping_typographical | , |
| wrap_typographical_dash | ) |
Definition at line 386 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), sample, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and Typographical.
| blender::tests::TEST | ( | blf_wrapping_typographical | , |
| wrap_typographical_forward_slash | ) |
Definition at line 373 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), sample, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and Typographical.
| blender::tests::TEST | ( | blf_wrapping_typographical | , |
| wrap_typographical_hardlimit | ) |
Definition at line 431 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), HardLimit, open_font(), sample, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and Typographical.
| blender::tests::TEST | ( | blf_wrapping_typographical | , |
| wrap_typographical_thinspace | ) |
Definition at line 334 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), sample, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and Typographical.
| blender::tests::TEST | ( | blf_wrapping_typographical | , |
| wrap_typographical_Tibetan | ) |
Definition at line 415 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), sample, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and Typographical.
| blender::tests::TEST | ( | blf_wrapping_typographical | , |
| wrap_typographical_underscore | ) |
Definition at line 360 of file BLF_tests.cc.
References BLF_size(), BLF_string_wrap(), BLF_width(), close_font(), open_font(), sample, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and Typographical.
| blender::tests::TEST | ( | BLI_build_config | , |
| Basic | ) |
Definition at line 14 of file BLI_build_config_test.cc.
References ARCH_CPU_128_BITS, ARCH_CPU_31_BITS, ARCH_CPU_32_BITS, and ARCH_CPU_64_BITS.
| 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.
| blender::tests::TEST | ( | BLI_tempfile | , |
| BLI_temp_directory_path_get | ) |
Definition at line 14 of file BLI_tempfile_test.cc.
References BLI_exists(), BLI_is_dir(), BLI_path_is_abs_from_cwd(), BLI_temp_directory_path_get(), EXPECT_EQ(), FILE_MAX, and SEP.
| blender::tests::TEST | ( | BLI_utildefines | , |
| ARRAY_SIZE | ) |
Definition at line 11 of file BLI_utildefines_test.cc.
References ARRAY_SIZE.
| blender::tests::TEST | ( | BLI_utildefines | , |
| BOUNDED_ARRAY_TYPE_SIZE | ) |
Definition at line 24 of file BLI_utildefines_test.cc.
| blender::tests::TEST | ( | BLI_uuid | , |
| comparison_byte_order_check | ) |
Definition at line 77 of file BLI_uuid_test.cc.
| blender::tests::TEST | ( | BLI_uuid | , |
| comparison_trivial | ) |
Definition at line 66 of file BLI_uuid_test.cc.
| blender::tests::TEST | ( | BLI_uuid | , |
| equality | ) |
Definition at line 57 of file BLI_uuid_test.cc.
References BLI_uuid_generate_random(), and EXPECT_EQ().
| blender::tests::TEST | ( | BLI_uuid | , |
| generate_many_random | ) |
Definition at line 24 of file BLI_uuid_test.cc.
References BLI_uuid_generate_random(), bUUID::clock_seq_hi_and_reserved, EXPECT_EQ(), i, and bUUID::time_hi_and_version.
| blender::tests::TEST | ( | BLI_uuid | , |
| generate_random | ) |
Definition at line 11 of file BLI_uuid_test.cc.
References BLI_uuid_generate_random(), bUUID::clock_seq_hi_and_reserved, EXPECT_EQ(), and bUUID::time_hi_and_version.
| 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().
| blender::tests::TEST | ( | BLI_uuid | , |
| stream_operator | ) |
Definition at line 158 of file BLI_uuid_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | BLI_uuid | , |
| string_formatting | ) |
Definition at line 89 of file BLI_uuid_test.cc.
References BLI_uuid_format(), bUUID::clock_seq_hi_and_reserved, bUUID::clock_seq_low, EXPECT_EQ(), bUUID::node, blender::bUUID::str(), bUUID::time_hi_and_version, bUUID::time_low, and bUUID::time_mid.
| blender::tests::TEST | ( | BLI_uuid | , |
| string_parsing_capitalisation | ) |
Definition at line 135 of file BLI_uuid_test.cc.
References BLI_uuid_format(), BLI_uuid_parse_string(), and EXPECT_EQ().
| blender::tests::TEST | ( | BLI_uuid | , |
| string_parsing_fail | ) |
Definition at line 149 of file BLI_uuid_test.cc.
References BLI_uuid_parse_string().
| blender::tests::TEST | ( | BLI_uuid | , |
| string_parsing_ok | ) |
Definition at line 124 of file BLI_uuid_test.cc.
References BLI_uuid_format(), BLI_uuid_parse_string(), and EXPECT_EQ().
| blender::tests::TEST | ( | bounds | , |
| Center | ) |
Definition at line 34 of file BLI_bounds_test.cc.
References blender::Bounds< T >::center(), and EXPECT_EQ().
| blender::tests::TEST | ( | bounds | , |
| Empty | ) |
Definition at line 14 of file BLI_bounds_test.cc.
References blender::Bounds< T >::is_empty().
| blender::tests::TEST | ( | bounds | , |
| EmptyInt | ) |
Definition at line 24 of file BLI_bounds_test.cc.
References blender::Bounds< T >::is_empty().
| blender::tests::TEST | ( | bounds | , |
| Large | ) |
Definition at line 159 of file BLI_bounds_test.cc.
References data, EXPECT_EQ(), i, blender::bounds::min_max(), and result.
| blender::tests::TEST | ( | bounds | , |
| MinGreaterThanZero | ) |
Definition at line 143 of file BLI_bounds_test.cc.
References data, blender::bounds::min_max(), and result.
| blender::tests::TEST | ( | bounds | , |
| MinMax | ) |
Definition at line 127 of file BLI_bounds_test.cc.
References data, EXPECT_EQ(), blender::bounds::min_max(), and result.
| blender::tests::TEST | ( | bounds | , |
| MinMaxEmpty | ) |
Definition at line 119 of file BLI_bounds_test.cc.
References EXPECT_EQ(), blender::Span< T >::is_empty(), blender::bounds::min_max(), and result.
| blender::tests::TEST | ( | bounds | , |
| MinMaxFloat | ) |
Definition at line 135 of file BLI_bounds_test.cc.
References data, EXPECT_EQ(), blender::bounds::min_max(), and result.
| blender::tests::TEST | ( | bounds | , |
| MinMaxRadii | ) |
Definition at line 150 of file BLI_bounds_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), data, EXPECT_EQ(), blender::bounds::min_max_with_radii(), and result.
| blender::tests::TEST | ( | bounds | , |
| Pad | ) |
Definition at line 103 of file BLI_bounds_test.cc.
References EXPECT_EQ(), blender::Bounds< T >::max, blender::Bounds< T >::min, and blender::Bounds< T >::pad().
| blender::tests::TEST | ( | bounds | , |
| Recenter | ) |
Definition at line 93 of file BLI_bounds_test.cc.
References blender::Bounds< T >::center(), EXPECT_EQ(), and blender::Bounds< T >::recenter().
| blender::tests::TEST | ( | bounds | , |
| Resize | ) |
Definition at line 82 of file BLI_bounds_test.cc.
References blender::Bounds< T >::center(), EXPECT_EQ(), blender::Bounds< T >::resize(), and blender::Bounds< T >::size().
| blender::tests::TEST | ( | bounds | , |
| ScaleFromCenter | ) |
Definition at line 68 of file BLI_bounds_test.cc.
References EXPECT_EQ(), blender::Bounds< T >::max, blender::Bounds< T >::min, blender::Bounds< T >::scale_from_center(), and blender::Bounds< T >::size().
| blender::tests::TEST | ( | bounds | , |
| Size | ) |
Definition at line 46 of file BLI_bounds_test.cc.
References EXPECT_EQ(), and blender::Bounds< T >::size().
| blender::tests::TEST | ( | bounds | , |
| Translate | ) |
Definition at line 56 of file BLI_bounds_test.cc.
References EXPECT_EQ(), blender::Bounds< T >::max, blender::Bounds< T >::min, and blender::Bounds< T >::translate().
| blender::tests::TEST | ( | color | , |
| SceneLinearByteDecoding | ) |
Definition at line 123 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, blender::color::decode(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, and blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r.
| blender::tests::TEST | ( | color | , |
| SceneLinearByteEncoding | ) |
Definition at line 113 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, blender::color::encode(), EXPECT_EQ(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, and blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r.
| blender::tests::TEST | ( | color | , |
| SceneLinearPremultipliedToSrgbByte | ) |
Definition at line 102 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, BLI_init_srgb_conversion(), EXPECT_EQ(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, blender::color::to_theme4b(), and blender::color::unpremultiply_alpha().
| blender::tests::TEST | ( | color | , |
| SceneLinearPremultipliedToSrgbFloat | ) |
Definition at line 79 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, BLI_init_srgb_conversion(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, blender::color::to_theme4f(), and blender::color::unpremultiply_alpha().
| blender::tests::TEST | ( | color | , |
| SceneLinearPremultipliedToStraight | ) |
Definition at line 58 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, and blender::color::unpremultiply_alpha().
| blender::tests::TEST | ( | color | , |
| SceneLinearStraightSrgbByte | ) |
Definition at line 91 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, BLI_init_srgb_conversion(), EXPECT_EQ(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, and blender::color::to_theme4b().
| blender::tests::TEST | ( | color | , |
| SceneLinearStraightSrgbFloat | ) |
Definition at line 68 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, BLI_init_srgb_conversion(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, and blender::color::to_theme4f().
| blender::tests::TEST | ( | color | , |
| SceneLinearStraightToPremultiplied | ) |
Definition at line 48 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::color::premultiply_alpha(), and blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r.
| blender::tests::TEST | ( | color | , |
| SrgbStraightFloatToByte | ) |
Definition at line 25 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, EXPECT_EQ(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, and blender::color::to_byte().
| blender::tests::TEST | ( | color | , |
| SrgbStraightToSceneLinearPremultiplied | ) |
Definition at line 35 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, BLI_init_srgb_conversion(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::color::premultiply_alpha(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, and blender::color::to_scene_linear().
| blender::tests::TEST | ( | color | , |
| ThemeByteToFloat | ) |
Definition at line 15 of file BLI_color_test.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, and blender::color::to_float().
| blender::tests::TEST | ( | cpp_type | , |
| Alignment | ) |
Definition at line 92 of file BLI_cpp_type_test.cc.
References CPPType_TestType, and EXPECT_EQ().
| blender::tests::TEST | ( | cpp_type | , |
| CopyAssignCompressed | ) |
Definition at line 404 of file BLI_cpp_type_test.cc.
References blender::CPPType::copy_assign_compressed(), EXPECT_EQ(), blender::IndexMask::from_indices(), and blender::CPPType::get().
| blender::tests::TEST | ( | cpp_type | , |
| CopyToInitialized | ) |
Definition at line 216 of file BLI_cpp_type_test.cc.
References copy_assigned_from_value, copy_assigned_value, CPPType_TestType, EXPECT_EQ(), and blender::IndexMask::from_indices().
| blender::tests::TEST | ( | cpp_type | , |
| CopyToUninitialized | ) |
Definition at line 183 of file BLI_cpp_type_test.cc.
References copy_constructed_from_value, copy_constructed_value, CPPType_TestType, EXPECT_EQ(), and blender::IndexMask::from_indices().
| blender::tests::TEST | ( | cpp_type | , |
| DebugPrint | ) |
Definition at line 371 of file BLI_cpp_type_test.cc.
References EXPECT_EQ(), blender::CPPType::get(), and blender::CPPType::print().
| blender::tests::TEST | ( | cpp_type | , |
| DefaultConstruction | ) |
Definition at line 103 of file BLI_cpp_type_test.cc.
References CPPType_TestType, default_constructed_value, EXPECT_EQ(), and blender::IndexMask::from_indices().
| blender::tests::TEST | ( | cpp_type | , |
| DefaultConstructTrivial | ) |
Definition at line 125 of file BLI_cpp_type_test.cc.
References blender::CPPType::default_construct(), EXPECT_EQ(), and blender::CPPType::get().
| blender::tests::TEST | ( | cpp_type | , |
| Destruct | ) |
Definition at line 161 of file BLI_cpp_type_test.cc.
References CPPType_TestType, destructed_value, EXPECT_EQ(), and blender::IndexMask::from_indices().
| blender::tests::TEST | ( | cpp_type | , |
| FillInitialized | ) |
Definition at line 315 of file BLI_cpp_type_test.cc.
References copy_assigned_from_value, copy_assigned_value, CPPType_TestType, EXPECT_EQ(), and blender::IndexMask::from_indices().
| blender::tests::TEST | ( | cpp_type | , |
| FillUninitialized | ) |
Definition at line 343 of file BLI_cpp_type_test.cc.
References copy_constructed_from_value, copy_constructed_value, CPPType_TestType, EXPECT_EQ(), and blender::IndexMask::from_indices().
| blender::tests::TEST | ( | cpp_type | , |
| Is | ) |
Definition at line 97 of file BLI_cpp_type_test.cc.
References CPPType_TestType.
| blender::tests::TEST | ( | cpp_type | , |
| RelocateToInitialized | ) |
Definition at line 282 of file BLI_cpp_type_test.cc.
References CPPType_TestType, destructed_value, EXPECT_EQ(), blender::IndexMask::from_indices(), and move_assigned_value.
| blender::tests::TEST | ( | cpp_type | , |
| RelocateToUninitialized | ) |
Definition at line 249 of file BLI_cpp_type_test.cc.
References CPPType_TestType, destructed_value, EXPECT_EQ(), blender::IndexMask::from_indices(), and move_constructed_value.
| blender::tests::TEST | ( | cpp_type | , |
| Size | ) |
Definition at line 87 of file BLI_cpp_type_test.cc.
References CPPType_TestType, and EXPECT_EQ().
| blender::tests::TEST | ( | cpp_type | , |
| ToStaticType | ) |
Definition at line 380 of file BLI_cpp_type_test.cc.
References EXPECT_EQ(), float, blender::CPPType::get(), T, blender::CPPType::to_static_type_tag(), and types.
| blender::tests::TEST | ( | cpp_type | , |
| ValueInitialize | ) |
Definition at line 132 of file BLI_cpp_type_test.cc.
References CPPType_TestType, default_constructed_value, EXPECT_EQ(), and blender::IndexMask::from_indices().
| blender::tests::TEST | ( | cpp_type | , |
| ValueInitializeTrivial | ) |
Definition at line 154 of file BLI_cpp_type_test.cc.
References EXPECT_EQ(), blender::CPPType::get(), and blender::CPPType::value_initialize().
| blender::tests::TEST | ( | disjoint_set | , |
| Test | ) |
Definition at line 13 of file BLI_disjoint_set_test.cc.
References EXPECT_EQ(), blender::DisjointSet< T >::find_root(), blender::DisjointSet< T >::in_same_set(), and blender::DisjointSet< T >::join().
| blender::tests::TEST | ( | fileops | , |
| fstream_open_charptr_filename | ) |
Definition at line 197 of file BLI_fileops_test.cc.
References in.
| blender::tests::TEST | ( | fileops | , |
| fstream_open_string_filename | ) |
Definition at line 182 of file BLI_fileops_test.cc.
References in.
| blender::tests::TEST | ( | function_ref | , |
| ConstantFunction | ) |
Definition at line 41 of file BLI_function_ref_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | function_ref | , |
| CopyDoesNotReferenceFunctionRef | ) |
Definition at line 71 of file BLI_function_ref_test.cc.
References EXPECT_EQ(), x, and y.
| blender::tests::TEST | ( | function_ref | , |
| CopyDoesNotReferenceFunctionRef2 | ) |
Definition at line 81 of file BLI_function_ref_test.cc.
References EXPECT_EQ(), x, y, and z().
| blender::tests::TEST | ( | function_ref | , |
| FalsyFunctionPointer | ) |
Definition at line 144 of file BLI_function_ref_test.cc.
| blender::tests::TEST | ( | function_ref | , |
| FalsyStdFunction | ) |
Definition at line 129 of file BLI_function_ref_test.cc.
| blender::tests::TEST | ( | function_ref | , |
| InitializeWithNull | ) |
Definition at line 104 of file BLI_function_ref_test.cc.
| blender::tests::TEST | ( | function_ref | , |
| MutableStatefullLambda | ) |
Definition at line 48 of file BLI_function_ref_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | function_ref | , |
| Null | ) |
Definition at line 58 of file BLI_function_ref_test.cc.
| blender::tests::TEST | ( | function_ref | , |
| OverloadSelection | ) |
Definition at line 120 of file BLI_function_ref_test.cc.
References EXPECT_EQ(), and overload_test().
| blender::tests::TEST | ( | function_ref | , |
| ReferenceAnotherFunctionRef | ) |
Definition at line 92 of file BLI_function_ref_test.cc.
References EXPECT_EQ(), x, and y.
| blender::tests::TEST | ( | function_ref | , |
| StandaloneFunction | ) |
Definition at line 35 of file BLI_function_ref_test.cc.
References add_two_numbers(), EXPECT_EQ(), perform_binary_operation(), and result.
| blender::tests::TEST | ( | function_ref | , |
| StatefullLambda | ) |
Definition at line 22 of file BLI_function_ref_test.cc.
References b, EXPECT_EQ(), perform_binary_operation(), and result.
| blender::tests::TEST | ( | function_ref | , |
| StatelessLambda | ) |
Definition at line 16 of file BLI_function_ref_test.cc.
References b, EXPECT_EQ(), perform_binary_operation(), and result.
| blender::tests::TEST | ( | generic_array | , |
| AssignDefault | ) |
Definition at line 128 of file BLI_generic_array_test.cc.
References array< T, alignment >::data(), EXPECT_EQ(), blender::CPPType::get(), and array< T, alignment >::size().
| blender::tests::TEST | ( | generic_array | , |
| BufferAndSizeConstructor | ) |
Definition at line 67 of file BLI_generic_array_test.cc.
References array< T, alignment >::data(), EXPECT_EQ(), blender::CPPType::get(), MEM_malloc_arrayN(), and array< T, alignment >::size().
| blender::tests::TEST | ( | generic_array | , |
| CopyConstructor | ) |
Definition at line 43 of file BLI_generic_array_test.cc.
References blender::GArray< Allocator >::as_mutable_span(), blender::GArray< Allocator >::as_span(), blender::GArray< Allocator >::data(), EXPECT_EQ(), blender::MutableSpan< T >::fill(), blender::CPPType::get(), blender::GArray< Allocator >::is_empty(), blender::GArray< Allocator >::size(), blender::GMutableSpan::typed(), and blender::GSpan::typed().
| blender::tests::TEST | ( | generic_array | , |
| DefaultConstructor | ) |
Definition at line 136 of file BLI_generic_array_test.cc.
| blender::tests::TEST | ( | generic_array | , |
| InContainer | ) |
Definition at line 107 of file BLI_generic_array_test.cc.
References EXPECT_EQ(), and blender::CPPType::get().
| blender::tests::TEST | ( | generic_array | , |
| MoveConstructor | ) |
Definition at line 23 of file BLI_generic_array_test.cc.
References blender::GArray< Allocator >::as_mutable_span(), blender::GArray< Allocator >::as_span(), blender::GArray< Allocator >::data(), EXPECT_EQ(), blender::MutableSpan< T >::fill(), blender::CPPType::get(), blender::GArray< Allocator >::is_empty(), blender::GArray< Allocator >::size(), blender::GArray< Allocator >::type(), blender::GMutableSpan::typed(), and blender::GSpan::typed().
| blender::tests::TEST | ( | generic_array | , |
| ReinitEmpty | ) |
Definition at line 119 of file BLI_generic_array_test.cc.
References EXPECT_EQ(), blender::CPPType::get(), and array< T, alignment >::size().
| blender::tests::TEST | ( | generic_array | , |
| Reinitialize | ) |
Definition at line 82 of file BLI_generic_array_test.cc.
References array< T, alignment >::data(), blender::MutableSpan< T >::data(), EXPECT_EQ(), blender::MutableSpan< T >::fill(), blender::CPPType::get(), array< T, alignment >::size(), blender::GMutableSpan::size(), and blender::GMutableSpan::typed().
| blender::tests::TEST | ( | generic_array | , |
| TypeConstructor | ) |
Definition at line 14 of file BLI_generic_array_test.cc.
References array< T, alignment >::data(), EXPECT_EQ(), blender::CPPType::get(), and array< T, alignment >::size().
| blender::tests::TEST | ( | generic_mutable_span | , |
| BufferAndSizeConstructor | ) |
Definition at line 40 of file BLI_generic_span_test.cc.
References EXPECT_EQ(), blender::CPPType::get(), blender::GMutableSpan::is_empty(), blender::GMutableSpan::size(), and blender::GMutableSpan::typed().
| blender::tests::TEST | ( | generic_mutable_span | , |
| TypeConstructor | ) |
Definition at line 33 of file BLI_generic_span_test.cc.
References EXPECT_EQ(), blender::CPPType::get(), blender::GMutableSpan::is_empty(), and blender::GMutableSpan::size().
| blender::tests::TEST | ( | generic_span | , |
| BufferAndSizeConstructor | ) |
Definition at line 19 of file BLI_generic_span_test.cc.
References EXPECT_EQ(), blender::CPPType::get(), blender::GSpan::is_empty(), blender::GSpan::size(), and blender::GSpan::typed().
| blender::tests::TEST | ( | generic_span | , |
| TypeConstructor | ) |
Definition at line 11 of file BLI_generic_span_test.cc.
References EXPECT_EQ(), blender::CPPType::get(), blender::GSpan::is_empty(), blender::GSpan::size(), and blender::GSpan::typed().
| blender::tests::TEST | ( | generic_vector_array | , |
| Append | ) |
Definition at line 18 of file BLI_generic_vector_array_test.cc.
References blender::GVectorArray::append(), EXPECT_EQ(), blender::CPPType::get(), and size().
| blender::tests::TEST | ( | generic_vector_array | , |
| Construct | ) |
Definition at line 11 of file BLI_generic_vector_array_test.cc.
References EXPECT_EQ(), blender::CPPType::get(), blender::GVectorArray::is_empty(), and blender::GVectorArray::size().
| blender::tests::TEST | ( | generic_vector_array | , |
| Extend | ) |
Definition at line 33 of file BLI_generic_vector_array_test.cc.
References EXPECT_EQ(), blender::GVectorArray::extend(), blender::CPPType::get(), and size().
| blender::tests::TEST | ( | implicit_sharing | , |
| CopyOnWriteAccess | ) |
Definition at line 58 of file BLI_implicit_sharing_test.cc.
References b, EXPECT_EQ(), blender::tests::SharedDataContainer::get_for_read(), and blender::tests::SharedDataContainer::get_for_write().
| blender::tests::TEST | ( | implicit_sharing | , |
| Version | ) |
| blender::tests::TEST | ( | implicit_sharing | , |
| WeakUser | ) |
Definition at line 92 of file BLI_implicit_sharing_test.cc.
References blender::ImplicitSharingInfo::add_weak_user(), blender::ImplicitSharingInfo::is_expired(), blender::ImplicitSharingInfo::is_mutable(), blender::ImplicitSharingInfo::remove_weak_user_and_delete_if_last(), and blender::tests::SharedDataContainer::sharing_info().
| blender::tests::TEST | ( | index_range | , |
| After | ) |
Definition at line 154 of file BLI_index_range_test.cc.
References blender::IndexRange::after(), EXPECT_EQ(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| Before | ) |
Definition at line 145 of file BLI_index_range_test.cc.
References blender::IndexRange::before(), EXPECT_EQ(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| constexpr_ | ) |
Definition at line 306 of file BLI_index_range_test.cc.
References BLI_STATIC_ASSERT, EXPECT_EQ(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| Contains | ) |
Definition at line 164 of file BLI_index_range_test.cc.
References blender::IndexRange::contains().
| blender::tests::TEST | ( | index_range | , |
| DefaultConstructor | ) |
Definition at line 14 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| DropBack | ) |
Definition at line 233 of file BLI_index_range_test.cc.
References blender::IndexRange::drop_back(), and EXPECT_EQ().
| blender::tests::TEST | ( | index_range | , |
| DropBackAll | ) |
Definition at line 242 of file BLI_index_range_test.cc.
References blender::IndexRange::drop_back(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| DropFront | ) |
Definition at line 249 of file BLI_index_range_test.cc.
References blender::IndexRange::drop_front(), and EXPECT_EQ().
| blender::tests::TEST | ( | index_range | , |
| DropFrontAll | ) |
Definition at line 266 of file BLI_index_range_test.cc.
References blender::IndexRange::drop_front(), blender::IndexRange::is_empty(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| DropFrontLargeN | ) |
Definition at line 259 of file BLI_index_range_test.cc.
References blender::IndexRange::drop_front(), and blender::IndexRange::is_empty().
| blender::tests::TEST | ( | index_range | , |
| First | ) |
Definition at line 174 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::first().
| blender::tests::TEST | ( | index_range | , |
| FromBeginEnd | ) |
Definition at line 45 of file BLI_index_range_test.cc.
References EXPECT_EQ(), blender::IndexRange::first(), blender::IndexRange::from_begin_end(), blender::IndexRange::is_empty(), blender::IndexRange::last(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| FromBeginEndInclusive | ) |
Definition at line 64 of file BLI_index_range_test.cc.
References EXPECT_EQ(), blender::IndexRange::first(), blender::IndexRange::from_begin_end_inclusive(), blender::IndexRange::last(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| FromBeginSize | ) |
Definition at line 26 of file BLI_index_range_test.cc.
References EXPECT_EQ(), blender::IndexRange::first(), blender::IndexRange::from_begin_size(), blender::IndexRange::is_empty(), blender::IndexRange::last(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| FromEndSize | ) |
Definition at line 79 of file BLI_index_range_test.cc.
References EXPECT_EQ(), blender::IndexRange::first(), blender::IndexRange::from_end_size(), blender::IndexRange::is_empty(), and blender::IndexRange::last().
| blender::tests::TEST | ( | index_range | , |
| FromSingle | ) |
Definition at line 92 of file BLI_index_range_test.cc.
References EXPECT_EQ(), blender::IndexRange::first(), blender::IndexRange::from_single(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| GenericAlgorithms | ) |
Definition at line 314 of file BLI_index_range_test.cc.
References blender::IndexRange::begin(), blender::IndexRange::end(), EXPECT_EQ(), and v.
| blender::tests::TEST | ( | index_range | , |
| Intersect | ) |
Definition at line 213 of file BLI_index_range_test.cc.
References EXPECT_EQ(), Intersect(), and blender::IndexRange::intersect().
| blender::tests::TEST | ( | index_range | , |
| Last | ) |
Definition at line 180 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::last().
| blender::tests::TEST | ( | index_range | , |
| MultipleElementRange | ) |
Definition at line 121 of file BLI_index_range_test.cc.
References EXPECT_EQ(), i, and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| OneAfterEnd | ) |
Definition at line 186 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::one_after_last().
| blender::tests::TEST | ( | index_range | , |
| OneBeforeStart | ) |
Definition at line 192 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::one_before_start().
| blender::tests::TEST | ( | index_range | , |
| SingleElementRange | ) |
Definition at line 106 of file BLI_index_range_test.cc.
References blender::IndexRange::begin(), EXPECT_EQ(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| Slice | ) |
Definition at line 204 of file BLI_index_range_test.cc.
References EXPECT_EQ(), blender::IndexRange::first(), blender::IndexRange::last(), blender::IndexRange::size(), and blender::IndexRange::slice().
| blender::tests::TEST | ( | index_range | , |
| SliceRange | ) |
Definition at line 224 of file BLI_index_range_test.cc.
References EXPECT_EQ(), blender::IndexRange::first(), blender::IndexRange::last(), blender::IndexRange::size(), and blender::IndexRange::slice().
| blender::tests::TEST | ( | index_range | , |
| SplitByAlignment | ) |
Definition at line 322 of file BLI_index_range_test.cc.
References blender::AlignedIndexRanges::aligned, EXPECT_EQ(), blender::AlignedIndexRanges::prefix, blender::split_index_range_by_alignment(), and blender::AlignedIndexRanges::suffix.
| blender::tests::TEST | ( | index_range | , |
| Start | ) |
Definition at line 198 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::start().
| blender::tests::TEST | ( | index_range | , |
| SubscriptOperator | ) |
Definition at line 137 of file BLI_index_range_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | index_range | , |
| TakeBack | ) |
Definition at line 289 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::take_back().
| blender::tests::TEST | ( | index_range | , |
| TakeBackLargeN | ) |
Definition at line 298 of file BLI_index_range_test.cc.
References EXPECT_EQ(), blender::IndexRange::size(), and blender::IndexRange::take_back().
| blender::tests::TEST | ( | index_range | , |
| TakeFront | ) |
Definition at line 273 of file BLI_index_range_test.cc.
References EXPECT_EQ(), blender::IndexRange::size(), and blender::IndexRange::take_front().
| blender::tests::TEST | ( | index_range | , |
| TakeFrontLargeN | ) |
Definition at line 282 of file BLI_index_range_test.cc.
References EXPECT_EQ(), blender::IndexRange::size(), and blender::IndexRange::take_front().
| blender::tests::TEST | ( | index_ranges_builder | , |
| Empty | ) |
Definition at line 11 of file BLI_index_ranges_builder_test.cc.
References EXPECT_EQ(), blender::IndexRangesBuilder< T >::is_empty(), and blender::IndexRangesBuilder< T >::size().
| blender::tests::TEST | ( | index_ranges_builder | , |
| Full | ) |
Definition at line 55 of file BLI_index_ranges_builder_test.cc.
References blender::IndexRangesBuilder< T >::add(), EXPECT_EQ(), blender::IndexRange::from_begin_end_inclusive(), blender::IndexRange::from_begin_size(), and blender::IndexRangesBuilder< T >::size().
| blender::tests::TEST | ( | index_ranges_builder | , |
| Multiple | ) |
Definition at line 37 of file BLI_index_ranges_builder_test.cc.
References blender::IndexRangesBuilder< T >::add(), blender::IndexRangesBuilder< T >::add_range(), EXPECT_EQ(), blender::IndexRange::from_begin_end(), blender::IndexRange::from_begin_end_inclusive(), and blender::IndexRangesBuilder< T >::size().
| blender::tests::TEST | ( | index_ranges_builder | , |
| Single | ) |
Definition at line 19 of file BLI_index_ranges_builder_test.cc.
References blender::IndexRangesBuilder< T >::add(), EXPECT_EQ(), blender::IndexRange::from_begin_size(), and blender::IndexRangesBuilder< T >::size().
| blender::tests::TEST | ( | inplace_priority_queue | , |
| BuildSmall | ) |
Definition at line 12 of file BLI_inplace_priority_queue_test.cc.
References EXPECT_EQ(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::peek(), and blender::InplacePriorityQueue< T, FirstHasHigherPriority >::pop().
| blender::tests::TEST | ( | inplace_priority_queue | , |
| DecreasePriority | ) |
Definition at line 26 of file BLI_inplace_priority_queue_test.cc.
References EXPECT_EQ(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::peek(), and blender::InplacePriorityQueue< T, FirstHasHigherPriority >::priority_decreased().
| blender::tests::TEST | ( | inplace_priority_queue | , |
| IncreasePriority | ) |
Definition at line 38 of file BLI_inplace_priority_queue_test.cc.
References EXPECT_EQ(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::peek(), and blender::InplacePriorityQueue< T, FirstHasHigherPriority >::priority_increased().
| blender::tests::TEST | ( | inplace_priority_queue | , |
| IndicesAccess | ) |
Definition at line 95 of file BLI_inplace_priority_queue_test.cc.
References blender::InplacePriorityQueue< T, FirstHasHigherPriority >::active_indices(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::all_indices(), EXPECT_EQ(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::inactive_indices(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::pop(), and Span< T >::size().
| blender::tests::TEST | ( | inplace_priority_queue | , |
| ManyPriorityChanges | ) |
Definition at line 69 of file BLI_inplace_priority_queue_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::RandomNumberGenerator::get_int32(), i, blender::InplacePriorityQueue< T, FirstHasHigherPriority >::is_empty(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::pop(), and blender::InplacePriorityQueue< T, FirstHasHigherPriority >::priority_changed().
| blender::tests::TEST | ( | inplace_priority_queue | , |
| PopAll | ) |
Definition at line 50 of file BLI_inplace_priority_queue_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::RandomNumberGenerator::get_int32(), i, blender::InplacePriorityQueue< T, FirstHasHigherPriority >::is_empty(), and blender::InplacePriorityQueue< T, FirstHasHigherPriority >::pop().
| blender::tests::TEST | ( | linear_allocator | , |
| AllocateArray | ) |
Definition at line 73 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::allocate_array(), EXPECT_EQ(), and blender::MutableSpan< T >::size().
| blender::tests::TEST | ( | linear_allocator | , |
| AllocateLarge | ) |
Definition at line 123 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::allocate().
| blender::tests::TEST | ( | linear_allocator | , |
| AllocationAlignment | ) |
Definition at line 20 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::allocate(), and is_aligned().
| blender::tests::TEST | ( | linear_allocator | , |
| Construct | ) |
Definition at line 81 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::construct(), and EXPECT_EQ().
| blender::tests::TEST | ( | linear_allocator | , |
| ConstructArray | ) |
Definition at line 143 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::construct_array(), and EXPECT_EQ().
| blender::tests::TEST | ( | linear_allocator | , |
| ConstructArrayCopy | ) |
| blender::tests::TEST | ( | linear_allocator | , |
| ConstructElementsAndPointerArray | ) |
Definition at line 92 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::construct_elements_and_pointer_array(), EXPECT_EQ(), blender::Span< T >::size(), and size().
| blender::tests::TEST | ( | linear_allocator | , |
| CopyString | ) |
Definition at line 59 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::copy_string(), blender::StringRefBase::data(), EXPECT_EQ(), and blender::LinearAllocator< Allocator >::provide_buffer().
| blender::tests::TEST | ( | linear_allocator | , |
| ManyAllocations | ) |
Definition at line 131 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::allocate(), blender::RandomNumberGenerator::get_int32(), i, and size().
| blender::tests::TEST | ( | linear_allocator | , |
| PackedAllocation | ) |
Definition at line 37 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::allocate(), EXPECT_EQ(), and blender::LinearAllocator< Allocator >::provide_buffer().
| blender::tests::TEST | ( | linear_allocator | , |
| TransferOwnership | ) |
Definition at line 156 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::allocate_array(), EXPECT_EQ(), size(), and blender::LinearAllocator< Allocator >::transfer_ownership_from().
| blender::tests::TEST | ( | map | , |
| AddAsVariadic | ) |
| blender::tests::TEST | ( | map | , |
| AddCbMove | ) |
Definition at line 766 of file BLI_map_test.cc.
References EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb().
| blender::tests::TEST | ( | map | , |
| AddIncreasesSize | ) |
Definition at line 70 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| AddMany | ) |
Definition at line 111 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), and i.
| blender::tests::TEST | ( | map | , |
| AddNewExceptions | ) |
Definition at line 581 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | map | , |
| AddOrModify | ) |
Definition at line 330 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_or_modify(), create_func(), EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup().
| blender::tests::TEST | ( | map | , |
| AddOrModifyExceptions | ) |
Definition at line 618 of file BLI_map_test.cc.
| blender::tests::TEST | ( | map | , |
| AddOrModifyReference | ) |
Definition at line 347 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_or_modify(), create_func(), EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup().
| blender::tests::TEST | ( | map | , |
| AddOverwrite | ) |
Definition at line 365 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_overwrite(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup().
| blender::tests::TEST | ( | map | , |
| Clear | ) |
Definition at line 462 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| ConstKeysAndValues | ) |
Definition at line 532 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::reserve().
| blender::tests::TEST | ( | map | , |
| Contains | ) |
| blender::tests::TEST | ( | map | , |
| CopyAssignment | ) |
Definition at line 448 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| CopyConstructorExceptions | ) |
Definition at line 560 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add().
| blender::tests::TEST | ( | map | , |
| DefaultConstructor | ) |
| blender::tests::TEST | ( | map | , |
| EnumKey | ) |
Definition at line 635 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup().
| blender::tests::TEST | ( | map | , |
| Equality | ) |
Definition at line 750 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), b, and EXPECT_EQ().
| blender::tests::TEST | ( | map | , |
| ForeachItem | ) |
Definition at line 541 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::first_index_of(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::foreach_item(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| GenericAlgorithms | ) |
Definition at line 648 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIteratorRange< SubIterator >::begin(), Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIteratorRange< SubIterator >::end(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::keys(), v, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
| blender::tests::TEST | ( | map | , |
| ItemIterator | ) |
Definition at line 229 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items().
| blender::tests::TEST | ( | map | , |
| ItemsConstructor | ) |
| blender::tests::TEST | ( | map | , |
| ItemsConstructorDuplicates | ) |
| blender::tests::TEST | ( | map | , |
| KeyIterator | ) |
Definition at line 208 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::keys().
| blender::tests::TEST | ( | map | , |
| LookupExisting | ) |
| blender::tests::TEST | ( | map | , |
| LookupKey | ) |
Definition at line 719 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key_as(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key_ptr(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key_ptr_as().
| blender::tests::TEST | ( | map | , |
| LookupNotExisting | ) |
| blender::tests::TEST | ( | map | , |
| LookupOrAdd | ) |
Definition at line 388 of file BLI_map_test.cc.
References EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add().
| blender::tests::TEST | ( | map | , |
| LookupOrAddCB_Lambdas | ) |
Definition at line 318 of file BLI_map_test.cc.
References EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb().
| blender::tests::TEST | ( | map | , |
| LookupOrAddCB_SeparateFunction | ) |
Definition at line 309 of file BLI_map_test.cc.
References EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::keys(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb(), and return_42().
| blender::tests::TEST | ( | map | , |
| LookupOrAddDefault | ) |
Definition at line 377 of file BLI_map_test.cc.
References EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default().
| blender::tests::TEST | ( | map | , |
| LookupTry | ) |
| blender::tests::TEST | ( | map | , |
| MoveAssignment | ) |
Definition at line 434 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| MoveConstructorExceptions | ) |
Definition at line 570 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add().
| blender::tests::TEST | ( | map | , |
| MoveConstructorLarge | ) |
Definition at line 420 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), EXPECT_EQ(), i, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| MoveConstructorSmall | ) |
Definition at line 407 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| MutableItemIterator | ) |
Definition at line 270 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup().
| blender::tests::TEST | ( | map | , |
| MutableItemToItemConversion | ) |
Definition at line 284 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| MutableValueIterator | ) |
Definition at line 256 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
| blender::tests::TEST | ( | map | , |
| PointerKeys | ) |
Definition at line 513 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), b, EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| PopDefault | ) |
Definition at line 154 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop_default(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| PopExceptions | ) |
Definition at line 607 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| PopItem | ) |
Definition at line 120 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop().
| blender::tests::TEST | ( | map | , |
| PopItemMany | ) |
Definition at line 173 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), i, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop().
| blender::tests::TEST | ( | map | , |
| PopTry | ) |
Definition at line 137 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop_try(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| Remove | ) |
Definition at line 502 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| RemoveDuringIteration | ) |
Definition at line 674 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), begin(), Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIteratorRange< SubIterator >::begin(), Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIteratorRange< SubIterator >::end(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and blender::MutableMapItem< Key, Value >::value.
| blender::tests::TEST | ( | map | , |
| RemoveIf | ) |
Definition at line 701 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), i, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | map | , |
| ReserveExceptions | ) |
Definition at line 595 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::reserve().
| blender::tests::TEST | ( | map | , |
| UniquePtrValue | ) |
Definition at line 479 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_overwrite(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop_default().
| blender::tests::TEST | ( | map | , |
| ValueIterator | ) |
Definition at line 187 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
| blender::tests::TEST | ( | map | , |
| VectorKey | ) |
Definition at line 732 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_as(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_as(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| 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().
| blender::tests::TEST | ( | math_base | , |
| ClampInt | ) |
Definition at line 171 of file BLI_math_base_test.cc.
References blender::math::clamp(), and EXPECT_EQ().
| blender::tests::TEST | ( | math_base | , |
| CompareFFRelativeNormal | ) |
Definition at line 22 of file BLI_math_base_test.cc.
References compare_ff_relative().
| blender::tests::TEST | ( | math_base | , |
| CompareFFRelativeValid | ) |
Definition at line 17 of file BLI_math_base_test.cc.
| blender::tests::TEST | ( | math_base | , |
| CompareFFRelativeZero | ) |
Definition at line 53 of file BLI_math_base_test.cc.
References compare_ff_relative().
| blender::tests::TEST | ( | math_base | , |
| FlooredFMod | ) |
Definition at line 201 of file BLI_math_base_test.cc.
References floored_fmod().
| 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().
| blender::tests::TEST | ( | math_base | , |
| InterpolateInt | ) |
Definition at line 196 of file BLI_math_base_test.cc.
References EXPECT_EQ(), and blender::math::interpolate().
| blender::tests::TEST | ( | math_base | , |
| Log2CeilU | ) |
Definition at line 133 of file BLI_math_base_test.cc.
References EXPECT_EQ(), and log2_ceil_u().
| blender::tests::TEST | ( | math_base | , |
| Log2FloorU | ) |
Definition at line 118 of file BLI_math_base_test.cc.
References EXPECT_EQ(), and log2_floor_u().
| blender::tests::TEST | ( | math_base | , |
| Midpoint | ) |
Definition at line 191 of file BLI_math_base_test.cc.
References blender::math::midpoint().
| blender::tests::TEST | ( | math_base | , |
| MinVectorAndFloat | ) |
Definition at line 166 of file BLI_math_base_test.cc.
References EXPECT_EQ(), and blender::math::min().
| 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().
| blender::tests::TEST | ( | math_base | , |
| StepExact | ) |
Definition at line 186 of file BLI_math_base_test.cc.
References EXPECT_EQ(), and blender::math::step().
| blender::tests::TEST | ( | math_base | , |
| StepGreaterThan | ) |
Definition at line 181 of file BLI_math_base_test.cc.
References EXPECT_EQ(), and blender::math::step().
| blender::tests::TEST | ( | math_base | , |
| StepLessThan | ) |
Definition at line 176 of file BLI_math_base_test.cc.
References EXPECT_EQ(), and blender::math::step().
| blender::tests::TEST | ( | math_base | , |
| UlpDiffFF | ) |
Definition at line 95 of file BLI_math_base_test.cc.
References EXPECT_EQ(), and ulp_diff_ff().
| blender::tests::TEST | ( | math_half | , |
| float_to_half_array | ) |
Definition at line 154 of file BLI_math_half_test.cc.
References blender::math::exp(), and blender::math::float_to_half_array().
| blender::tests::TEST | ( | math_half | , |
| float_to_half_make_finite_array | ) |
Definition at line 179 of file BLI_math_half_test.cc.
References blender::math::exp(), and blender::math::float_to_half_make_finite_array().
| blender::tests::TEST | ( | math_half | , |
| float_to_half_make_finite_scalar | ) |
Definition at line 81 of file BLI_math_half_test.cc.
References EXPECT_EQ(), and HFUN.
| 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.
| blender::tests::TEST | ( | math_half | , |
| half_to_float_array | ) |
Definition at line 126 of file BLI_math_half_test.cc.
References blender::math::exp(), and blender::math::half_to_float_array().
| 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().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixAccess | ) |
| blender::tests::TEST | ( | math_matrix | , |
| MatrixAdjoint | ) |
Definition at line 205 of file BLI_math_matrix_test.cc.
| blender::tests::TEST | ( | math_matrix | , |
| MatrixCompareTest | ) |
Definition at line 322 of file BLI_math_matrix_test.cc.
References blender::math::is_equal(), blender::math::is_negative(), blender::math::is_orthogonal(), blender::math::is_orthonormal(), blender::math::is_uniformly_scaled(), and blender::math::is_zero().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixDeterminant | ) |
Definition at line 192 of file BLI_math_matrix_test.cc.
References determinant().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixInit | ) |
Definition at line 229 of file BLI_math_matrix_test.cc.
References abs, determinant(), blender::MatBase< float, 4, 4 >::diagonal(), blender::math::dot(), e, EXPECT_EQ(), blender::math::from_loc_rot(), blender::math::from_loc_rot_scale(), blender::math::from_location(), blender::math::from_rotation(), blender::math::from_scale(), blender::math::from_up_axis(), blender::math::is_equal(), normalize, blender::math::to_axis_angle(), blender::math::to_quaternion(), transpose, blender::MatBase< T, NumCol, NumRow, Alignment >::x_axis(), blender::MatBase< T, NumCol, NumRow, Alignment >::y_axis(), and blender::MatBase< T, NumCol, NumRow, Alignment >::z_axis().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixInterpolationRegular | ) |
Definition at line 465 of file BLI_math_matrix_test.cc.
References e, blender::MatBase< float, 4, 4 >::identity(), blender::math::interpolate(), blender::math::interpolate_fast(), result, and transpose.
| blender::tests::TEST | ( | math_matrix | , |
| MatrixInterpolationSingularity | ) |
Definition at line 496 of file BLI_math_matrix_test.cc.
References determinant(), e, blender::MatBase< float, 3, 3 >::identity(), blender::math::interpolate(), blender::math::interpolate_fast(), result, transpose, and blender::MatBase< float, 3, 3 >::zero().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixInverse | ) |
Definition at line 147 of file BLI_math_matrix_test.cc.
References blender::MatBase< float, 3, 3 >::all(), blender::MatBase< float, 3, 3 >::diagonal(), and blender::math::invert().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixMethods | ) |
Definition at line 390 of file BLI_math_matrix_test.cc.
References EXPECT_EQ(), blender::math::is_unit_scale(), M_PI_2, M_SQRT1_2, M_SQRT2, normalize, blender::math::normalize_and_get_size(), blender::math::scale(), size(), blender::math::to_euler(), blender::math::to_loc_rot_scale(), blender::math::to_quaternion(), blender::math::to_rot_scale(), and blender::math::to_scale().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixModify | ) |
Definition at line 295 of file BLI_math_matrix_test.cc.
References e, M_PI_2, result, blender::math::rotate(), blender::math::scale(), and blender::math::translate().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixMultiply | ) |
Definition at line 347 of file BLI_math_matrix_test.cc.
References result.
| blender::tests::TEST | ( | math_matrix | , |
| MatrixProjection | ) |
Definition at line 587 of file BLI_math_matrix_test.cc.
References blender::math::atan(), e, and transpose.
| blender::tests::TEST | ( | math_matrix | , |
| MatrixPseudoInverse | ) |
Definition at line 162 of file BLI_math_matrix_test.cc.
References blender::math::pseudo_invert(), pseudoinverse_m4_m4(), blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), and transpose.
| blender::tests::TEST | ( | math_matrix | , |
| MatrixToNearestEuler | ) |
Definition at line 377 of file BLI_math_matrix_test.cc.
References e, blender::math::to_nearest_euler(), and blender::math::ZXY.
| blender::tests::TEST | ( | math_matrix | , |
| MatrixToQuaternionLegacy | ) |
Definition at line 447 of file BLI_math_matrix_test.cc.
References blender::math::to_quaternion_legacy().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixTransform | ) |
Definition at line 543 of file BLI_math_matrix_test.cc.
References e, blender::math::from_loc_rot(), blender::math::from_rotation(), M_PI_2, blender::math::projection::perspective(), blender::math::project_point(), result, blender::math::transform_direction(), and blender::math::transform_point().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixTransform2D | ) |
Definition at line 575 of file BLI_math_matrix_test.cc.
References blender::math::from_loc_rot_scale(), M_PI_2, and blender::math::transform_point().
| blender::tests::TEST | ( | math_matrix | , |
| MatrixTranspose | ) |
Definition at line 458 of file BLI_math_matrix_test.cc.
References EXPECT_EQ(), and transpose.
| blender::tests::TEST | ( | math_matrix | , |
| ToQuaternionSafe | ) |
Definition at line 615 of file BLI_math_matrix_test.cc.
References e, blender::math::from_rotation(), normalize, and blender::math::normalized_to_quaternion_safe().
| blender::tests::TEST | ( | math_matrix | , |
| Transformation2DMatrixDecomposition | ) |
Definition at line 430 of file BLI_math_matrix_test.cc.
References blender::math::from_loc_rot_scale(), blender::math::AngleRadianBase< T >::radian(), blender::math::scale(), and blender::math::to_loc_rot_scale().
| blender::tests::TEST | ( | math_matrix | , |
| TransformNormals | ) |
Definition at line 649 of file BLI_math_matrix_test.cc.
References blender::MatBase< float, 3, 3 >::diagonal(), blender::math::from_rot_scale(), blender::math::from_rotation(), blender::math::from_scale(), blender::RandomNumberGenerator::get_unit_float3(), i, blender::MatBase< float, 3, 3 >::identity(), blender::math::length(), normals, and transform_normals_test().
| blender::tests::TEST | ( | math_matrix_types | , |
| AddOperator | ) |
Definition at line 135 of file BLI_math_matrix_types_test.cc.
References blender::MatBase< float, 3, 3 >::diagonal(), and EXPECT_EQ().
| blender::tests::TEST | ( | math_matrix_types | , |
| ComponentAccess | ) |
Definition at line 126 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_matrix_types | , |
| ComponentMasking | ) |
Definition at line 76 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_matrix_types | , |
| DefaultConstructor | ) |
Definition at line 14 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_matrix_types | , |
| MatrixMultiplyOperator | ) |
Definition at line 222 of file BLI_math_matrix_types_test.cc.
References b, blender::MatBase< float, 3, 3 >::diagonal(), blender::MatBase< float, 4, 4 >::diagonal(), EXPECT_EQ(), and result.
| blender::tests::TEST | ( | math_matrix_types | , |
| MultiplyOperator | ) |
Definition at line 205 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ().
| 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.
| blender::tests::TEST | ( | math_matrix_types | , |
| PointerConversion | ) |
Definition at line 86 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_matrix_types | , |
| SmallerMatrixConstructor | ) |
Definition at line 61 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_matrix_types | , |
| StaticConstructor | ) |
Definition at line 23 of file BLI_math_matrix_types_test.cc.
References blender::MatBase< float, 2, 2 >::all(), blender::MatBase< float, 2, 2 >::diagonal(), EXPECT_EQ(), blender::MatBase< float, 2, 2 >::identity(), and blender::MatBase< float, 2, 2 >::zero().
| blender::tests::TEST | ( | math_matrix_types | , |
| SubtractOperator | ) |
Definition at line 170 of file BLI_math_matrix_types_test.cc.
References blender::MatBase< float, 3, 3 >::diagonal(), and EXPECT_EQ().
| blender::tests::TEST | ( | math_matrix_types | , |
| TypeConversion | ) |
Definition at line 96 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_matrix_types | , |
| VectorConstructor | ) |
Definition at line 50 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_matrix_types | , |
| VectorMultiplyOperator | ) |
Definition at line 275 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ(), and result.
| blender::tests::TEST | ( | math_matrix_types | , |
| ViewAssignment | ) |
Definition at line 323 of file BLI_math_matrix_types_test.cc.
References blender::MatBase< T, NumCol, NumRow, Alignment >::view().
| blender::tests::TEST | ( | math_matrix_types | , |
| ViewConstructor | ) |
Definition at line 289 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ(), blender::MatBase< T, NumCol, NumRow, Alignment >::view(), and view.
| blender::tests::TEST | ( | math_matrix_types | , |
| ViewFromCstyleMatrix | ) |
Definition at line 307 of file BLI_math_matrix_types_test.cc.
References blender::MatBase< float, 4, 4 >::diagonal().
| blender::tests::TEST | ( | math_matrix_types | , |
| ViewMatrixMultiplyOperator | ) |
Definition at line 389 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ(), result, blender::MatBase< T, NumCol, NumRow, Alignment >::view(), and view.
| blender::tests::TEST | ( | math_matrix_types | , |
| ViewMatrixNormalize | ) |
Definition at line 423 of file BLI_math_matrix_types_test.cc.
References normalize, and blender::MatBase< T, NumCol, NumRow, Alignment >::view().
| blender::tests::TEST | ( | math_matrix_types | , |
| ViewScalarOperators | ) |
Definition at line 350 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ(), blender::MatBase< T, NumCol, NumRow, Alignment >::view(), and view.
| blender::tests::TEST | ( | math_matrix_types | , |
| ViewVectorMultiplyOperator | ) |
Definition at line 408 of file BLI_math_matrix_types_test.cc.
References EXPECT_EQ(), result, blender::MatBase< T, NumCol, NumRow, Alignment >::view(), and view.
| blender::tests::TEST | ( | math_rotation_types | , |
| AngleFraction | ) |
Definition at line 243 of file BLI_math_rotation_types_test.cc.
References angle(), blender::math::AngleCartesianBase< T >::cos(), blender::math::cos(), cos, EXPECT_EQ(), float, i, blender::math::AngleFraction< T >::identity(), M_PI, M_SQRT1_2, blender::math::AngleFraction< T >::pi(), blender::math::AngleCartesianBase< T >::sin(), blender::math::sin(), sin, T, and blender::math::AngleFraction< T >::tau().
| blender::tests::TEST | ( | math_rotation_types | , |
| AngleMethods | ) |
Definition at line 230 of file BLI_math_rotation_types_test.cc.
References M_PI.
| blender::tests::TEST | ( | math_rotation_types | , |
| AngleSinCosOperators | ) |
| blender::tests::TEST | ( | math_rotation_types | , |
| AxisConvertToVec | ) |
Definition at line 64 of file BLI_math_rotation_types_test.cc.
References EXPECT_EQ(), blender::math::to_vector(), blender::math::Axis::X, blender::math::Axis::Y, and blender::math::Axis::Z.
| blender::tests::TEST | ( | math_rotation_types | , |
| AxisSignedConvertToVec | ) |
Definition at line 49 of file BLI_math_rotation_types_test.cc.
References EXPECT_EQ(), blender::math::to_vector(), blender::math::AxisSigned::X_NEG, blender::math::AxisSigned::X_POS, blender::math::AxisSigned::Y_NEG, blender::math::AxisSigned::Y_POS, blender::math::AxisSigned::Z_NEG, and blender::math::AxisSigned::Z_POS.
| blender::tests::TEST | ( | math_rotation_types | , |
| AxisSignedCross | ) |
Definition at line 18 of file BLI_math_rotation_types_test.cc.
References b, cross, blender::math::to_vector(), blender::math::AxisSigned::X_NEG, blender::math::AxisSigned::X_POS, blender::math::AxisSigned::Y_NEG, blender::math::AxisSigned::Y_POS, blender::math::AxisSigned::Z_NEG, and blender::math::AxisSigned::Z_POS.
| blender::tests::TEST | ( | math_rotation_types | , |
| DualQuaternionNonUniformScaleConstructor | ) |
Definition at line 114 of file BLI_math_rotation_types_test.cc.
References EXPECT_EQ(), blender::MatBase< float, 4, 4 >::identity(), blender::math::QuaternionBase< float >::identity(), blender::math::DualQuaternionBase< T >::quat, blender::math::DualQuaternionBase< T >::quat_weight, blender::math::DualQuaternionBase< T >::scale, blender::math::DualQuaternionBase< T >::scale_weight, blender::math::DualQuaternionBase< T >::trans, and blender::math::QuaternionBase< float >::zero().
| blender::tests::TEST | ( | math_rotation_types | , |
| DualQuaternionOperators | ) |
Definition at line 124 of file BLI_math_rotation_types_test.cc.
References EXPECT_EQ(), blender::MatBase< float, 4, 4 >::identity(), and sum().
| blender::tests::TEST | ( | math_rotation_types | , |
| DualQuaternionUniformScaleConstructor | ) |
Definition at line 105 of file BLI_math_rotation_types_test.cc.
References EXPECT_EQ(), blender::math::QuaternionBase< float >::identity(), blender::math::DualQuaternionBase< T >::quat, blender::math::DualQuaternionBase< T >::quat_weight, blender::math::DualQuaternionBase< T >::scale_weight, blender::math::DualQuaternionBase< T >::trans, and blender::math::QuaternionBase< float >::zero().
| blender::tests::TEST | ( | math_rotation_types | , |
| Euler3Conversion | ) |
Definition at line 338 of file BLI_math_rotation_types_test.cc.
References angle(), blender::math::AxisAngleBase< T, AngleT >::angle(), blender::math::AxisAngleBase< T, AngleT >::axis(), e, blender::math::from_rotation(), normalize, blender::math::to_axis_angle(), blender::math::to_euler(), blender::math::to_quaternion(), transpose, blender::math::XYZ, blender::math::XZY, blender::math::YXZ, blender::math::YZX, blender::math::ZXY, and blender::math::ZYX.
| blender::tests::TEST | ( | math_rotation_types | , |
| Euler3Order | ) |
Definition at line 71 of file BLI_math_rotation_types_test.cc.
References BLI_STATIC_ASSERT, EXPECT_EQ(), blender::math::XYZ, blender::math::XZY, blender::math::YXZ, blender::math::YZX, blender::math::ZXY, and blender::math::ZYX.
| blender::tests::TEST | ( | math_rotation_types | , |
| QuaternionDefaultConstructor | ) |
Definition at line 152 of file BLI_math_rotation_types_test.cc.
References EXPECT_EQ(), blender::math::QuaternionBase< T >::w, blender::math::QuaternionBase< T >::x, blender::math::QuaternionBase< T >::y, and blender::math::QuaternionBase< T >::z.
| blender::tests::TEST | ( | math_rotation_types | , |
| QuaternionExpmap | ) |
Definition at line 206 of file BLI_math_rotation_types_test.cc.
References blender::math::QuaternionBase< float >::expmap(), and normalize.
| blender::tests::TEST | ( | math_rotation_types | , |
| QuaternionProduct | ) |
Definition at line 179 of file BLI_math_rotation_types_test.cc.
References EXPECT_EQ(), result, blender::math::QuaternionBase< T >::w, blender::math::QuaternionBase< T >::x, blender::math::QuaternionBase< T >::y, and blender::math::QuaternionBase< T >::z.
| blender::tests::TEST | ( | math_rotation_types | , |
| QuaternionStaticConstructor | ) |
| blender::tests::TEST | ( | math_rotation_types | , |
| QuaternionTwistSwing | ) |
| blender::tests::TEST | ( | math_rotation_types | , |
| QuaternionUnaryMinus | ) |
Definition at line 196 of file BLI_math_rotation_types_test.cc.
References EXPECT_EQ(), and result.
| blender::tests::TEST | ( | math_rotation_types | , |
| QuaternionVectorConstructor | ) |
Definition at line 170 of file BLI_math_rotation_types_test.cc.
References EXPECT_EQ(), blender::math::QuaternionBase< T >::w, blender::math::QuaternionBase< T >::x, blender::math::QuaternionBase< T >::y, and blender::math::QuaternionBase< T >::z.
| blender::tests::TEST | ( | math_rotation_types | , |
| TypeConversion | ) |
Definition at line 316 of file BLI_math_rotation_types_test.cc.
References angle(), blender::math::AxisAngleBase< T, AngleT >::angle(), blender::math::AxisAngleBase< T, AngleT >::axis(), e, blender::math::AngleRadianBase< float >::from_degree(), normalize, blender::math::to_axis_angle(), blender::math::to_euler(), and blender::math::to_quaternion().
| blender::tests::TEST | ( | math_vec_types | , |
| Add | ) |
Definition at line 151 of file BLI_math_vector_types_test.cc.
| blender::tests::TEST | ( | math_vec_types | , |
| AddFloatByVector | ) |
Definition at line 163 of file BLI_math_vector_types_test.cc.
References result.
| blender::tests::TEST | ( | math_vec_types | , |
| ComponentMasking | ) |
Definition at line 117 of file BLI_math_vector_types_test.cc.
References EXPECT_EQ(), and i.
| blender::tests::TEST | ( | math_vec_types | , |
| Divide | ) |
Definition at line 239 of file BLI_math_vector_types_test.cc.
| blender::tests::TEST | ( | math_vec_types | , |
| DivideFloatByVector | ) |
Definition at line 248 of file BLI_math_vector_types_test.cc.
| blender::tests::TEST | ( | math_vec_types | , |
| DivideFloatByVectorSmall | ) |
Definition at line 257 of file BLI_math_vector_types_test.cc.
References result.
| blender::tests::TEST | ( | math_vec_types | , |
| MixedScalarVectorConstructorVec3 | ) |
Definition at line 65 of file BLI_math_vector_types_test.cc.
| blender::tests::TEST | ( | math_vec_types | , |
| MixedScalarVectorConstructorVec4 | ) |
Definition at line 78 of file BLI_math_vector_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_vec_types | , |
| Mul | ) |
Definition at line 211 of file BLI_math_vector_types_test.cc.
| blender::tests::TEST | ( | math_vec_types | , |
| MulFloatByVector | ) |
Definition at line 223 of file BLI_math_vector_types_test.cc.
References result.
| blender::tests::TEST | ( | math_vec_types | , |
| MultiScalarConstructorVec2 | ) |
Definition at line 41 of file BLI_math_vector_types_test.cc.
References EXPECT_EQ(), and i.
| blender::tests::TEST | ( | math_vec_types | , |
| MultiScalarConstructorVec3 | ) |
Definition at line 48 of file BLI_math_vector_types_test.cc.
References EXPECT_EQ(), and i.
| blender::tests::TEST | ( | math_vec_types | , |
| MultiScalarConstructorVec4 | ) |
Definition at line 56 of file BLI_math_vector_types_test.cc.
References EXPECT_EQ(), and i.
| 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.
| blender::tests::TEST | ( | math_vec_types | , |
| PointerConversion | ) |
Definition at line 125 of file BLI_math_vector_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_vec_types | , |
| ScalarConstructorDouble | ) |
Definition at line 34 of file BLI_math_vector_types_test.cc.
| blender::tests::TEST | ( | math_vec_types | , |
| ScalarConstructorFloat | ) |
Definition at line 27 of file BLI_math_vector_types_test.cc.
| blender::tests::TEST | ( | math_vec_types | , |
| ScalarConstructorInt | ) |
Definition at line 20 of file BLI_math_vector_types_test.cc.
References EXPECT_EQ(), and i.
| blender::tests::TEST | ( | math_vec_types | , |
| ScalarConstructorUnsigned | ) |
Definition at line 13 of file BLI_math_vector_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_vec_types | , |
| Sub | ) |
Definition at line 179 of file BLI_math_vector_types_test.cc.
| blender::tests::TEST | ( | math_vec_types | , |
| SubFloatByVector | ) |
Definition at line 195 of file BLI_math_vector_types_test.cc.
References result.
| blender::tests::TEST | ( | math_vec_types | , |
| SwizzleReinterpret | ) |
Definition at line 264 of file BLI_math_vector_types_test.cc.
References EXPECT_EQ(), blender::VecBase< T, Size >::xy(), blender::VecBase< T, Size >::xyz(), blender::VecBase< T, Size >::xyzw(), blender::VecBase< T, Size >::yz(), blender::VecBase< T, Size >::yzw(), and blender::VecBase< T, Size >::zw().
| blender::tests::TEST | ( | math_vec_types | , |
| VectorTypeConversion | ) |
Definition at line 144 of file BLI_math_vector_types_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | math_vector | , |
| CeilToMultiple | ) |
Definition at line 127 of file BLI_math_vector_test.cc.
References b, blender::math::ceil_to_multiple(), and result.
| blender::tests::TEST | ( | math_vector | , |
| Clamp | ) |
Definition at line 52 of file BLI_math_vector_test.cc.
References Clamp(), blender::math::clamp(), EXPECT_EQ(), blender::math::max(), max, blender::math::min(), min, and result.
| blender::tests::TEST | ( | math_vector | , |
| ClampVecWithFloats | ) |
Definition at line 13 of file BLI_math_vector_test.cc.
References b, clamp_v2(), blender::math::max(), and blender::math::min().
| blender::tests::TEST | ( | math_vector | , |
| DivideCeil | ) |
Definition at line 137 of file BLI_math_vector_test.cc.
References b, blender::math::divide_ceil(), and result.
| blender::tests::TEST | ( | math_vector | , |
| exp | ) |
Definition at line 192 of file BLI_math_vector_test.cc.
References blender::math::exp(), and result.
| blender::tests::TEST | ( | math_vector | , |
| InterpolateFloat | ) |
Definition at line 117 of file BLI_math_vector_test.cc.
References b, blender::math::interpolate(), and result.
| blender::tests::TEST | ( | math_vector | , |
| InterpolateInt | ) |
Definition at line 107 of file BLI_math_vector_test.cc.
References b, EXPECT_EQ(), blender::math::interpolate(), and result.
| blender::tests::TEST | ( | math_vector | , |
| MaxList | ) |
Definition at line 88 of file BLI_math_vector_test.cc.
References EXPECT_EQ(), blender::math::max(), and result.
| blender::tests::TEST | ( | math_vector | , |
| MinList | ) |
Definition at line 69 of file BLI_math_vector_test.cc.
References EXPECT_EQ(), blender::math::min(), and result.
| blender::tests::TEST | ( | math_vector | , |
| rcp | ) |
Definition at line 174 of file BLI_math_vector_test.cc.
References blender::math::rcp(), and result.
| blender::tests::TEST | ( | math_vector | , |
| safe_rcp | ) |
Definition at line 183 of file BLI_math_vector_test.cc.
References result, and blender::math::safe_rcp().
| blender::tests::TEST | ( | math_vector | , |
| safe_sqrt | ) |
Definition at line 165 of file BLI_math_vector_test.cc.
References result, and blender::math::safe_sqrt().
| blender::tests::TEST | ( | math_vector | , |
| Sign | ) |
Definition at line 147 of file BLI_math_vector_test.cc.
References result, Sign(), and blender::math::sign().
| blender::tests::TEST | ( | math_vector | , |
| sqrt | ) |
Definition at line 156 of file BLI_math_vector_test.cc.
References result, and blender::math::sqrt().
| blender::tests::TEST | ( | math_vector | , |
| square | ) |
Definition at line 201 of file BLI_math_vector_test.cc.
References result, and blender::math::square().
| blender::tests::TEST | ( | math_vector | , |
| test_invert_v3_safe | ) |
Definition at line 34 of file BLI_math_vector_test.cc.
References invert_v3(), and invert_v3_safe().
| blender::tests::TEST | ( | memory_counter | , |
| Simple | ) |
Definition at line 14 of file BLI_memory_counter_test.cc.
References blender::memory_counter::MemoryCounter::add(), blender::memory_counter::MemoryCounter::add_shared(), EXPECT_EQ(), blender::ImplicitSharingPtr< T, IsStrong >::get(), blender::implicit_sharing::info_for_mem_free(), MEM_mallocN(), and blender::memory_counter::MemoryCount::total_bytes.
| blender::tests::TEST | ( | memory_utils | , |
| ScopedDefer1 | ) |
Definition at line 66 of file BLI_memory_utils_test.cc.
References BLI_SCOPED_DEFER, and EXPECT_EQ().
| blender::tests::TEST | ( | memory_utils | , |
| ScopedDefer2 | ) |
Definition at line 79 of file BLI_memory_utils_test.cc.
References BLI_SCOPED_DEFER, and EXPECT_EQ().
| blender::tests::TEST | ( | multi_value_map | , |
| AddMultiple | ) |
Definition at line 55 of file BLI_multi_value_map_test.cc.
References blender::MultiValueMap< Key, Value >::add_multiple(), EXPECT_EQ(), and blender::MultiValueMap< Key, Value >::lookup().
| blender::tests::TEST | ( | multi_value_map | , |
| Items | ) |
Definition at line 107 of file BLI_multi_value_map_test.cc.
References blender::MultiValueMap< Key, Value >::add_multiple(), EXPECT_EQ(), blender::MultiValueMap< Key, Value >::items(), and blender::Span< T >::size().
| blender::tests::TEST | ( | multi_value_map | , |
| Keys | ) |
Definition at line 75 of file BLI_multi_value_map_test.cc.
References blender::MultiValueMap< Key, Value >::add(), blender::MultiValueMap< Key, Value >::add_multiple(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), EXPECT_EQ(), blender::MultiValueMap< Key, Value >::keys(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | multi_value_map | , |
| LookupExistant | ) |
Definition at line 19 of file BLI_multi_value_map_test.cc.
References blender::MultiValueMap< Key, Value >::add(), EXPECT_EQ(), and blender::MultiValueMap< Key, Value >::lookup().
| blender::tests::TEST | ( | multi_value_map | , |
| LookupMutable | ) |
Definition at line 34 of file BLI_multi_value_map_test.cc.
References blender::MultiValueMap< Key, Value >::add(), EXPECT_EQ(), blender::MultiValueMap< Key, Value >::lookup(), and blender::MutableSpan< T >::size().
| blender::tests::TEST | ( | multi_value_map | , |
| LookupNotExistant | ) |
Definition at line 11 of file BLI_multi_value_map_test.cc.
References blender::MultiValueMap< Key, Value >::add(), EXPECT_EQ(), and blender::MultiValueMap< Key, Value >::lookup().
| blender::tests::TEST | ( | multi_value_map | , |
| UniquePtr | ) |
Definition at line 123 of file BLI_multi_value_map_test.cc.
References blender::MultiValueMap< Key, Value >::add(), EXPECT_EQ(), and blender::MultiValueMap< Key, Value >::lookup().
| blender::tests::TEST | ( | multi_value_map | , |
| Values | ) |
Definition at line 92 of file BLI_multi_value_map_test.cc.
References blender::MultiValueMap< Key, Value >::add(), blender::MultiValueMap< Key, Value >::add_multiple(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and blender::MultiValueMap< Key, Value >::values().
| blender::tests::TEST | ( | mutable_span | , |
| Contains | ) |
Definition at line 171 of file BLI_span_test.cc.
References blender::MutableSpan< T >::contains().
| blender::tests::TEST | ( | pool | , |
| Allocation | ) |
Definition at line 20 of file BLI_pool_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Pool< T, ChunkLen >::construct(), blender::Pool< T, ChunkLen >::destruct(), EXPECT_EQ(), i, ptr, and blender::Pool< T, ChunkLen >::size().
| blender::tests::TEST | ( | pool | , |
| DefaultConstructor | ) |
Definition at line 14 of file BLI_pool_test.cc.
References EXPECT_EQ(), and blender::Pool< T, ChunkLen >::size().
| blender::tests::TEST | ( | pool | , |
| Reuse | ) |
Definition at line 35 of file BLI_pool_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Pool< T, ChunkLen >::construct(), blender::Pool< T, ChunkLen >::destruct(), EXPECT_EQ(), i, and ptr.
| blender::tests::TEST | ( | set | , |
| AddAs | ) |
Definition at line 356 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_as().
| blender::tests::TEST | ( | set | , |
| AddExceptions | ) |
Definition at line 522 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | set | , |
| AddMany | ) |
| blender::tests::TEST | ( | set | , |
| AddMultiple | ) |
Definition at line 178 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| AddMultipleNew | ) |
| blender::tests::TEST | ( | set | , |
| AddNewExceptions | ) |
Definition at line 511 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), EXPECT_EQ(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | set | , |
| AddOverwrite | ) |
Definition at line 646 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_overwrite(), EXPECT_EQ(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| Clear | ) |
| blender::tests::TEST | ( | set | , |
| ContainsAs | ) |
| blender::tests::TEST | ( | set | , |
| ContainsAsString | ) |
| blender::tests::TEST | ( | set | , |
| ContainsExistant | ) |
Definition at line 35 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty().
| blender::tests::TEST | ( | set | , |
| ContainsNotExistant | ) |
Definition at line 29 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains().
| blender::tests::TEST | ( | set | , |
| CopyAssignment | ) |
| blender::tests::TEST | ( | set | , |
| CopyConstructor | ) |
| blender::tests::TEST | ( | set | , |
| CopyConstructorExceptions | ) |
Definition at line 493 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key().
| blender::tests::TEST | ( | set | , |
| CustomizeHashAndEquality | ) |
Definition at line 379 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove().
| blender::tests::TEST | ( | set | , |
| DefaultConstructor | ) |
| blender::tests::TEST | ( | set | , |
| Disjoint | ) |
| blender::tests::TEST | ( | set | , |
| Equality | ) |
Definition at line 607 of file BLI_set_test.cc.
References b, e, and EXPECT_EQ().
| blender::tests::TEST | ( | set | , |
| ForwardIterator | ) |
Definition at line 533 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::begin(), and EXPECT_EQ().
| blender::tests::TEST | ( | set | , |
| GenericAlgorithms | ) |
| blender::tests::TEST | ( | set | , |
| InitializerListConstructor | ) |
| blender::tests::TEST | ( | set | , |
| Intersects | ) |
| blender::tests::TEST | ( | set | , |
| IntrusiveIntKey | ) |
Definition at line 394 of file BLI_set_test.cc.
| blender::tests::TEST | ( | set | , |
| Iterator | ) |
| blender::tests::TEST | ( | set | , |
| LookupKey | ) |
| blender::tests::TEST | ( | set | , |
| LookupKeyDefault | ) |
| blender::tests::TEST | ( | set | , |
| LookupKeyOrAdd | ) |
| blender::tests::TEST | ( | set | , |
| LookupKeyPtr | ) |
| blender::tests::TEST | ( | set | , |
| MoveAssignment | ) |
Definition at line 109 of file BLI_set_test.cc.
References EXPECT_EQ(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| MoveConstructor | ) |
Definition at line 85 of file BLI_set_test.cc.
References EXPECT_EQ(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| MoveConstructorExceptions | ) |
Definition at line 500 of file BLI_set_test.cc.
References EXPECT_EQ(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key().
| blender::tests::TEST | ( | set | , |
| OftenAddRemoveContained | ) |
Definition at line 214 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), i, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_contained(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| PointerSet | ) |
Definition at line 255 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), b, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| Remove | ) |
Definition at line 267 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| RemoveAs | ) |
Definition at line 343 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains_as(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_as().
| blender::tests::TEST | ( | set | , |
| RemoveContained | ) |
| blender::tests::TEST | ( | set | , |
| RemoveContainedAs | ) |
Definition at line 334 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains_as(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_contained_as().
| blender::tests::TEST | ( | set | , |
| RemoveContainedMany | ) |
Definition at line 139 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), i, and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_contained().
| blender::tests::TEST | ( | set | , |
| RemoveDuringIteration | ) |
Definition at line 557 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), begin(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::begin(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::end(), EXPECT_EQ(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| RemoveIf | ) |
Definition at line 583 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), i, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| RemoveUniquePtrWithRaw | ) |
Definition at line 596 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_as(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| SpanConstructorExceptions | ) |
Definition at line 484 of file BLI_set_test.cc.
| blender::tests::TEST | ( | set | , |
| StringSet | ) |
Definition at line 244 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| StringViewKeys | ) |
| blender::tests::TEST | ( | set | , |
| UniquePtrValues | ) |
Definition at line 225 of file BLI_set_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), EXPECT_EQ(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | span | , |
| AddConstToPointer | ) |
Definition at line 24 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| CastLargerSize | ) |
Definition at line 327 of file BLI_span_test.cc.
References blender::Span< T >::cast(), EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| CastSameSize | ) |
Definition at line 303 of file BLI_span_test.cc.
References blender::Span< T >::cast(), EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| CastSmallerSize | ) |
Definition at line 317 of file BLI_span_test.cc.
References blender::Span< T >::cast(), EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| Comparison | ) |
Definition at line 438 of file BLI_span_test.cc.
References b.
| blender::tests::TEST | ( | span | , |
| Constexpr | ) |
Definition at line 411 of file BLI_span_test.cc.
References BLI_STATIC_ASSERT, EXPECT_EQ(), blender::Span< T >::first_index(), blender::Span< T >::has_duplicates__linear_search(), blender::Span< T >::size(), and blender::Span< T >::slice().
| blender::tests::TEST | ( | span | , |
| Contains | ) |
Definition at line 159 of file BLI_span_test.cc.
References blender::Span< T >::contains().
| blender::tests::TEST | ( | span | , |
| ContainsPtr | ) |
Definition at line 279 of file BLI_span_test.cc.
References blender::Span< T >::contains_ptr().
| blender::tests::TEST | ( | span | , |
| CopyFrom | ) |
Definition at line 347 of file BLI_span_test.cc.
References blender::MutableSpan< T >::copy_from(), and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| Count | ) |
Definition at line 183 of file BLI_span_test.cc.
References blender::Span< T >::count(), and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| DropBack | ) |
Definition at line 43 of file BLI_span_test.cc.
References blender::Span< T >::drop_back(), and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| DropBackAll | ) |
Definition at line 52 of file BLI_span_test.cc.
References blender::Span< T >::drop_back(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | span | , |
| DropFront | ) |
Definition at line 59 of file BLI_span_test.cc.
References blender::Span< T >::drop_front(), and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| DropFrontAll | ) |
Definition at line 78 of file BLI_span_test.cc.
References blender::Span< T >::drop_front(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | span | , |
| DropFrontLargeN | ) |
Definition at line 69 of file BLI_span_test.cc.
References blender::MutableSpan< T >::drop_front(), blender::Span< T >::drop_front(), blender::MutableSpan< T >::is_empty(), and blender::Span< T >::is_empty().
| blender::tests::TEST | ( | span | , |
| Fill | ) |
Definition at line 228 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::MutableSpan< T >::fill().
| blender::tests::TEST | ( | span | , |
| FillIndices | ) |
Definition at line 240 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::MutableSpan< T >::fill_indices().
| blender::tests::TEST | ( | span | , |
| FirstIndex | ) |
Definition at line 293 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::first_index().
| blender::tests::TEST | ( | span | , |
| FirstLast | ) |
Definition at line 260 of file BLI_span_test.cc.
References EXPECT_EQ(), blender::Span< T >::first(), and blender::Span< T >::last().
| blender::tests::TEST | ( | span | , |
| FirstLast_OneElement | ) |
Definition at line 270 of file BLI_span_test.cc.
References EXPECT_EQ(), blender::Span< T >::first(), and blender::Span< T >::last().
| blender::tests::TEST | ( | span | , |
| FromArray | ) |
Definition at line 219 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| FromInitializerList | ) |
Definition at line 203 of file BLI_span_test.cc.
References test_ref_from_initializer_list().
| blender::tests::TEST | ( | span | , |
| FromSmallVector | ) |
Definition at line 14 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| FromVector | ) |
Definition at line 208 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| ImplicitConversions | ) |
Definition at line 426 of file BLI_span_test.cc.
References BLI_STATIC_ASSERT.
| 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().
| blender::tests::TEST | ( | span | , |
| MutableReverseIterator | ) |
| blender::tests::TEST | ( | span | , |
| ReverseIterator | ) |
Definition at line 360 of file BLI_span_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), blender::Span< T >::rbegin(), blender::Span< T >::rend(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | span | , |
| ReverseMutableSpan | ) |
Definition at line 373 of file BLI_span_test.cc.
References blender::MutableSpan< T >::reverse().
| blender::tests::TEST | ( | span | , |
| SizeInBytes | ) |
Definition at line 252 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::size_in_bytes().
| blender::tests::TEST | ( | span | , |
| Slice | ) |
Definition at line 121 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::slice().
| blender::tests::TEST | ( | span | , |
| SliceEmpty | ) |
Definition at line 130 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::slice().
| blender::tests::TEST | ( | span | , |
| SliceLargeN | ) |
Definition at line 146 of file BLI_span_test.cc.
References EXPECT_EQ(), blender::MutableSpan< T >::size(), blender::Span< T >::size(), blender::MutableSpan< T >::slice_safe(), and blender::Span< T >::slice_safe().
| blender::tests::TEST | ( | span | , |
| SliceRange | ) |
Definition at line 137 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::slice().
| blender::tests::TEST | ( | span | , |
| TakeBack | ) |
Definition at line 103 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::take_back().
| blender::tests::TEST | ( | span | , |
| TakeBackLargeN | ) |
Definition at line 112 of file BLI_span_test.cc.
References EXPECT_EQ(), blender::MutableSpan< T >::size(), blender::Span< T >::size(), blender::MutableSpan< T >::take_back(), and blender::Span< T >::take_back().
| blender::tests::TEST | ( | span | , |
| TakeFront | ) |
Definition at line 85 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::take_front().
| blender::tests::TEST | ( | span | , |
| TakeFrontLargeN | ) |
Definition at line 94 of file BLI_span_test.cc.
References EXPECT_EQ(), blender::MutableSpan< T >::size(), blender::Span< T >::size(), blender::MutableSpan< T >::take_front(), and blender::Span< T >::take_front().
| blender::tests::TEST | ( | span | , |
| VoidPointerSpan | ) |
Definition at line 337 of file BLI_span_test.cc.
References b, and EXPECT_EQ().
| blender::tests::TEST | ( | stack | , |
| CopyAssignment | ) |
| blender::tests::TEST | ( | stack | , |
| CopyConstructor | ) |
| blender::tests::TEST | ( | stack | , |
| DefaultConstructor | ) |
Definition at line 15 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), and blender::Stack< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | stack | , |
| MoveAssignment | ) |
Definition at line 78 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), i, blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | stack | , |
| MoveConstructor | ) |
Definition at line 49 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), i, blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | stack | , |
| MoveConstructorExceptions | ) |
Definition at line 209 of file BLI_stack_cxx_test.cc.
References blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push().
| blender::tests::TEST | ( | stack | , |
| OveralignedValues | ) |
Definition at line 193 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), i, blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push().
| blender::tests::TEST | ( | stack | , |
| Peek | ) |
| blender::tests::TEST | ( | stack | , |
| Pop | ) |
Definition at line 163 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push().
| blender::tests::TEST | ( | stack | , |
| PopExceptions | ) |
Definition at line 233 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_invariant_maintained(), blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), and blender::Stack< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | stack | , |
| Push | ) |
Definition at line 90 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), and blender::Stack< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | stack | , |
| PushAs | ) |
Definition at line 100 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push_as().
| blender::tests::TEST | ( | stack | , |
| PushExceptions | ) |
Definition at line 218 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_invariant_maintained(), blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), blender::Stack< T, InlineBufferCapacity, Allocator >::size(), and blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | stack | , |
| PushMultiple | ) |
| blender::tests::TEST | ( | stack | , |
| PushMultipleAfterPop | ) |
Definition at line 141 of file BLI_stack_cxx_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), i, blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), blender::Stack< T, InlineBufferCapacity, Allocator >::push_multiple(), and blender::Stack< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | stack | , |
| PushMultipleExceptions | ) |
| blender::tests::TEST | ( | stack | , |
| PushPopMany | ) |
Definition at line 120 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), i, blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), and blender::Stack< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | stack | , |
| SpanConstructor | ) |
| blender::tests::TEST | ( | stack | , |
| SpanConstructorExceptions | ) |
Definition at line 202 of file BLI_stack_cxx_test.cc.
| blender::tests::TEST | ( | stack | , |
| UniquePtrValues | ) |
Definition at line 183 of file BLI_stack_cxx_test.cc.
References b, blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), and UNUSED_VARS.
| blender::tests::TEST | ( | string_ref | , |
| Add | ) |
Definition at line 202 of file BLI_string_ref_test.cc.
References Add(), b, EXPECT_EQ(), and result.
| blender::tests::TEST | ( | string_ref | , |
| AddCharPtr1 | ) |
Definition at line 210 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and result.
| blender::tests::TEST | ( | string_ref | , |
| AddCharPtr2 | ) |
Definition at line 217 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and result.
| blender::tests::TEST | ( | string_ref | , |
| AddString1 | ) |
Definition at line 224 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and result.
| blender::tests::TEST | ( | string_ref | , |
| AddString2 | ) |
Definition at line 231 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and result.
| blender::tests::TEST | ( | string_ref | , |
| CompareEqual | ) |
Definition at line 238 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref | , |
| CompareEqualCharPtr1 | ) |
Definition at line 249 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref | , |
| CompareEqualCharPtr2 | ) |
Definition at line 258 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref | , |
| CompareEqualString1 | ) |
Definition at line 267 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref | , |
| CompareEqualString2 | ) |
Definition at line 276 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref | , |
| Constexpr | ) |
Definition at line 533 of file BLI_string_ref_test.cc.
References BLI_STATIC_ASSERT, EXPECT_EQ(), blender::StringRefBase::find_first_of(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| CopyBytesTruncated | ) |
Definition at line 467 of file BLI_string_ref_test.cc.
References blender::StringRefBase::copy_bytes_truncated(), and EXPECT_EQ().
| blender::tests::TEST | ( | string_ref | , |
| CopyUtf8Truncated | ) |
Definition at line 415 of file BLI_string_ref_test.cc.
References BLI_STR_UTF8_SUPERSCRIPT_2, blender::StringRefBase::copy_utf8_truncated(), and EXPECT_EQ().
| blender::tests::TEST | ( | string_ref | , |
| CStringConstructor | ) |
Definition at line 142 of file BLI_string_ref_test.cc.
References blender::StringRefBase::data(), EXPECT_EQ(), blender::StringRefBase::size(), and str.
| blender::tests::TEST | ( | string_ref | , |
| DefaultConstructor | ) |
Definition at line 112 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| DropKnownPrefix | ) |
Definition at line 342 of file BLI_string_ref_test.cc.
References blender::StringRef::drop_known_prefix(), EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| DropPrefixLargeN | ) |
Definition at line 334 of file BLI_string_ref_test.cc.
References blender::StringRef::drop_prefix(), EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| DropPrefixN | ) |
Definition at line 323 of file BLI_string_ref_test.cc.
References blender::StringRef::drop_prefix(), EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| DropSuffix | ) |
Definition at line 350 of file BLI_string_ref_test.cc.
References blender::StringRef::drop_suffix(), EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| DropSuffixLargeN | ) |
Definition at line 358 of file BLI_string_ref_test.cc.
References blender::StringRef::drop_suffix(), EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| EndsWith | ) |
Definition at line 311 of file BLI_string_ref_test.cc.
References blender::StringRefBase::endswith().
| blender::tests::TEST | ( | string_ref | , |
| FromStringView | ) |
Definition at line 519 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and view.
| blender::tests::TEST | ( | string_ref | , |
| Iterate | ) |
Definition at line 285 of file BLI_string_ref_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | string_ref | , |
| PointerWithLengthConstructor | ) |
Definition at line 150 of file BLI_string_ref_test.cc.
References blender::StringRefBase::data(), EXPECT_EQ(), blender::StringRefBase::size(), and str.
| blender::tests::TEST | ( | string_ref | , |
| ) |
Definition at line 191 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and str.
| blender::tests::TEST | ( | string_ref | , |
| SpanConstructor | ) |
Definition at line 166 of file BLI_string_ref_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | string_ref | , |
| StartEndConstructor | ) |
Definition at line 118 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| StartEndConstructorNullptr | ) |
Definition at line 127 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| StartEndConstructorSame | ) |
Definition at line 134 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| StartsWith | ) |
Definition at line 299 of file BLI_string_ref_test.cc.
References blender::StringRefBase::startswith().
| blender::tests::TEST | ( | string_ref | , |
| StdStringConstructor | ) |
Definition at line 158 of file BLI_string_ref_test.cc.
References blender::StringRefBase::data(), EXPECT_EQ(), blender::StringRefBase::size(), and str.
| blender::tests::TEST | ( | string_ref | , |
| SubscriptOperator | ) |
Definition at line 172 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| Substr | ) |
Definition at line 404 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::substr().
| blender::tests::TEST | ( | string_ref | , |
| ToStdString | ) |
Definition at line 183 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and str.
| blender::tests::TEST | ( | string_ref | , |
| ToStringView | ) |
Definition at line 526 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and view.
| blender::tests::TEST | ( | string_ref | , |
| TrimArbitrary | ) |
Definition at line 366 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::trim().
| blender::tests::TEST | ( | string_ref | , |
| TrimCharacter | ) |
Definition at line 393 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::trim().
| blender::tests::TEST | ( | string_ref | , |
| TrimWhitespace | ) |
Definition at line 381 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::trim().
| blender::tests::TEST | ( | string_ref_null | , |
| CompareEqual | ) |
Definition at line 38 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref_null | , |
| CompareEqualCharPtr1 | ) |
Definition at line 49 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref_null | , |
| CompareEqualCharPtr2 | ) |
Definition at line 58 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref_null | , |
| CompareEqualString1 | ) |
Definition at line 67 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref_null | , |
| CompareEqualString2 | ) |
Definition at line 76 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref_null | , |
| CompareEqualStringRef1 | ) |
Definition at line 85 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref_null | , |
| CompareEqualStringRef2 | ) |
Definition at line 94 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref_null | , |
| Constexpr | ) |
Definition at line 103 of file BLI_string_ref_test.cc.
References BLI_STATIC_ASSERT, EXPECT_EQ(), blender::StringRefBase::find_first_of(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref_null | , |
| CStringConstructor | ) |
Definition at line 22 of file BLI_string_ref_test.cc.
References blender::StringRefBase::data(), EXPECT_EQ(), blender::StringRefBase::size(), and str.
| blender::tests::TEST | ( | string_ref_null | , |
| CStringLengthConstructor | ) |
Definition at line 30 of file BLI_string_ref_test.cc.
References blender::StringRefBase::data(), EXPECT_EQ(), blender::StringRefBase::size(), and str.
| blender::tests::TEST | ( | string_ref_null | , |
| DefaultConstructor | ) |
Definition at line 15 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | vector | , |
| Append | ) |
Definition at line 242 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| AppendAndGetIndex | ) |
Definition at line 263 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::append_and_get_index(), and EXPECT_EQ().
| blender::tests::TEST | ( | vector | , |
| AppendAs | ) |
Definition at line 254 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append_as(), and EXPECT_EQ().
| blender::tests::TEST | ( | vector | , |
| AppendCallsCopyConstructor | ) |
Definition at line 626 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append().
| blender::tests::TEST | ( | vector | , |
| AppendCallsMoveConstructor | ) |
Definition at line 634 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append().
| blender::tests::TEST | ( | vector | , |
| AppendExceptions | ) |
Definition at line 840 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::last(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | vector | , |
| AppendNonDuplicates | ) |
Definition at line 274 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append_non_duplicates(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| AppendNTimes | ) |
Definition at line 543 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append_n_times(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| BecomeLarge | ) |
Definition at line 315 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), i, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ConstructVoidPointerVector | ) |
Definition at line 723 of file BLI_vector_test.cc.
References b, EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ConvertingConstructor | ) |
Definition at line 66 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| CopyAssignment | ) |
Definition at line 227 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| CopyConstructor | ) |
Definition at line 119 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| CopyConstructor2 | ) |
Definition at line 133 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::data(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| CopyConstructor3 | ) |
Definition at line 147 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::data(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| CopyConstructor4 | ) |
Definition at line 158 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::data(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| DefaultConstructor | ) |
Definition at line 14 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ExtendArray | ) |
Definition at line 459 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ExtendExceptions | ) |
Definition at line 852 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ExtendIterator | ) |
Definition at line 296 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ExtendMoveFromSmallVector | ) |
Definition at line 471 of file BLI_vector_test.cc.
References b, EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::extend().
| blender::tests::TEST | ( | vector | , |
| ExtendMoveFromUniquePtrVector | ) |
Definition at line 494 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), b, blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), i, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ExtendNonDuplicates | ) |
Definition at line 285 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend_non_duplicates(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ExtendSmallVector | ) |
Definition at line 446 of file BLI_vector_test.cc.
References b, and EXPECT_EQ().
| blender::tests::TEST | ( | vector | , |
| Fill | ) |
Definition at line 732 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::fill(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| FirstIndexOf | ) |
Definition at line 696 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::first_index_of().
| blender::tests::TEST | ( | vector | , |
| FirstIndexTryOf | ) |
Definition at line 704 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::first_index_of_try().
| blender::tests::TEST | ( | vector | , |
| FromRaw | ) |
Definition at line 944 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::capacity(), data, EXPECT_EQ(), MEM_calloc_arrayN(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| FromRawEmpty | ) |
Definition at line 959 of file BLI_vector_test.cc.
References data, and blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty().
| blender::tests::TEST | ( | vector | , |
| InitializerListConstructor | ) |
Definition at line 56 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| Insert1Exceptions | ) |
Definition at line 861 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::insert().
| blender::tests::TEST | ( | vector | , |
| Insert2Exceptions | ) |
Definition at line 869 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), and blender::Vector< T, InlineBufferCapacity, Allocator >::reserve().
| blender::tests::TEST | ( | vector | , |
| InsertAtBeginning | ) |
Definition at line 744 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| InsertAtEnd | ) |
Definition at line 752 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| InsertAtIterator | ) |
Definition at line 768 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), blender::Vector< T, InlineBufferCapacity, Allocator >::end(), EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| InsertInMiddle | ) |
Definition at line 760 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| InsertMoveOnlyType | ) |
| blender::tests::TEST | ( | vector | , |
| IsEmpty | ) |
| blender::tests::TEST | ( | vector | , |
| Iterator | ) |
Definition at line 305 of file BLI_vector_test.cc.
References EXPECT_EQ(), and i.
| blender::tests::TEST | ( | vector | , |
| IteratorConstructor | ) |
Definition at line 105 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| LargeVectorCopyCallsCopyConstructor | ) |
Definition at line 649 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| LargeVectorMoveCallsNoConstructor | ) |
Definition at line 665 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| Last | ) |
Definition at line 534 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::last().
| blender::tests::TEST | ( | vector | , |
| MoveAssignment | ) |
Definition at line 215 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveConstructor | ) |
Definition at line 169 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveConstructor2 | ) |
Definition at line 182 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveConstructor3 | ) |
Definition at line 195 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveConstructor4 | ) |
Definition at line 205 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveConstructorExceptions | ) |
Definition at line 833 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| OveralignedValues | ) |
Definition at line 714 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), i, and blender::Vector< T, InlineBufferCapacity, Allocator >::last().
| blender::tests::TEST | ( | vector | , |
| PopLastExceptions | ) |
| blender::tests::TEST | ( | vector | , |
| Prepend | ) |
Definition at line 789 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::prepend(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| PrependString | ) |
Definition at line 797 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::prepend(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| RecursiveStructure | ) |
Definition at line 938 of file BLI_vector_test.cc.
References blender::tests::RecursiveType::my_vector.
| blender::tests::TEST | ( | vector | , |
| ReleaseAllocated | ) |
Definition at line 1006 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_inline(), MEM_freeN(), and blender::Vector< T, InlineBufferCapacity, Allocator >::release().
| blender::tests::TEST | ( | vector | , |
| ReleaseEmptyAllocated | ) |
Definition at line 973 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_inline(), MEM_freeN(), blender::Vector< T, InlineBufferCapacity, Allocator >::release(), and blender::Vector< T, InlineBufferCapacity, Allocator >::reserve().
| blender::tests::TEST | ( | vector | , |
| ReleaseEmptyInline | ) |
Definition at line 966 of file BLI_vector_test.cc.
References data, EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::release().
| blender::tests::TEST | ( | vector | , |
| ReleaseNonEmptyInline | ) |
Definition at line 990 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_inline(), MEM_freeN(), and blender::Vector< T, InlineBufferCapacity, Allocator >::release().
| blender::tests::TEST | ( | vector | , |
| Remove | ) |
| blender::tests::TEST | ( | vector | , |
| RemoveAndReorderExceptions | ) |
| blender::tests::TEST | ( | vector | , |
| RemoveChunk | ) |
Definition at line 902 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| RemoveChunkExceptions | ) |
Definition at line 924 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| RemoveExceptions | ) |
Definition at line 894 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| RemoveFirstOccurrenceAndReorder | ) |
Definition at line 392 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove_first_occurrence_and_reorder(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| RemoveIf | ) |
Definition at line 425 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove_if(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and x.
| blender::tests::TEST | ( | vector | , |
| RemoveIfNonTrivialDestructible | ) |
| blender::tests::TEST | ( | vector | , |
| RemoveLast | ) |
Definition at line 356 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove_last(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| RemoveReorder | ) |
Definition at line 376 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), and blender::Vector< T, InlineBufferCapacity, Allocator >::remove_and_reorder().
| blender::tests::TEST | ( | vector | , |
| Resize | ) |
Definition at line 675 of file BLI_vector_test.cc.
References EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ReturnByValue | ) |
Definition at line 332 of file BLI_vector_test.cc.
References EXPECT_EQ(), return_by_value_helper(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ReverseIterator | ) |
Definition at line 808 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::rbegin(), blender::Vector< T, InlineBufferCapacity, Allocator >::rend(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| SizeConstructor | ) |
Definition at line 20 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| SizeConstructorCallsDefaultConstructor | ) |
Definition at line 610 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| SizeValueConstructor | ) |
Definition at line 46 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| SizeValueConstructorCallsCopyConstructor | ) |
Definition at line 618 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| SizeValueConstructorExceptions | ) |
Definition at line 819 of file BLI_vector_test.cc.
References blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | vector | , |
| SmallVectorCopyCallsCopyConstructor | ) |
Definition at line 641 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| SmallVectorMoveCallsMoveConstructor | ) |
Definition at line 657 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| SpanConstructorExceptions | ) |
Definition at line 826 of file BLI_vector_test.cc.
| 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().
| blender::tests::TEST | ( | vector | , |
| UniquePtrValue | ) |
Definition at line 556 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::append_and_get_index(), b, EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::last(), blender::Vector< T, InlineBufferCapacity, Allocator >::pop_last(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove(), blender::Vector< T, InlineBufferCapacity, Allocator >::remove_and_reorder(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and UNUSED_VARS.
| blender::tests::TEST | ( | vector | , |
| VectorOfVectors_Append | ) |
Definition at line 341 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and v.
| blender::tests::TEST | ( | vector_set | , |
| AddExceptions | ) |
Definition at line 244 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | vector_set | , |
| AddExistingDoesNotIncreaseSize | ) |
| blender::tests::TEST | ( | vector_set | , |
| AddMultipleTimes | ) |
| blender::tests::TEST | ( | vector_set | , |
| AddNewExceptions | ) |
Definition at line 233 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | vector_set | , |
| AddNewIncreasesSize | ) |
Definition at line 100 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| AddOverwrite | ) |
Definition at line 447 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_overwrite(), data, EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| Clear | ) |
Definition at line 288 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), EXPECT_EQ(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| Copy | ) |
| blender::tests::TEST | ( | vector_set | , |
| CopyAssignment | ) |
| blender::tests::TEST | ( | vector_set | , |
| CopyConstructorExceptions | ) |
Definition at line 213 of file BLI_vector_set_test.cc.
| blender::tests::TEST | ( | vector_set | , |
| CustomIDVectorSet | ) |
Definition at line 369 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), b, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains_as(), EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_as(), operator()(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| CustomIDVectorSetMove | ) |
Definition at line 404 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), b, EXPECT_EQ(), operator()(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| DefaultConstructor | ) |
| blender::tests::TEST | ( | vector_set | , |
| ExtractVector | ) |
Definition at line 325 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::data(), EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| ExtractVectorEmpty | ) |
| blender::tests::TEST | ( | vector_set | , |
| ExtractVectorInline | ) |
Definition at line 338 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| ExtractVectorInlineExceptions | ) |
Definition at line 350 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| GrowWhenEmpty | ) |
Definition at line 315 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::reserve().
| blender::tests::TEST | ( | vector_set | , |
| Index | ) |
Definition at line 120 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of().
| blender::tests::TEST | ( | vector_set | , |
| IndexOfOrAdd | ) |
Definition at line 274 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_or_add().
| blender::tests::TEST | ( | vector_set | , |
| IndexTry | ) |
Definition at line 128 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_try().
| blender::tests::TEST | ( | vector_set | , |
| InitializerListConstructor_WithDuplicates | ) |
Definition at line 36 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| InitializerListConstructor_WithoutDuplicates | ) |
| blender::tests::TEST | ( | vector_set | , |
| LookupDefault | ) |
Definition at line 470 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key_default().
| blender::tests::TEST | ( | vector_set | , |
| LookupKey | ) |
Definition at line 300 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key_as(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key_default(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key_ptr(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_key_ptr_as().
| blender::tests::TEST | ( | vector_set | , |
| Move | ) |
Definition at line 67 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| MoveAssignment | ) |
Definition at line 91 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| MoveConstructorExceptions | ) |
Definition at line 221 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), EXPECT_EQ(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| MoveNonInline | ) |
Definition at line 83 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| PopExceptions | ) |
Definition at line 263 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::as_span(), EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| Remove | ) |
Definition at line 191 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove().
| blender::tests::TEST | ( | vector_set | , |
| RemoveContained | ) |
Definition at line 137 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_contained(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| RemoveIf | ) |
Definition at line 157 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), i, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), and blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| ReserveExceptions | ) |
| blender::tests::TEST | ( | vector_set | , |
| SpanConstructorExceptions | ) |
Definition at line 204 of file BLI_vector_set_test.cc.
| blender::tests::TEST | ( | vector_set | , |
| UniquePtrValue | ) |
Definition at line 181 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_try(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop(), and UNUSED_VARS.
| blender::tests::TEST | ( | vectorlist | , |
| Append | ) |
Definition at line 54 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), and blender::VectorList< T, CapacityStart, CapacityMax >::size().
| blender::tests::TEST | ( | vectorlist | , |
| AppendCallsCopyConstructor | ) |
Definition at line 232 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append().
| blender::tests::TEST | ( | vectorlist | , |
| AppendCallsMoveConstructor | ) |
Definition at line 240 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append().
| blender::tests::TEST | ( | vectorlist | , |
| AppendExceptions | ) |
Definition at line 256 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), blender::VectorList< T, CapacityStart, CapacityMax >::last(), blender::VectorList< T, CapacityStart, CapacityMax >::size(), and blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | vectorlist | , |
| ConstIterator | ) |
Definition at line 80 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), and i.
| blender::tests::TEST | ( | vectorlist | , |
| ConstLimitIndexing | ) |
Definition at line 139 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), and i.
| blender::tests::TEST | ( | vectorlist | , |
| DefaultConstructor | ) |
Definition at line 13 of file BLI_vector_list_test.cc.
References EXPECT_EQ(), and blender::VectorList< T, CapacityStart, CapacityMax >::size().
| blender::tests::TEST | ( | vectorlist | , |
| First | ) |
Definition at line 179 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), and blender::VectorList< T, CapacityStart, CapacityMax >::first().
| blender::tests::TEST | ( | vectorlist | , |
| IsEmpty | ) |
| blender::tests::TEST | ( | vectorlist | , |
| Iterator | ) |
Definition at line 66 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), and i.
| blender::tests::TEST | ( | vectorlist | , |
| IteratorAfterClear | ) |
Definition at line 110 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), blender::VectorList< T, CapacityStart, CapacityMax >::clear(), EXPECT_EQ(), and i.
| blender::tests::TEST | ( | vectorlist | , |
| Last | ) |
Definition at line 188 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), and blender::VectorList< T, CapacityStart, CapacityMax >::last().
| blender::tests::TEST | ( | vectorlist | , |
| LimitIndexing | ) |
Definition at line 128 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), and i.
| blender::tests::TEST | ( | vectorlist | , |
| LimitIterator | ) |
Definition at line 96 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), and i.
| blender::tests::TEST | ( | vectorlist | , |
| MoveConstructor | ) |
Definition at line 19 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), and blender::VectorList< T, CapacityStart, CapacityMax >::size().
| blender::tests::TEST | ( | vectorlist | , |
| MoveOperator | ) |
Definition at line 36 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), and blender::VectorList< T, CapacityStart, CapacityMax >::size().
| blender::tests::TEST | ( | vectorlist | , |
| OveralignedValues | ) |
Definition at line 247 of file BLI_vector_list_test.cc.
References blender::VectorList< T, CapacityStart, CapacityMax >::append(), EXPECT_EQ(), i, and blender::VectorList< T, CapacityStart, CapacityMax >::last().
| blender::tests::TEST | ( | vectorlist | , |
| ReturnByValue | ) |
Definition at line 160 of file BLI_vector_list_test.cc.
References EXPECT_EQ(), return_by_value_helper(), and blender::VectorList< T, CapacityStart, CapacityMax >::size().
| blender::tests::TEST | ( | virtual_array | , |
| Array | ) |
Definition at line 39 of file BLI_virtual_array_test.cc.
References EXPECT_EQ(), blender::VArray< T >::from_container(), blender::VArrayCommon< T >::is_empty(), blender::VArrayCommon< T >::is_span(), and blender::VArrayCommon< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| AsSpan | ) |
Definition at line 132 of file BLI_virtual_array_test.cc.
References EXPECT_EQ(), blender::VArray< T >::from_func(), and blender::Span< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| DerivedSpan | ) |
Definition at line 155 of file BLI_virtual_array_test.cc.
References EXPECT_EQ(), blender::VArray< T >::from_derived_span(), blender::VMutableArray< T >::from_derived_span(), get_x(), blender::VMutableArray< T >::set(), set_x(), and blender::VArrayCommon< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| EmptySpanWrapper | ) |
Definition at line 256 of file BLI_virtual_array_test.cc.
References blender::GMutableSpan::is_empty(), blender::GSpan::is_empty(), blender::MutableSpan< T >::is_empty(), and blender::Span< T >::is_empty().
| blender::tests::TEST | ( | virtual_array | , |
| Func | ) |
Definition at line 122 of file BLI_virtual_array_test.cc.
References EXPECT_EQ(), blender::VArray< T >::from_func(), and blender::VArrayCommon< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| MaterializeCompressed | ) |
Definition at line 207 of file BLI_virtual_array_test.cc.
References EXPECT_EQ(), blender::VArray< T >::from_func(), blender::IndexMask::from_indices(), blender::VArray< T >::from_single(), blender::VArray< T >::from_span(), i, blender::VArrayCommon< T >::materialize_compressed(), and blender::VArrayCommon< T >::materialize_compressed_to_uninitialized().
| blender::tests::TEST | ( | virtual_array | , |
| MutableArray | ) |
Definition at line 64 of file BLI_virtual_array_test.cc.
References blender::Span< T >::data(), EXPECT_EQ(), blender::VMutableArray< T >::from_container(), blender::VMutableArray< T >::get_internal_span(), blender::VArrayCommon< T >::is_span(), blender::VMutableArray< T >::set(), and blender::VArrayCommon< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| MutableToImmutable | ) |
Definition at line 179 of file BLI_virtual_array_test.cc.
References EXPECT_EQ(), blender::VMutableArray< T >::from_span(), blender::VArrayCommon< T >::is_span(), and blender::VArrayCommon< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| Single | ) |
Definition at line 28 of file BLI_virtual_array_test.cc.
References EXPECT_EQ(), blender::VArray< T >::from_single(), blender::VArrayCommon< T >::get(), blender::VArrayCommon< T >::get_internal_single(), blender::VArrayCommon< T >::is_single(), blender::VArrayCommon< T >::is_span(), and blender::VArrayCommon< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| Span | ) |
Definition at line 16 of file BLI_virtual_array_test.cc.
References data, EXPECT_EQ(), blender::VArray< T >::from_span(), blender::VArrayCommon< T >::get(), blender::VArrayCommon< T >::get_internal_span(), blender::VArrayCommon< T >::is_single(), blender::VArrayCommon< T >::is_span(), and blender::VArrayCommon< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| StdArray | ) |
Definition at line 101 of file BLI_virtual_array_test.cc.
References EXPECT_EQ(), blender::VArray< T >::from_container(), and blender::VArrayCommon< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| StdVector | ) |
Definition at line 92 of file BLI_virtual_array_test.cc.
References EXPECT_EQ(), blender::VArray< T >::from_container(), and blender::VArrayCommon< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| Vector | ) |
Definition at line 83 of file BLI_virtual_array_test.cc.
References EXPECT_EQ(), blender::VArray< T >::from_container(), and blender::VArrayCommon< T >::size().
| blender::tests::TEST | ( | virtual_array | , |
| VectorSet | ) |
| 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, size(), Vector< T, InlineBufferCapacity, Allocator >::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.
| blender::tests::TEST_F | ( | ChangeWorkingDirectoryTest | , |
| change_working_directory | ) |
Definition at line 251 of file BLI_fileops_test.cc.
References BLI_change_working_dir(), BLI_current_working_dir(), BLI_delete(), BLI_dir_create_recursive(), BLI_exists(), BLI_path_cmp_normalized(), and FILE_MAX.
| blender::tests::TEST_F | ( | FileOpsTest | , |
| dir_create_recursive | ) |
Definition at line 160 of file BLI_fileops_test.cc.
References BLI_dir_create_recursive(), BLI_exists(), BLI_file_touch(), dir_create_recursive(), and SEP_STR.
| blender::tests::TEST_F | ( | FileOpsTest | , |
| rename | ) |
Definition at line 49 of file BLI_fileops_test.cc.
References BLI_dir_create_recursive(), BLI_exists(), BLI_file_touch(), BLI_open(), BLI_rename(), BLI_rename_overwrite(), O_BINARY, and SEP_STR.
|
static |
Definition at line 194 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::size().
Referenced by TEST().
|
static |
Definition at line 632 of file BLI_math_matrix_test.cc.
References i, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::math::invert(), blender::math::length(), blender::math::normalize(), normals, transform(), blender::math::transform_normals(), and blender::math::transpose().
Referenced by TEST().
|
static |
Definition at line 18 of file BLI_cpp_type_test.cc.
Referenced by blender::tests::TestType::operator=(), TEST(), and TEST().
|
static |
Definition at line 17 of file BLI_cpp_type_test.cc.
Referenced by blender::tests::TestType::operator=(), TEST(), and TEST().
|
static |
Definition at line 15 of file BLI_cpp_type_test.cc.
Referenced by TEST(), TEST(), and blender::tests::TestType::TestType().
|
static |
Definition at line 13 of file BLI_cpp_type_test.cc.
Referenced by TEST(), TEST(), and blender::tests::TestType::TestType().
|
static |
|
static |
Definition at line 12 of file BLI_cpp_type_test.cc.
Referenced by TEST(), TEST(), and blender::tests::TestType::TestType().
|
static |
Definition at line 21 of file BLI_cpp_type_test.cc.
Referenced by TEST(), TEST(), TEST(), and blender::tests::TestType::~TestType().
|
static |
Definition at line 20 of file BLI_cpp_type_test.cc.
Referenced by blender::tests::TestType::operator=().
|
static |
Definition at line 19 of file BLI_cpp_type_test.cc.
Referenced by blender::tests::TestType::operator=(), and TEST().
|
static |
Definition at line 16 of file BLI_cpp_type_test.cc.
Referenced by blender::tests::TestType::TestType().
|
static |
Definition at line 14 of file BLI_cpp_type_test.cc.
Referenced by TEST(), and blender::tests::TestType::TestType().