tests: Add test panels for sidebar widget

Two tests for sidebar widget were added: one at the main
sidebar view, the other inside the Details category.
This commit is contained in:
Georges Basile Stavracas Neto 2018-11-16 15:16:34 -02:00
parent fdf22ad255
commit 896ff73c2b
No known key found for this signature in database
GPG key ID: 886C17EE170D1385
9 changed files with 166 additions and 3 deletions

View file

@ -31,13 +31,16 @@
#include "gtp-dynamic-panel.h"
#include "gtp-header-widget.h"
#include "gtp-sidebar-widget.h"
#include "gtp-static-init.h"
/* Test panels */
static CcPanelLoaderVtable test_panels[] = {
{ "dynamic-panel", gtp_dynamic_panel_get_type, NULL },
{ "header-widget", gtp_header_widget_get_type, NULL },
{ "static-init", gtp_static_init_get_type, gtp_static_init_func },
{ "dynamic-panel", gtp_dynamic_panel_get_type, NULL },
{ "header-widget", gtp_header_widget_get_type, NULL },
{ "sidebar-widget", gtp_sidebar_widget_get_type, NULL },
{ "static-init", gtp_static_init_get_type, gtp_static_init_func },
{ "toplevel-sidebar-widget", gtp_sidebar_widget_get_type, NULL },
};
static void