#include "Core/Reflection/Serialization/TextReader.h" #include "Core/Reflection/Serialization/TextWriter.h" #include "Core/Strings/AStackString.h" #include "Core/Tracing/Tracing.h" // system #include <memory.h> // TestReflection //------------------------------------------------------------------------------ class TestReflection : public UnitTest { public: TestReflection() { BIND_REFLECTION( TestObject ) BIND_REFLECTION( TestStruct ) } private: DECLARE_TESTS void TestGetSet() const; void TestSerialization() const; void TestInheritence() const; void MetaData() const; }; // Register Tests //------------------------------------------------------------------------------ REGISTER_TESTS_BEGIN( TestReflection )
// BindReflection_Core //------------------------------------------------------------------------------ void BindReflection_Core() { BIND_REFLECTION( RefObject ); BIND_REFLECTION( Object ); BIND_REFLECTION( Container ); }