|
Blender
V2.93
|
Classes | |
| struct | ConstructibleType |
| class | ExceptionThrower |
| class | TestBaseClass |
| class | TestChildClass |
| struct | Type1 |
| struct | Type2 |
| struct | EqualityIntModN |
| struct | HashIntModN |
| struct | MyKeyType |
| struct | TestListValue |
| class | TypeConstructMock |
Functions | |
| 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 (disjoint_set, Test) | |
| 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, CallSafe) | |
| TEST (function_ref, CallSafeVoid) | |
| TEST (index_mask, DefaultConstructor) | |
| TEST (index_mask, ArrayConstructor) | |
| TEST (index_mask, RangeConstructor) | |
| TEST (index_range, DefaultConstructor) | |
| 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, Start) | |
| TEST (index_range, Slice) | |
| TEST (index_range, SliceRange) | |
| TEST (index_range, AsSpan) | |
| TEST (index_range, constexpr_) | |
| TEST (index_range, GenericAlgorithms) | |
| 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 (map, DefaultConstructor) | |
| TEST (map, AddIncreasesSize) | |
| TEST (map, Contains) | |
| TEST (map, LookupExisting) | |
| TEST (map, LookupNotExisting) | |
| TEST (map, AddMany) | |
| TEST (map, PopItem) | |
| TEST (map, PopTry) | |
| TEST (map, PopDefault) | |
| TEST (map, PopItemMany) | |
| TEST (map, ValueIterator) | |
| TEST (map, KeyIterator) | |
| TEST (map, ItemIterator) | |
| TEST (map, MutableValueIterator) | |
| TEST (map, MutableItemIterator) | |
| TEST (map, MutableItemToItemConversion) | |
| static float | return_42 () |
| TEST (map, LookupOrAddCB_SeparateFunction) | |
| TEST (map, LookupOrAddCB_Lambdas) | |
| TEST (map, AddOrModify) | |
| TEST (map, AddOrModifyReference) | |
| TEST (map, AddOverwrite) | |
| TEST (map, LookupOrAddDefault) | |
| TEST (map, LookupOrAdd) | |
| TEST (map, MoveConstructorSmall) | |
| TEST (map, MoveConstructorLarge) | |
| TEST (map, MoveAssignment) | |
| TEST (map, CopyAssignment) | |
| TEST (map, Clear) | |
| TEST (map, UniquePtrValue) | |
| TEST (map, Remove) | |
| TEST (map, PointerKeys) | |
| TEST (map, ConstKeysAndValues) | |
| TEST (map, ForeachItem) | |
| TEST (map, CopyConstructorExceptions) | |
| TEST (map, MoveConstructorExceptions) | |
| TEST (map, AddNewExceptions) | |
| TEST (map, ReserveExceptions) | |
| TEST (map, PopExceptions) | |
| TEST (map, AddOrModifyExceptions) | |
| TEST (map, EnumKey) | |
| TEST (map, GenericAlgorithms) | |
| TEST (memory_utils, DefaultConstructN_ActuallyCallsConstructor) | |
| TEST (memory_utils, DefaultConstructN_StrongExceptionSafety) | |
| TEST (memory_utils, UninitializedCopyN_ActuallyCopies) | |
| TEST (memory_utils, UninitializedCopyN_StrongExceptionSafety) | |
| TEST (memory_utils, UninitializedFillN_ActuallyCopies) | |
| TEST (memory_utils, UninitializedFillN_StrongExceptionSafety) | |
| 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 (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 (span, FromSmallVector) | |
| TEST (span, AddConstToPointer) | |
| TEST (span, IsReferencing) | |
| TEST (span, DropBack) | |
| TEST (span, DropBackAll) | |
| TEST (span, DropFront) | |
| TEST (span, DropFrontLargeN) | |
| TEST (span, DropFrontAll) | |
| TEST (span, TakeFront) | |
| TEST (span, TakeFrontLargeN) | |
| TEST (span, TakeBack) | |
| TEST (span, TakeBackLargeN) | |
| TEST (span, Slice) | |
| TEST (span, SliceEmpty) | |
| TEST (span, SliceRange) | |
| TEST (span, SliceLargeN) | |
| TEST (span, Contains) | |
| TEST (span, Count) | |
| static void | test_ref_from_initializer_list (Span< int > span) |
| TEST (span, FromInitializerList) | |
| TEST (span, FromVector) | |
| TEST (span, FromArray) | |
| TEST (span, Fill) | |
| TEST (span, FillIndices) | |
| TEST (span, SizeInBytes) | |
| TEST (span, FirstLast) | |
| TEST (span, FirstLast_OneElement) | |
| TEST (span, Get) | |
| 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, 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, 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, DefaultConstructor) | |
| TEST (string_ref, StartEndConstructor) | |
| TEST (string_ref, StartEndConstructorNullptr) | |
| TEST (string_ref, StartEndConstructorSame) | |
| TEST (string_ref, CStringConstructor) | |
| TEST (string_ref, PointerWithLengthConstructor) | |
| TEST (string_ref, StdStringConstructor) | |
| TEST (string_ref, SubscriptOperator) | |
| TEST (string_ref, ToStdString) | |
| TEST (string_ref, Print) | |
| TEST (string_ref, Add) | |
| TEST (string_ref, AddCharPtr1) | |
| TEST (string_ref, AddCharPtr2) | |
| TEST (string_ref, AddString1) | |
| TEST (string_ref, AddString2) | |
| TEST (string_ref, CompareEqual) | |
| TEST (string_ref, CompareEqualCharPtr1) | |
| TEST (string_ref, CompareEqualCharPtr2) | |
| TEST (string_ref, CompareEqualString1) | |
| TEST (string_ref, CompareEqualString2) | |
| TEST (string_ref, Iterate) | |
| TEST (string_ref, StartsWith) | |
| TEST (string_ref, EndsWith) | |
| TEST (string_ref, DropPrefixN) | |
| TEST (string_ref, DropPrefixLargeN) | |
| TEST (string_ref, DropKnownPrefix) | |
| TEST (string_ref, DropSuffix) | |
| TEST (string_ref, DropSuffixLargeN) | |
| TEST (string_ref, Substr) | |
| TEST (string_ref, Copy) | |
| TEST (string_ref, FromStringView) | |
| TEST (string_ref, ToStringView) | |
| TEST (string_ref, Constexpr) | |
| TEST (vector_set, DefaultConstructor) | |
| TEST (vector_set, InitializerListConstructor_WithoutDuplicates) | |
| TEST (vector_set, InitializerListConstructor_WithDuplicates) | |
| TEST (vector_set, Copy) | |
| TEST (vector_set, CopyAssignment) | |
| TEST (vector_set, Move) | |
| TEST (vector_set, MoveAssignment) | |
| TEST (vector_set, AddNewIncreasesSize) | |
| TEST (vector_set, AddExistingDoesNotIncreaseSize) | |
| TEST (vector_set, Index) | |
| TEST (vector_set, IndexTry) | |
| TEST (vector_set, RemoveContained) | |
| TEST (vector_set, 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, DefaultConstructor) | |
| TEST (vector, SizeConstructor) | |
| TEST (vector, TrivialTypeSizeConstructor) | |
| TEST (vector, SizeValueConstructor) | |
| TEST (vector, InitializerListConstructor) | |
| TEST (vector, ConvertingConstructor) | |
| TEST (vector, ListBaseConstructor) | |
| 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, 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, ExtendSmallVector) | |
| TEST (vector, ExtendArray) | |
| TEST (vector, Last) | |
| TEST (vector, AppendNTimes) | |
| TEST (vector, UniquePtrValue) | |
| TEST (vector, SizeConstructorCallsDefaultConstructor) | |
| TEST (vector, SizeValueConstructorCallsCopyConstructor) | |
| TEST (vector, AppendCallsCopyConstructor) | |
| TEST (vector, AppendCallsMoveConstructor) | |
| TEST (vector, SmallVectorCopyCallsCopyConstructor) | |
| TEST (vector, LargeVectorCopyCallsCopyConstructor) | |
| TEST (vector, SmallVectorMoveCallsMoveConstructor) | |
| TEST (vector, LargeVectorMoveCallsNoConstructor) | |
| TEST (vector, Resize) | |
| TEST (vector, FirstIndexOf) | |
| TEST (vector, FirstIndexTryOf) | |
| TEST (vector, OveralignedValues) | |
| TEST (vector, ConstructVoidPointerVector) | |
| TEST (vector, Fill) | |
| TEST (vector, InsertAtBeginning) | |
| TEST (vector, InsertAtEnd) | |
| TEST (vector, InsertInMiddle) | |
| TEST (vector, InsertAtIterator) | |
| TEST (vector, InsertMoveOnlyType) | |
| TEST (vector, Prepend) | |
| TEST (vector, 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 (virtual_array, ForSpan) | |
| TEST (virtual_array, ForSingle) | |
|
static |
Definition at line 28 of file BLI_function_ref_test.cc.
References Freestyle::a.
Referenced by TEST().
|
static |
Definition at line 10 of file BLI_linear_allocator_test.cc.
References BLI_assert, is_power_of_2_i(), POINTER_AS_UINT, and ptr.
Referenced by constraint_snap_plane_to_edge(), DRW_draw_cursor(), TEST(), transform_constraint_snap_axis_to_edge(), transform_constraint_snap_axis_to_face(), and UNUSED_FUNCTION().
Definition at line 284 of file BLI_set_test.cc.
References Freestyle::a, and blender::tests::Type1::value.
Definition at line 288 of file BLI_set_test.cc.
References Freestyle::a, and blender::tests::Type1::value.
|
static |
Definition at line 9 of file BLI_function_ref_test.cc.
References Freestyle::a.
Referenced by TEST().
|
static |
Definition at line 256 of file BLI_map_test.cc.
Referenced by TEST().
|
static |
Definition at line 314 of file BLI_vector_test.cc.
Referenced by TEST().
| blender::tests::TEST | ( | array | , |
| CopyAssignment | |||
| ) |
Definition at line 85 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 214 of file BLI_array_test.cc.
| blender::tests::TEST | ( | array | , |
| CopyConstructor | |||
| ) |
Definition at line 58 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 11 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
Definition at line 166 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| FillConstructor | |||
| ) |
Definition at line 25 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| InitializerListConstructor | |||
| ) |
Definition at line 36 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| Last | |||
| ) |
Definition at line 230 of file BLI_array_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | array | , |
| MoveAssignment | |||
| ) |
Definition at line 99 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 222 of file BLI_array_test.cc.
| blender::tests::TEST | ( | array | , |
| MoveConstructor | |||
| ) |
Definition at line 72 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 207 of file BLI_array_test.cc.
| blender::tests::TEST | ( | array | , |
| NoInitializationSizeConstructor | |||
| ) |
Definition at line 141 of file BLI_array_test.cc.
References buffer, and EXPECT_EQ().
| blender::tests::TEST | ( | array | , |
| Reinitialize | |||
| ) |
Definition at line 239 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| ReverseIterator | |||
| ) |
Definition at line 178 of file BLI_array_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), array< T, alignment >::data(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), and data.
| blender::tests::TEST | ( | array | , |
| SizeConstructor | |||
| ) |
Definition at line 18 of file BLI_array_test.cc.
References EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| SizeValueConstructorExceptions | |||
| ) |
Definition at line 200 of file BLI_array_test.cc.
References blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | array | , |
| SpanConstructor | |||
| ) |
Definition at line 46 of file BLI_array_test.cc.
References ARRAY_SIZE, EXPECT_EQ(), and array< T, alignment >::size().
| blender::tests::TEST | ( | array | , |
| SpanConstructorExceptions | |||
| ) |
Definition at line 192 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 116 of file BLI_array_test.cc.
References EXPECT_EQ(), magic(), and ptr.
| blender::tests::TEST | ( | disjoint_set | , |
| Test | |||
| ) |
Definition at line 10 of file BLI_disjoint_set_test.cc.
References EXPECT_EQ(), blender::DisjointSet::find_root(), blender::DisjointSet::in_same_set(), and blender::DisjointSet::join().
| blender::tests::TEST | ( | function_ref | , |
| CallSafe | |||
| ) |
Definition at line 102 of file BLI_function_ref_test.cc.
References BLI_STATIC_ASSERT, and EXPECT_EQ().
| blender::tests::TEST | ( | function_ref | , |
| CallSafeVoid | |||
| ) |
Definition at line 115 of file BLI_function_ref_test.cc.
References BLI_STATIC_ASSERT, and EXPECT_EQ().
| blender::tests::TEST | ( | function_ref | , |
| ConstantFunction | |||
| ) |
Definition at line 39 of file BLI_function_ref_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | function_ref | , |
| CopyDoesNotReferenceFunctionRef | |||
| ) |
Definition at line 69 of file BLI_function_ref_test.cc.
References EXPECT_EQ(), x, and y.
| blender::tests::TEST | ( | function_ref | , |
| CopyDoesNotReferenceFunctionRef2 | |||
| ) |
Definition at line 79 of file BLI_function_ref_test.cc.
References EXPECT_EQ(), x, y, and z.
| blender::tests::TEST | ( | function_ref | , |
| MutableStatefullLambda | |||
| ) |
Definition at line 46 of file BLI_function_ref_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | function_ref | , |
| Null | |||
| ) |
Definition at line 56 of file BLI_function_ref_test.cc.
| blender::tests::TEST | ( | function_ref | , |
| ReferenceAnotherFunctionRef | |||
| ) |
Definition at line 90 of file BLI_function_ref_test.cc.
References EXPECT_EQ(), x, and y.
| blender::tests::TEST | ( | function_ref | , |
| StandaloneFunction | |||
| ) |
Definition at line 33 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 20 of file BLI_function_ref_test.cc.
References Freestyle::a, EXPECT_EQ(), perform_binary_operation(), and result.
| blender::tests::TEST | ( | function_ref | , |
| StatelessLambda | |||
| ) |
Definition at line 14 of file BLI_function_ref_test.cc.
References Freestyle::a, EXPECT_EQ(), perform_binary_operation(), and result.
| blender::tests::TEST | ( | index_mask | , |
| ArrayConstructor | |||
| ) |
Definition at line 15 of file BLI_index_mask_test.cc.
References EXPECT_EQ(), and mask().
| blender::tests::TEST | ( | index_mask | , |
| DefaultConstructor | |||
| ) |
Definition at line 8 of file BLI_index_mask_test.cc.
References EXPECT_EQ(), and mask().
| blender::tests::TEST | ( | index_mask | , |
| RangeConstructor | |||
| ) |
Definition at line 28 of file BLI_index_mask_test.cc.
References EXPECT_EQ(), indices, and mask().
| blender::tests::TEST | ( | index_range | , |
| After | |||
| ) |
Definition at line 70 of file BLI_index_range_test.cc.
References blender::IndexRange::after(), EXPECT_EQ(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| AsSpan | |||
| ) |
Definition at line 132 of file BLI_index_range_test.cc.
References blender::IndexRange::as_span(), EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | index_range | , |
| Before | |||
| ) |
Definition at line 61 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 143 of file BLI_index_range_test.cc.
References BLI_STATIC_ASSERT, and EXPECT_EQ().
| blender::tests::TEST | ( | index_range | , |
| Contains | |||
| ) |
Definition at line 80 of file BLI_index_range_test.cc.
References blender::IndexRange::contains().
| blender::tests::TEST | ( | index_range | , |
| DefaultConstructor | |||
| ) |
Definition at line 10 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| First | |||
| ) |
Definition at line 90 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::first().
| blender::tests::TEST | ( | index_range | , |
| GenericAlgorithms | |||
| ) |
Definition at line 151 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and v.
| blender::tests::TEST | ( | index_range | , |
| Last | |||
| ) |
Definition at line 96 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::last().
| blender::tests::TEST | ( | index_range | , |
| MultipleElementRange | |||
| ) |
Definition at line 37 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::size().
| blender::tests::TEST | ( | index_range | , |
| OneAfterEnd | |||
| ) |
Definition at line 102 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::one_after_last().
| blender::tests::TEST | ( | index_range | , |
| SingleElementRange | |||
| ) |
Definition at line 22 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 114 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 123 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 | , |
| Start | |||
| ) |
Definition at line 108 of file BLI_index_range_test.cc.
References EXPECT_EQ(), and blender::IndexRange::start().
| blender::tests::TEST | ( | index_range | , |
| SubscriptOperator | |||
| ) |
Definition at line 53 of file BLI_index_range_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | inplace_priority_queue | , |
| BuildSmall | |||
| ) |
Definition at line 10 of file BLI_inplace_priority_queue_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | inplace_priority_queue | , |
| DecreasePriority | |||
| ) |
Definition at line 24 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 36 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 93 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 blender::Span< T >::size().
| blender::tests::TEST | ( | inplace_priority_queue | , |
| ManyPriorityChanges | |||
| ) |
Definition at line 67 of file BLI_inplace_priority_queue_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::RandomNumberGenerator::get_int32(), 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 48 of file BLI_inplace_priority_queue_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::RandomNumberGenerator::get_int32(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::is_empty(), and blender::InplacePriorityQueue< T, FirstHasHigherPriority >::pop().
| blender::tests::TEST | ( | linear_allocator | , |
| AllocateArray | |||
| ) |
Definition at line 69 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 119 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::allocate().
| blender::tests::TEST | ( | linear_allocator | , |
| AllocationAlignment | |||
| ) |
Definition at line 16 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::allocate(), and is_aligned().
| blender::tests::TEST | ( | linear_allocator | , |
| Construct | |||
| ) |
Definition at line 77 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::construct(), and EXPECT_EQ().
| blender::tests::TEST | ( | linear_allocator | , |
| ConstructArrayCopy | |||
| ) |
| blender::tests::TEST | ( | linear_allocator | , |
| ConstructElementsAndPointerArray | |||
| ) |
Definition at line 88 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 55 of file BLI_linear_allocator_test.cc.
References buffer, 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 127 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::allocate(), buffer, blender::RandomNumberGenerator::get_int32(), and size().
| blender::tests::TEST | ( | linear_allocator | , |
| PackedAllocation | |||
| ) |
Definition at line 33 of file BLI_linear_allocator_test.cc.
References blender::LinearAllocator< Allocator >::allocate(), buffer, EXPECT_EQ(), and blender::LinearAllocator< Allocator >::provide_buffer().
| blender::tests::TEST | ( | map | , |
| AddIncreasesSize | |||
| ) |
Definition at line 22 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 63 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add().
| blender::tests::TEST | ( | map | , |
| AddNewExceptions | |||
| ) |
Definition at line 523 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 282 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 560 of file BLI_map_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_or_modify(), UNUSED, and v.
| blender::tests::TEST | ( | map | , |
| AddOrModifyReference | |||
| ) |
Definition at line 299 of file BLI_map_test.cc.
References Freestyle::a, 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 317 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 404 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 474 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 390 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 502 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 577 of file BLI_map_test.cc.
References A, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), B, C, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), D(), EXPECT_EQ(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup().
| blender::tests::TEST | ( | map | , |
| ForeachItem | |||
| ) |
Definition at line 483 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 590 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 >::BaseIterator< SubIterator >::begin(), count, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::BaseIterator< 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 181 of file BLI_map_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, 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 | , |
| KeyIterator | |||
| ) |
Definition at line 160 of file BLI_map_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, 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 | , |
| LookupNotExisting | |||
| ) |
| blender::tests::TEST | ( | map | , |
| LookupOrAdd | |||
| ) |
Definition at line 340 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 270 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 261 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 329 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 | , |
| MoveAssignment | |||
| ) |
Definition at line 376 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 512 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 362 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 >::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 349 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 222 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 236 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 208 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 455 of file BLI_map_test.cc.
References Freestyle::a, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), Freestyle::c, 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 106 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 549 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 72 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 125 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(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop().
| blender::tests::TEST | ( | map | , |
| PopTry | |||
| ) |
Definition at line 89 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 444 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 | , |
| ReserveExceptions | |||
| ) |
Definition at line 537 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 421 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 139 of file BLI_map_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Map< Key, Value, 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 | ( | memory_utils | , |
| DefaultConstructN_ActuallyCallsConstructor | |||
| ) |
Definition at line 39 of file BLI_memory_utils_test.cc.
References alive, buffer, blender::default_construct_n(), blender::destruct_n(), and EXPECT_EQ().
| blender::tests::TEST | ( | memory_utils | , |
| DefaultConstructN_StrongExceptionSafety | |||
| ) |
Definition at line 51 of file BLI_memory_utils_test.cc.
References alive, buffer, blender::default_construct_n(), and EXPECT_EQ().
| blender::tests::TEST | ( | memory_utils | , |
| UninitializedCopyN_ActuallyCopies | |||
| ) |
Definition at line 61 of file BLI_memory_utils_test.cc.
References alive, blender::default_construct_n(), blender::destruct_n(), EXPECT_EQ(), blender::TypedBuffer< T, Size >::ptr(), and blender::uninitialized_copy_n().
| blender::tests::TEST | ( | memory_utils | , |
| UninitializedCopyN_StrongExceptionSafety | |||
| ) |
Definition at line 78 of file BLI_memory_utils_test.cc.
References alive, blender::default_construct_n(), blender::destruct_n(), EXPECT_EQ(), blender::TypedBuffer< T, Size >::ptr(), and blender::uninitialized_copy_n().
| blender::tests::TEST | ( | memory_utils | , |
| UninitializedFillN_ActuallyCopies | |||
| ) |
Definition at line 93 of file BLI_memory_utils_test.cc.
References alive, buffer, blender::destruct_n(), EXPECT_EQ(), and blender::uninitialized_fill_n().
| blender::tests::TEST | ( | memory_utils | , |
| UninitializedFillN_StrongExceptionSafety | |||
| ) |
Definition at line 110 of file BLI_memory_utils_test.cc.
References alive, buffer, EXPECT_EQ(), and blender::uninitialized_fill_n().
| blender::tests::TEST | ( | multi_value_map | , |
| AddMultiple | |||
| ) |
Definition at line 53 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 105 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 73 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 17 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 32 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 9 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 121 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 90 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 | ( | set | , |
| AddAs | |||
| ) |
Definition at line 352 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 518 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 174 of file BLI_set_test.cc.
References Freestyle::a, and EXPECT_EQ().
| blender::tests::TEST | ( | set | , |
| AddMultipleNew | |||
| ) |
Definition at line 187 of file BLI_set_test.cc.
References Freestyle::a.
| blender::tests::TEST | ( | set | , |
| AddNewExceptions | |||
| ) |
Definition at line 507 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 | , |
| Clear | |||
| ) |
| blender::tests::TEST | ( | set | , |
| ContainsAs | |||
| ) |
| blender::tests::TEST | ( | set | , |
| ContainsAsString | |||
| ) |
| blender::tests::TEST | ( | set | , |
| ContainsExistant | |||
| ) |
Definition at line 31 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 25 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 489 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 375 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 | |||
| ) |
Definition at line 166 of file BLI_set_test.cc.
References Freestyle::a.
| blender::tests::TEST | ( | set | , |
| ForwardIterator | |||
| ) |
Definition at line 529 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 | |||
| ) |
Definition at line 158 of file BLI_set_test.cc.
References Freestyle::a.
| blender::tests::TEST | ( | set | , |
| IntrusiveIntKey | |||
| ) |
Definition at line 390 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 105 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 81 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 496 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 210 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 >::remove_contained(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | set | , |
| PointerSet | |||
| ) |
Definition at line 251 of file BLI_set_test.cc.
References Freestyle::a, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), Freestyle::c, 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 263 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 339 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 330 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 135 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_contained().
| blender::tests::TEST | ( | set | , |
| SpanConstructorExceptions | |||
| ) |
Definition at line 480 of file BLI_set_test.cc.
| blender::tests::TEST | ( | set | , |
| StringSet | |||
| ) |
Definition at line 240 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 221 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 20 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| CastLargerSize | |||
| ) |
Definition at line 319 of file BLI_span_test.cc.
References Freestyle::a, blender::Span< T >::cast(), EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| CastSameSize | |||
| ) |
Definition at line 295 of file BLI_span_test.cc.
References Freestyle::a, blender::Span< T >::cast(), EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| CastSmallerSize | |||
| ) |
Definition at line 309 of file BLI_span_test.cc.
References Freestyle::a, blender::Span< T >::cast(), EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| Comparison | |||
| ) |
Definition at line 407 of file BLI_span_test.cc.
References Freestyle::a.
| blender::tests::TEST | ( | span | , |
| Constexpr | |||
| ) |
Definition at line 380 of file BLI_span_test.cc.
References BLI_STATIC_ASSERT, and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| Contains | |||
| ) |
Definition at line 155 of file BLI_span_test.cc.
References Freestyle::a, and blender::Span< T >::contains().
| blender::tests::TEST | ( | span | , |
| ContainsPtr | |||
| ) |
Definition at line 271 of file BLI_span_test.cc.
References Freestyle::a, and blender::Span< T >::contains_ptr().
| blender::tests::TEST | ( | span | , |
| CopyFrom | |||
| ) |
Definition at line 339 of file BLI_span_test.cc.
References blender::MutableSpan< T >::copy_from(), and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| Count | |||
| ) |
Definition at line 167 of file BLI_span_test.cc.
References Freestyle::a, blender::Span< T >::count(), and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| DropBack | |||
| ) |
Definition at line 39 of file BLI_span_test.cc.
References Freestyle::a, blender::Span< T >::drop_back(), and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| DropBackAll | |||
| ) |
Definition at line 48 of file BLI_span_test.cc.
References Freestyle::a, blender::Span< T >::drop_back(), and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| DropFront | |||
| ) |
Definition at line 55 of file BLI_span_test.cc.
References Freestyle::a, blender::Span< T >::drop_front(), and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| DropFrontAll | |||
| ) |
Definition at line 74 of file BLI_span_test.cc.
References Freestyle::a, blender::Span< T >::drop_front(), and EXPECT_EQ().
| blender::tests::TEST | ( | span | , |
| DropFrontLargeN | |||
| ) |
Definition at line 65 of file BLI_span_test.cc.
References Freestyle::a, blender::MutableSpan< T >::drop_front(), blender::Span< T >::drop_front(), blender::Span< T >::is_empty(), and blender::MutableSpan< T >::is_empty().
| blender::tests::TEST | ( | span | , |
| Fill | |||
| ) |
Definition at line 212 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::MutableSpan< T >::fill().
| blender::tests::TEST | ( | span | , |
| FillIndices | |||
| ) |
Definition at line 224 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::MutableSpan< T >::fill_indices().
| blender::tests::TEST | ( | span | , |
| FirstIndex | |||
| ) |
Definition at line 285 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::first_index().
| blender::tests::TEST | ( | span | , |
| FirstLast | |||
| ) |
Definition at line 244 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), blender::Span< T >::first(), and blender::Span< T >::last().
| blender::tests::TEST | ( | span | , |
| FirstLast_OneElement | |||
| ) |
Definition at line 252 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), blender::Span< T >::first(), and blender::Span< T >::last().
| blender::tests::TEST | ( | span | , |
| FromArray | |||
| ) |
Definition at line 203 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| FromInitializerList | |||
| ) |
Definition at line 187 of file BLI_span_test.cc.
References test_ref_from_initializer_list().
| blender::tests::TEST | ( | span | , |
| FromSmallVector | |||
| ) |
Definition at line 10 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| FromVector | |||
| ) |
Definition at line 192 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::size().
| blender::tests::TEST | ( | span | , |
| Get | |||
| ) |
Definition at line 260 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::get().
| blender::tests::TEST | ( | span | , |
| ImplicitConversions | |||
| ) |
Definition at line 395 of file BLI_span_test.cc.
References BLI_STATIC_ASSERT.
| blender::tests::TEST | ( | span | , |
| IsReferencing | |||
| ) |
Definition at line 29 of file BLI_span_test.cc.
References ARRAY_SIZE, EXPECT_EQ(), and blender::MutableSpan< T >::size().
| blender::tests::TEST | ( | span | , |
| MutableReverseIterator | |||
| ) |
Definition at line 365 of file BLI_span_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, EXPECT_EQ(), blender::MutableSpan< T >::rbegin(), blender::MutableSpan< T >::rend(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | span | , |
| ReverseIterator | |||
| ) |
Definition at line 352 of file BLI_span_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, EXPECT_EQ(), blender::Span< T >::rbegin(), blender::Span< T >::rend(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | span | , |
| SizeInBytes | |||
| ) |
Definition at line 236 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::size_in_bytes().
| blender::tests::TEST | ( | span | , |
| Slice | |||
| ) |
Definition at line 117 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::slice().
| blender::tests::TEST | ( | span | , |
| SliceEmpty | |||
| ) |
Definition at line 126 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::slice().
| blender::tests::TEST | ( | span | , |
| SliceLargeN | |||
| ) |
Definition at line 142 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), blender::Span< T >::size(), blender::MutableSpan< T >::size(), blender::MutableSpan< T >::slice(), and blender::Span< T >::slice().
| blender::tests::TEST | ( | span | , |
| SliceRange | |||
| ) |
Definition at line 133 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::slice().
| blender::tests::TEST | ( | span | , |
| TakeBack | |||
| ) |
Definition at line 99 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::take_back().
| blender::tests::TEST | ( | span | , |
| TakeBackLargeN | |||
| ) |
Definition at line 108 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), blender::Span< T >::size(), blender::MutableSpan< T >::size(), blender::MutableSpan< T >::take_back(), and blender::Span< T >::take_back().
| blender::tests::TEST | ( | span | , |
| TakeFront | |||
| ) |
Definition at line 81 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), and blender::Span< T >::take_front().
| blender::tests::TEST | ( | span | , |
| TakeFrontLargeN | |||
| ) |
Definition at line 90 of file BLI_span_test.cc.
References Freestyle::a, EXPECT_EQ(), blender::Span< T >::size(), blender::MutableSpan< T >::size(), blender::MutableSpan< T >::take_front(), and blender::Span< T >::take_front().
| blender::tests::TEST | ( | span | , |
| VoidPointerSpan | |||
| ) |
Definition at line 329 of file BLI_span_test.cc.
References Freestyle::a, Freestyle::c, and EXPECT_EQ().
| blender::tests::TEST | ( | stack | , |
| CopyAssignment | |||
| ) |
| blender::tests::TEST | ( | stack | , |
| CopyConstructor | |||
| ) |
| blender::tests::TEST | ( | stack | , |
| DefaultConstructor | |||
| ) |
Definition at line 11 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 74 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | stack | , |
| MoveConstructor | |||
| ) |
Definition at line 45 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | stack | , |
| MoveConstructorExceptions | |||
| ) |
Definition at line 196 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 180 of file BLI_stack_cxx_test.cc.
References EXPECT_EQ(), 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 150 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 220 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 86 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 | , |
| PushExceptions | |||
| ) |
Definition at line 205 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 128 of file BLI_stack_cxx_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), 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 | |||
| ) |
| blender::tests::TEST | ( | stack | , |
| SpanConstructor | |||
| ) |
| blender::tests::TEST | ( | stack | , |
| SpanConstructorExceptions | |||
| ) |
Definition at line 189 of file BLI_stack_cxx_test.cc.
| blender::tests::TEST | ( | stack | , |
| UniquePtrValues | |||
| ) |
| blender::tests::TEST | ( | string_ref | , |
| Add | |||
| ) |
Definition at line 117 of file BLI_string_ref_test.cc.
References Freestyle::a, EXPECT_EQ(), and result.
| blender::tests::TEST | ( | string_ref | , |
| AddCharPtr1 | |||
| ) |
Definition at line 125 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and result.
| blender::tests::TEST | ( | string_ref | , |
| AddCharPtr2 | |||
| ) |
Definition at line 132 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and result.
| blender::tests::TEST | ( | string_ref | , |
| AddString1 | |||
| ) |
Definition at line 139 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and result.
| blender::tests::TEST | ( | string_ref | , |
| AddString2 | |||
| ) |
Definition at line 146 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and result.
| blender::tests::TEST | ( | string_ref | , |
| CompareEqual | |||
| ) |
Definition at line 153 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref | , |
| CompareEqualCharPtr1 | |||
| ) |
Definition at line 164 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref | , |
| CompareEqualCharPtr2 | |||
| ) |
Definition at line 173 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref | , |
| CompareEqualString1 | |||
| ) |
Definition at line 182 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref | , |
| CompareEqualString2 | |||
| ) |
Definition at line 191 of file BLI_string_ref_test.cc.
| blender::tests::TEST | ( | string_ref | , |
| Constexpr | |||
| ) |
Definition at line 317 of file BLI_string_ref_test.cc.
References BLI_STATIC_ASSERT, and EXPECT_EQ().
| blender::tests::TEST | ( | string_ref | , |
| Copy | |||
| ) |
Definition at line 292 of file BLI_string_ref_test.cc.
References blender::StringRefBase::copy(), and EXPECT_EQ().
| blender::tests::TEST | ( | string_ref | , |
| CStringConstructor | |||
| ) |
Definition at line 63 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 33 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| DropKnownPrefix | |||
| ) |
Definition at line 257 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 249 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 238 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 265 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 273 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 226 of file BLI_string_ref_test.cc.
References blender::StringRefBase::endswith().
| blender::tests::TEST | ( | string_ref | , |
| FromStringView | |||
| ) |
Definition at line 303 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and view.
| blender::tests::TEST | ( | string_ref | , |
| Iterate | |||
| ) |
Definition at line 200 of file BLI_string_ref_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), Freestyle::c, EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | string_ref | , |
| PointerWithLengthConstructor | |||
| ) |
Definition at line 71 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 106 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and str.
| blender::tests::TEST | ( | string_ref | , |
| StartEndConstructor | |||
| ) |
Definition at line 39 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| StartEndConstructorNullptr | |||
| ) |
Definition at line 48 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| StartEndConstructorSame | |||
| ) |
Definition at line 55 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| StartsWith | |||
| ) |
Definition at line 214 of file BLI_string_ref_test.cc.
References blender::StringRefBase::startswith().
| blender::tests::TEST | ( | string_ref | , |
| StdStringConstructor | |||
| ) |
Definition at line 79 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 87 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | string_ref | , |
| Substr | |||
| ) |
Definition at line 281 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::substr().
| blender::tests::TEST | ( | string_ref | , |
| ToStdString | |||
| ) |
Definition at line 98 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and str.
| blender::tests::TEST | ( | string_ref | , |
| ToStringView | |||
| ) |
Definition at line 310 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and view.
| blender::tests::TEST | ( | string_ref_null | , |
| CStringConstructor | |||
| ) |
Definition at line 17 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 25 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 10 of file BLI_string_ref_test.cc.
References EXPECT_EQ(), and blender::StringRefBase::size().
| blender::tests::TEST | ( | vector | , |
| Append | |||
| ) |
Definition at line 239 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 251 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 | , |
| AppendCallsCopyConstructor | |||
| ) |
Definition at line 531 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append().
| blender::tests::TEST | ( | vector | , |
| AppendCallsMoveConstructor | |||
| ) |
Definition at line 539 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append().
| blender::tests::TEST | ( | vector | , |
| AppendExceptions | |||
| ) |
Definition at line 734 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 261 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 443 of file BLI_vector_test.cc.
References Freestyle::a, and EXPECT_EQ().
| blender::tests::TEST | ( | vector | , |
| BecomeLarge | |||
| ) |
Definition at line 302 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 | , |
| ConstructVoidPointerVector | |||
| ) |
Definition at line 628 of file BLI_vector_test.cc.
References Freestyle::a, Freestyle::c, EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ConvertingConstructor | |||
| ) |
Definition at line 63 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| CopyAssignment | |||
| ) |
Definition at line 224 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| CopyConstructor | |||
| ) |
Definition at line 116 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| CopyConstructor2 | |||
| ) |
Definition at line 130 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 144 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 155 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 11 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| ExtendArray | |||
| ) |
Definition at line 425 of file BLI_vector_test.cc.
References Freestyle::a, and EXPECT_EQ().
| blender::tests::TEST | ( | vector | , |
| ExtendExceptions | |||
| ) |
Definition at line 746 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 | |||
| ) |
| blender::tests::TEST | ( | vector | , |
| ExtendNonDuplicates | |||
| ) |
Definition at line 272 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 412 of file BLI_vector_test.cc.
References Freestyle::a, EXPECT_EQ(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Definition at line 637 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 601 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 609 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::first_index_of_try().
| blender::tests::TEST | ( | vector | , |
| InitializerListConstructor | |||
| ) |
Definition at line 53 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| Insert1Exceptions | |||
| ) |
Definition at line 755 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::insert().
| blender::tests::TEST | ( | vector | , |
| Insert2Exceptions | |||
| ) |
Definition at line 763 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 | |||
| ) |
| blender::tests::TEST | ( | vector | , |
| InsertAtEnd | |||
| ) |
| blender::tests::TEST | ( | vector | , |
| InsertAtIterator | |||
| ) |
Definition at line 673 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), blender::Span< T >::data(), 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 | |||
| ) |
| blender::tests::TEST | ( | vector | , |
| InsertMoveOnlyType | |||
| ) |
| blender::tests::TEST | ( | vector | , |
| IsEmpty | |||
| ) |
| blender::tests::TEST | ( | vector | , |
| Iterator | |||
| ) |
Definition at line 292 of file BLI_vector_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | vector | , |
| IteratorConstructor | |||
| ) |
Definition at line 102 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| LargeVectorCopyCallsCopyConstructor | |||
| ) |
Definition at line 554 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| LargeVectorMoveCallsNoConstructor | |||
| ) |
Definition at line 570 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| Last | |||
| ) |
Definition at line 437 of file BLI_vector_test.cc.
References Freestyle::a, and EXPECT_EQ().
| blender::tests::TEST | ( | vector | , |
| ListBaseConstructor | |||
| ) |
Definition at line 80 of file BLI_vector_test.cc.
References BLI_addtail(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveAssignment | |||
| ) |
Definition at line 212 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveConstructor | |||
| ) |
Definition at line 166 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveConstructor2 | |||
| ) |
Definition at line 179 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveConstructor3 | |||
| ) |
Definition at line 192 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveConstructor4 | |||
| ) |
Definition at line 202 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| MoveConstructorExceptions | |||
| ) |
Definition at line 727 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| OveralignedValues | |||
| ) |
Definition at line 619 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::last().
| blender::tests::TEST | ( | vector | , |
| PopLastExceptions | |||
| ) |
| blender::tests::TEST | ( | vector | , |
| Prepend | |||
| ) |
| blender::tests::TEST | ( | vector | , |
| Remove | |||
| ) |
| blender::tests::TEST | ( | vector | , |
| RemoveAndReorderExceptions | |||
| ) |
| blender::tests::TEST | ( | vector | , |
| RemoveChunk | |||
| ) |
Definition at line 796 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 818 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 788 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 379 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 | , |
| RemoveLast | |||
| ) |
Definition at line 343 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 363 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 580 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 319 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 702 of file BLI_vector_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::data(), data, 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 17 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| SizeConstructorCallsDefaultConstructor | |||
| ) |
Definition at line 515 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| SizeValueConstructor | |||
| ) |
Definition at line 43 of file BLI_vector_test.cc.
References EXPECT_EQ(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| blender::tests::TEST | ( | vector | , |
| SizeValueConstructorCallsCopyConstructor | |||
| ) |
Definition at line 523 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| SizeValueConstructorExceptions | |||
| ) |
Definition at line 713 of file BLI_vector_test.cc.
References blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | vector | , |
| SmallVectorCopyCallsCopyConstructor | |||
| ) |
Definition at line 546 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| SmallVectorMoveCallsMoveConstructor | |||
| ) |
Definition at line 562 of file BLI_vector_test.cc.
| blender::tests::TEST | ( | vector | , |
| SpanConstructorExceptions | |||
| ) |
Definition at line 720 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 27 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 456 of file BLI_vector_test.cc.
References Freestyle::a, blender::Vector< T, InlineBufferCapacity, Allocator >::append(), 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 328 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 205 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | vector_set | , |
| AddExistingDoesNotIncreaseSize | |||
| ) |
Definition at line 84 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| AddMultipleTimes | |||
| ) |
Definition at line 131 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains().
| blender::tests::TEST | ( | vector_set | , |
| AddNewExceptions | |||
| ) |
Definition at line 194 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), EXPECT_EQ(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), and blender::tests::ExceptionThrower::throw_during_copy.
| blender::tests::TEST | ( | vector_set | , |
| AddNewIncreasesSize | |||
| ) |
Definition at line 74 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), EXPECT_EQ(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), and blender::VectorSet< Key, 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 174 of file BLI_vector_set_test.cc.
| blender::tests::TEST | ( | vector_set | , |
| DefaultConstructor | |||
| ) |
| blender::tests::TEST | ( | vector_set | , |
| Index | |||
| ) |
Definition at line 94 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of().
| blender::tests::TEST | ( | vector_set | , |
| IndexTry | |||
| ) |
Definition at line 102 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_try().
| blender::tests::TEST | ( | vector_set | , |
| InitializerListConstructor_WithDuplicates | |||
| ) |
Definition at line 26 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| InitializerListConstructor_WithoutDuplicates | |||
| ) |
Definition at line 17 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| Move | |||
| ) |
Definition at line 57 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| MoveAssignment | |||
| ) |
Definition at line 65 of file BLI_vector_set_test.cc.
References EXPECT_EQ(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| MoveConstructorExceptions | |||
| ) |
| blender::tests::TEST | ( | vector_set | , |
| PopExceptions | |||
| ) |
Definition at line 224 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::as_span(), EXPECT_EQ(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
| blender::tests::TEST | ( | vector_set | , |
| Remove | |||
| ) |
Definition at line 152 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove().
| blender::tests::TEST | ( | vector_set | , |
| RemoveContained | |||
| ) |
| blender::tests::TEST | ( | vector_set | , |
| ReserveExceptions | |||
| ) |
| blender::tests::TEST | ( | vector_set | , |
| SpanConstructorExceptions | |||
| ) |
Definition at line 165 of file BLI_vector_set_test.cc.
| blender::tests::TEST | ( | vector_set | , |
| UniquePtrValue | |||
| ) |
Definition at line 142 of file BLI_vector_set_test.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_try(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop(), and UNUSED_VARS.
| blender::tests::TEST | ( | virtual_array | , |
| ForSingle | |||
| ) |
Definition at line 21 of file BLI_virtual_array_test.cc.
References EXPECT_EQ().
| blender::tests::TEST | ( | virtual_array | , |
| ForSpan | |||
| ) |
Definition at line 9 of file BLI_virtual_array_test.cc.
References data, and EXPECT_EQ().
|
static |
Definition at line 178 of file BLI_span_test.cc.
References EXPECT_EQ(), and blender::Span< T >::size().
Referenced by TEST().