Warning, file /jana2/src/programs/unit_tests/Components/JObjectTests.cc was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005 #include "catch.hpp"
0006
0007 #include <JANA/JObject.h>
0008
0009 class SillyObject : public JObject {
0010 public:
0011 JOBJECT_PUBLIC(SillyObject)
0012 };
0013
0014 TEST_CASE("JObject::className") {
0015 SillyObject sut;
0016 REQUIRE(sut.static_className() == "SillyObject");
0017 REQUIRE(sut.className() == "SillyObject");
0018 }
0019