# HG changeset patch # User Chris Cannam # Date 1337166136 -3600 # Node ID ed9d3c27f6871e0964fe60e7c8788266f892539c # Parent ce9b2b9edfe2d19f015cae277363496ed2a392c3 Print name of offending output diff -r ce9b2b9edfe2 -r ed9d3c27f687 TestOutputs.cpp --- 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; }