tests: Add TOD unit tests re-using the fake-driver

This commit is contained in:
Marco Trevisan (Treviño)
2019-12-17 03:51:39 +01:00
parent 29be067297
commit d998fb436e
5 changed files with 466 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
/*
* Virtual driver for device debugging
*
* Copyright (C) 2019 Marco Trevisan <marco.trevisan@canonical.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "test-device-fake-tod.h"
#include "test-device-fake.h"
GType
fpi_tod_shared_driver_get_type (void)
{
return fpi_device_fake_get_type ();
}