annotate TestDefaults.h @ 80:f84e12a1553c tip

Update server certificate fingerprints
author Chris Cannam
date Wed, 14 Aug 2019 14:58:48 +0100
parents f1e8e14e9c96
children
rev   line source
cannam@5 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
cannam@5 2
cannam@5 3 /*
cannam@5 4 Vamp Plugin Tester
cannam@5 5 Chris Cannam, cannam@all-day-breakfast.com
cannam@5 6 Centre for Digital Music, Queen Mary, University of London.
Chris@42 7 Copyright 2009-2014 QMUL.
cannam@5 8
cannam@5 9 This program loads a Vamp plugin and tests its susceptibility to a
cannam@5 10 number of common pitfalls, including handling of extremes of input
cannam@5 11 data. If you can think of any additional useful tests that are
cannam@5 12 easily added, please send them to me.
cannam@5 13
cannam@5 14 Permission is hereby granted, free of charge, to any person
cannam@5 15 obtaining a copy of this software and associated documentation
cannam@5 16 files (the "Software"), to deal in the Software without
cannam@5 17 restriction, including without limitation the rights to use, copy,
cannam@5 18 modify, merge, publish, distribute, sublicense, and/or sell copies
cannam@5 19 of the Software, and to permit persons to whom the Software is
cannam@5 20 furnished to do so, subject to the following conditions:
cannam@5 21
cannam@5 22 The above copyright notice and this permission notice shall be
cannam@5 23 included in all copies or substantial portions of the Software.
cannam@5 24
cannam@5 25 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
cannam@5 26 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
cannam@5 27 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
cannam@5 28 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
cannam@5 29 ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
cannam@5 30 CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
cannam@5 31 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
cannam@5 32
cannam@5 33 Except as contained in this notice, the names of the Centre for
cannam@5 34 Digital Music; Queen Mary, University of London; and Chris Cannam
cannam@5 35 shall not be used in advertising or otherwise to promote the sale,
cannam@5 36 use or other dealings in this Software without prior written
cannam@5 37 authorization.
cannam@5 38 */
cannam@5 39
cannam@5 40 #ifndef _TEST_DEFAULTS_H_
cannam@5 41 #define _TEST_DEFAULTS_H_
cannam@5 42
cannam@5 43 #include "Test.h"
cannam@5 44 #include "Tester.h"
cannam@5 45
cannam@5 46 class TestDefaultProgram : public Test
cannam@5 47 {
cannam@5 48 public:
cannam@5 49 TestDefaultProgram() : Test() { }
cannam@8 50 Results test(std::string key, Options options);
cannam@5 51
cannam@5 52 protected:
cannam@5 53 static Tester::TestRegistrar<TestDefaultProgram> m_registrar;
cannam@5 54 };
cannam@5 55
cannam@5 56 class TestDefaultParameters : public Test
cannam@5 57 {
cannam@5 58 public:
cannam@5 59 TestDefaultParameters() : Test() { }
cannam@8 60 Results test(std::string key, Options options);
cannam@5 61
cannam@5 62 protected:
cannam@5 63 static Tester::TestRegistrar<TestDefaultParameters> m_registrar;
cannam@5 64 };
cannam@5 65
Chris@34 66 class TestParametersOnReset : public Test
Chris@34 67 {
Chris@34 68 public:
Chris@34 69 TestParametersOnReset() : Test() { }
Chris@34 70 Results test(std::string key, Options options);
Chris@34 71
Chris@34 72 protected:
Chris@34 73 static Tester::TestRegistrar<TestParametersOnReset> m_registrar;
Chris@34 74 };
Chris@34 75
cannam@5 76 #endif