mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 02:28:05 +00:00
c9579ab21b
We can ensure better that it works as expected repeating all the device tests for it too. The nice part is that we can just do this by re-defininig its GType as the gtype of the loaded driver.
26 lines
991 B
C
26 lines
991 B
C
/*
|
|
* Unit tests for libfprint
|
|
* Copyright (C) 2020 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 <glib.h>
|
|
#include "test-utils.h"
|
|
|
|
FptContext * fpt_context_new_with_fake_dev (void);
|
|
|
|
FptContext * fpt_context_fake_dev_default (void);
|