changeset 31:ed9d3c27f687

Print name of offending output
author Chris Cannam
date Wed, 16 May 2012 12:02:16 +0100
parents ce9b2b9edfe2
children 054ccdae5ed7
files TestOutputs.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/TestOutputs.cpp	Thu Feb 10 13:22:25 2011 +0000
+++ b/TestOutputs.cpp	Wed May 16 12:02:16 2012 +0100
@@ -155,17 +155,17 @@
             switch (o.sampleType) {
             case Plugin::OutputDescriptor::OneSamplePerStep:
                 if (fe.hasTimestamp) {
-                    r.push_back(note("Plugin returns features with timestamps on OneSamplePerStep output"));
+                    r.push_back(note("Plugin returns features with timestamps on OneSamplePerStep output \"" + o.identifier + "\""));
                 }
                 if (fe.hasDuration) {
-                    r.push_back(note("Plugin returns features with durations on OneSamplePerStep output"));
+                    r.push_back(note("Plugin returns features with durations on OneSamplePerStep output \"" + o.identifier + "\""));
                 }
                 break;
             case Plugin::OutputDescriptor::FixedSampleRate:
                 break;
             case Plugin::OutputDescriptor::VariableSampleRate:
                 if (!fe.hasTimestamp) {
-                    r.push_back(error("Plugin returns features with no timestamps on VariableSampleRate output"));
+                    r.push_back(error("Plugin returns features with no timestamps on VariableSampleRate output \"" + o.identifier + "\""));
                 }
                 break;
             }