aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_file.cpp')
-rw-r--r--tests/test_file.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/test_file.cpp b/tests/test_file.cpp
index 9aae07fe..ef8c1b10 100644
--- a/tests/test_file.cpp
+++ b/tests/test_file.cpp
@@ -25,20 +25,11 @@
#include <tfile.h>
#include <cppunit/extensions/HelperMacros.h>
+#include "plainfile.h"
#include "utils.h"
using namespace TagLib;
-// File subclass that gives tests access to filesystem operations
-class PlainFile : public File {
-public:
- PlainFile(FileName name) : File(name) { }
- Tag *tag() const { return NULL; }
- AudioProperties *audioProperties() const { return NULL; }
- bool save(){ return false; }
- void truncate(long length) { File::truncate(length); }
-};
-
class TestFile : public CppUnit::TestFixture
{
CPPUNIT_TEST_SUITE(TestFile);