Blender  V3.3
Namespaces | Functions
idprop_serialize_test.cc File Reference
#include "testing/testing.h"
#include "DNA_ID.h"
#include "BKE_idprop.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::bke
 
 blender::bke::idprop
 
 blender::bke::idprop::tests
 

Functions

static void blender::bke::idprop::tests::check_container_value (ArrayValue *value)
 
static void blender::bke::idprop::tests::check_object_attribute (const DictionaryValue::Lookup &lookup, const std::string expected_key, const std::string expected_value)
 
static void blender::bke::idprop::tests::check_object_attribute (const DictionaryValue::Lookup &lookup, const std::string expected_key, const int32_t expected_value)
 
static void blender::bke::idprop::tests::check_object_attribute (const DictionaryValue::Lookup &lookup, const std::string expected_key, const float expected_value)
 
static void blender::bke::idprop::tests::check_object_attribute (const DictionaryValue::Lookup &lookup, const std::string expected_key, const double expected_value)
 
static void blender::bke::idprop::tests::test_string_to_value (const StringRefNull prop_name, const StringRefNull prop_content)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_string_to_value)
 
static void blender::bke::idprop::tests::test_int_to_value (const StringRefNull prop_name, int32_t prop_content)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_int_to_value)
 
static void blender::bke::idprop::tests::test_float_to_value (const StringRefNull prop_name, float prop_content)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_float_to_value)
 
static void blender::bke::idprop::tests::test_double_to_value (const StringRefNull prop_name, double prop_content)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_double_to_value)
 
template<typename PrimitiveType , typename ValueType >
static void blender::bke::idprop::tests::test_array_to_value (const StringRefNull prop_name, Vector< PrimitiveType > prop_content)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_int_array_to_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_float_array_to_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_double_array_to_value)
 
static std::unique_ptr< Valueblender::bke::idprop::tests::parse_json (StringRef input)
 
static std::string blender::bke::idprop::tests::to_json (const Value &value)
 
static void blender::bke::idprop::tests::test_idprop (const IDProperty *id_property, StringRef expected_name, StringRef expected_value)
 
static void blender::bke::idprop::tests::test_idprop (const IDProperty *id_property, StringRef expected_name, int32_t expected_value)
 
static void blender::bke::idprop::tests::test_idprop (const IDProperty *id_property, StringRef expected_name, float expected_value)
 
static void blender::bke::idprop::tests::test_idprop (const IDProperty *id_property, StringRef expected_name, double expected_value)
 
static void blender::bke::idprop::tests::test_idprop (const IDProperty *id_property, StringRef expected_name, const Vector< int32_t > &values)
 
static void blender::bke::idprop::tests::test_idprop (const IDProperty *id_property, StringRef expected_name, const Vector< float > &values)
 
static void blender::bke::idprop::tests::test_idprop (const IDProperty *id_property, StringRef expected_name, const Vector< double > &values)
 
template<typename Type >
static void blender::bke::idprop::tests::test_convert_idprop_from_value (StringRef input, StringRef expected_name, Type expected_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_string_from_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_int_from_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_float_from_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_double_from_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_array_int_from_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_array_float_from_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_array_double_from_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_multiple_from_value)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_multiple_roundtrip)
 
 blender::bke::idprop::tests::TEST (idprop, convert_idp_group_from_value)