aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJonas Kvinge <jonas@jkvinge.net>2019-08-26 23:23:33 +0200
committerJonas Kvinge <jonas@jkvinge.net>2019-08-26 23:23:33 +0200
commite72a98903f34c9802907dfc8fd3fba16b9d2dc86 (patch)
tree233196f745e5db1cfa5c1bddfb464435fbe0db83 /tests
parent79bc9ccf8ea5606da2a86e1bfb5439e73a146272 (diff)
Fix spelling and typos
Diffstat (limited to 'tests')
-rw-r--r--tests/test_fileref.cpp6
-rw-r--r--tests/test_id3v2.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_fileref.cpp b/tests/test_fileref.cpp
index 8394b875..afdc140c 100644
--- a/tests/test_fileref.cpp
+++ b/tests/test_fileref.cpp
@@ -292,12 +292,12 @@ public:
{
fileRefSave<RIFF::AIFF::File>("alaw", ".aifc");
}
-
+
void testDSF()
{
fileRefSave<DSF::File>("empty10ms",".dsf");
}
-
+
void testDSDIFF()
{
fileRefSave<DSDIFF::File>("empty10ms",".dff");
@@ -314,7 +314,7 @@ public:
void testCreate()
{
- // This is depricated. But worth it to test.
+ // This is deprecated. But worth it to test.
File *f = FileRef::create(TEST_FILE_PATH_C("empty_vorbis.oga"));
CPPUNIT_ASSERT(dynamic_cast<Ogg::Vorbis::File*>(f));
diff --git a/tests/test_id3v2.cpp b/tests/test_id3v2.cpp
index 8c6f67dc..0e36d77f 100644
--- a/tests/test_id3v2.cpp
+++ b/tests/test_id3v2.cpp
@@ -56,8 +56,8 @@ class PublicFrame : public ID3v2::Frame
public:
PublicFrame() : ID3v2::Frame(ByteVector("XXXX\0\0\0\0\0\0", 10)) {}
String readStringField(const ByteVector &data, String::Type encoding,
- int *positon = 0)
- { return ID3v2::Frame::readStringField(data, encoding, positon); }
+ int *position = 0)
+ { return ID3v2::Frame::readStringField(data, encoding, position); }
virtual String toString() const { return String(); }
virtual void parseFields(const ByteVector &) {}
virtual ByteVector renderFields() const { return ByteVector(); }