mutter/src/tests/meta-thread-impl-test.c
Jonas Ådahl 2e025eea0e tests: Add MetaThread tests
Tests posting sync tasks, posting callbacks, adding impl side fd
sources, callback flushing, impl side idle callbacks.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2777>
2023-07-17 12:51:35 +02:00

42 lines
1.1 KiB
C

/*
* Copyright (C) 2021 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program 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
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
*/
#include "config.h"
#include "tests/meta-thread-impl-test.h"
struct _MetaThreadImplTest
{
MetaThreadImpl parent;
};
G_DEFINE_TYPE (MetaThreadImplTest, meta_thread_impl_test,
META_TYPE_THREAD_IMPL)
static void
meta_thread_impl_test_init (MetaThreadImplTest *thread_impl_test)
{
}
static void
meta_thread_impl_test_class_init (MetaThreadImplTestClass *klass)
{
}