From 7adea3df229e81ebde0de3d0481fb21aa7237b41 Mon Sep 17 00:00:00 2001
From: Tsuda Kageyu <tsuda.kageyu@gmail.com>
Date: Thu, 1 Jan 2015 23:18:43 +0900
Subject: [PATCH] Separate tests for fuzzed WAV files.

---
 tests/test_wav.cpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/test_wav.cpp b/tests/test_wav.cpp
index 72efe4f6..7367357a 100644
--- a/tests/test_wav.cpp
+++ b/tests/test_wav.cpp
@@ -15,7 +15,8 @@ class TestWAV : public CppUnit::TestFixture
   CPPUNIT_TEST(testLength);
   CPPUNIT_TEST(testZeroSizeDataChunk);
   CPPUNIT_TEST(testStripTags);
-  CPPUNIT_TEST(testFuzzedFiles);
+  CPPUNIT_TEST(testFuzzedFile1);
+  CPPUNIT_TEST(testFuzzedFile2);
   CPPUNIT_TEST_SUITE_END();
 
 public:
@@ -70,11 +71,14 @@ public:
     delete f;
   }
 
-  void testFuzzedFiles()
+  void testFuzzedFile1()
   {
     RIFF::WAV::File f1(TEST_FILE_PATH_C("infloop.wav"));
     CPPUNIT_ASSERT(!f1.isValid());
+  }
 
+  void testFuzzedFile2()
+  {
     RIFF::WAV::File f2(TEST_FILE_PATH_C("segfault.wav"));
     CPPUNIT_ASSERT(f2.isValid());
   }
-- 
2.40.0