1 /* 2 * Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/> 3 * (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com> 4 * 5 * This file is part of lsp-plugins 6 * Created on: 24 авг. 2018 г. 7 * 8 * lsp-plugins is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU Lesser General Public License as published by 10 * the Free Software Foundation, either version 3 of the License, or 11 * any later version. 12 * 13 * lsp-plugins is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public License 19 * along with lsp-plugins. If not, see <https://www.gnu.org/licenses/>. 20 */ 21 22 #include <test/mtest.h> 23 #include <string.h> 24 #include <stdarg.h> 25 26 namespace test 27 { 28 ManualTest *ManualTest::__root = NULL; 29 ManualTest(const char * group,const char * name)30 ManualTest::ManualTest(const char *group, const char *name): Test(group, name) 31 { 32 // Self-register 33 __next = __root; 34 __root = this; 35 } 36 ~ManualTest()37 ManualTest::~ManualTest() 38 { 39 } 40 mtest_init()41 ManualTest *mtest_init() 42 { 43 return ManualTest::__root; 44 } 45 46 } 47 48 49