Fix duplicate AppEnum serialization text in ApplicationEnum test object

T6 and T7 were both registered with mismatched serialization text ('T5' and
'T6' respectively), duplicating the text already used by T5 and T6. Use the
correct unique text for each enum value.
This commit is contained in:
Magne Sjaastad committed 2026-10-09 13:31:39 +02:00
1 parent 58ac56f2f8
commit 4d68f66455
1 file changed
+2 -2
@@ -13,8 +13,8 @@ void caf::AppEnum<ApplicationEnum::MyEnumType>::setUp()
addItem( ApplicationEnum::MyEnumType::T3, "T3", "T 3" );
addItem( ApplicationEnum::MyEnumType::T4, "T4", "T 4" );
addItem( ApplicationEnum::MyEnumType::T5, "T5", "T 5" );
addItem( ApplicationEnum::MyEnumType::T6, "T5", "T 6" );
addItem( ApplicationEnum::MyEnumType::T7, "T6", "T 7" );
addItem( ApplicationEnum::MyEnumType::T6, "T6", "T 6" );
addItem( ApplicationEnum::MyEnumType::T7, "T7", "T 7" );
setDefault( ApplicationEnum::MyEnumType::T4 );
}