From 965260e3cb75c150067c885c0326befe90a780f9 Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Sun, 30 Jul 2023 06:55:23 +0200 Subject: [PATCH] Add a note about how I generated list of classes --- tests/test_sizes.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_sizes.cpp b/tests/test_sizes.cpp index 313959d0..8c47239e 100644 --- a/tests/test_sizes.cpp +++ b/tests/test_sizes.cpp @@ -140,6 +140,9 @@ class TestSizes : public CppUnit::TestFixture public: void testSizes() { + // Class list was built by generating XML docs with Doxygen, and then running: + // $ grep kind=\"class\" index.xml | sed -E -e 's/(.*|<\/name>.*)//g' + CPPUNIT_ASSERT_EQUAL(classSize(1, true), sizeof(TagLib::APE::File)); CPPUNIT_ASSERT_EQUAL(classSize(0, true), sizeof(TagLib::APE::Footer)); CPPUNIT_ASSERT_EQUAL(classSize(0, true), sizeof(TagLib::APE::Item));