summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/fixtures/json/shared_ptr_diff.json (renamed from test/fixtures/json/shared_ptr1.json)0
-rw-r--r--test/fixtures/json/shared_ptr_diff_default.json (renamed from test/fixtures/json/shared_ptr3.json)0
-rw-r--r--test/fixtures/json/shared_ptr_same.json (renamed from test/fixtures/json/shared_ptr2.json)0
-rw-r--r--test/test-persistence.cpp12
4 files changed, 6 insertions, 6 deletions
diff --git a/test/fixtures/json/shared_ptr1.json b/test/fixtures/json/shared_ptr_diff.json
index bb18e33..bb18e33 100644
--- a/test/fixtures/json/shared_ptr1.json
+++ b/test/fixtures/json/shared_ptr_diff.json
diff --git a/test/fixtures/json/shared_ptr3.json b/test/fixtures/json/shared_ptr_diff_default.json
index 69f5e85..69f5e85 100644
--- a/test/fixtures/json/shared_ptr3.json
+++ b/test/fixtures/json/shared_ptr_diff_default.json
diff --git a/test/fixtures/json/shared_ptr2.json b/test/fixtures/json/shared_ptr_same.json
index 4115493..4115493 100644
--- a/test/fixtures/json/shared_ptr2.json
+++ b/test/fixtures/json/shared_ptr_same.json
diff --git a/test/test-persistence.cpp b/test/test-persistence.cpp
index f94ca81..05a02bb 100644
--- a/test/test-persistence.cpp
+++ b/test/test-persistence.cpp
@@ -199,9 +199,9 @@ struct SharedTestObject : public Persistence::Persistable {
}
};
-BOOST_FIXTURE_TEST_CASE(load_shared_object1, JPP)
+BOOST_FIXTURE_TEST_CASE(load_shared_object_diff, JPP)
{
- auto to = load_json<std::unique_ptr<SharedTestObject>>(FIXTURESDIR "json/shared_ptr1.json");
+ auto to = load_json<std::unique_ptr<SharedTestObject>>(FIXTURESDIR "json/shared_ptr_diff.json");
BOOST_CHECK(to->sptr);
BOOST_CHECK(to->ssptr);
BOOST_CHECK_NE(to->sptr, to->ssptr);
@@ -209,9 +209,9 @@ BOOST_FIXTURE_TEST_CASE(load_shared_object1, JPP)
BOOST_CHECK_EQUAL(to->ssptr.use_count(), 1);
}
-BOOST_FIXTURE_TEST_CASE(load_shared_object2, JPP)
+BOOST_FIXTURE_TEST_CASE(load_shared_object_same, JPP)
{
- auto to = load_json<std::unique_ptr<SharedTestObject>>(FIXTURESDIR "json/shared_ptr2.json");
+ auto to = load_json<std::unique_ptr<SharedTestObject>>(FIXTURESDIR "json/shared_ptr_same.json");
BOOST_CHECK(to->sptr);
BOOST_CHECK(to->ssptr);
BOOST_CHECK_EQUAL(to->sptr, to->ssptr);
@@ -219,9 +219,9 @@ BOOST_FIXTURE_TEST_CASE(load_shared_object2, JPP)
BOOST_CHECK_EQUAL(to->ssptr.use_count(), 2);
}
-BOOST_FIXTURE_TEST_CASE(load_shared_object3, JPP)
+BOOST_FIXTURE_TEST_CASE(load_shared_object_diff_default, JPP)
{
- auto to = load_json<std::unique_ptr<SharedTestObject>>(FIXTURESDIR "json/shared_ptr3.json");
+ auto to = load_json<std::unique_ptr<SharedTestObject>>(FIXTURESDIR "json/shared_ptr_diff_default.json");
BOOST_CHECK(to->sptr);
BOOST_CHECK(to->ssptr);
BOOST_CHECK_NE(to->sptr, to->ssptr);