[gtk-doc] scan: move more tests to unit tests



commit 6dea5d7190019f195275ebd696f0e2642423221b
Author: Stefan Sauer <ensonic users sf net>
Date:   Sat Dec 1 21:56:02 2018 +0100

    scan: move more tests to unit tests

 tests/bugs/docs/tester-sections.txt |  2 --
 tests/bugs/src/tester.c             | 57 -------------------------------------
 tests/bugs/src/tester.h             |  5 ----
 tests/scan.py                       |  2 ++
 4 files changed, 2 insertions(+), 64 deletions(-)
---
diff --git a/tests/bugs/docs/tester-sections.txt b/tests/bugs/docs/tester-sections.txt
index 338e31a..c39845c 100644
--- a/tests/bugs/docs/tester-sections.txt
+++ b/tests/bugs/docs/tester-sections.txt
@@ -15,8 +15,6 @@ Bug000000Scope
 bug_000000_va1
 BUG_000000_VA2
 BUG_000000_VA3
-bug_141869_a
-bug_141869_b
 bug_380824
 bug_419997
 bug_445693
diff --git a/tests/bugs/src/tester.c b/tests/bugs/src/tester.c
index 7be7be8..dae1253 100644
--- a/tests/bugs/src/tester.c
+++ b/tests/bugs/src/tester.c
@@ -20,38 +20,6 @@
 
 #include "tester.h"
 
-/**
- * bug_141869_a:
- * @pid: arg
- *
- * http://bugzilla.gnome.org/show_bug.cgi?id=141869
- */
-void bug_141869_a (unsigned pid) {
-  /* just silence a compiler warning */
-  bug_481811((double)pid);
-}
-
-/**
- * bug_141869_b:
- * @pid: arg
- *
- * http://bugzilla.gnome.org/show_bug.cgi?id=141869
- */
-void bug_141869_b (signed pid) {
-}
-
-
-/**
- * bug_379466:
- * @pid: arg
- *
- * http://bugzilla.gnome.org/show_bug.cgi?id=379466
- */
-void bug_379466 (int
-  pid) {
-}
-
-
 /**
  * bug_380824:
  * @arg: arg
@@ -68,19 +36,6 @@ int bug_380824 (int arg) {
 }
 
 
-/**
- * bug_411739:
- *
- * http://bugzilla.gnome.org/show_bug.cgi?id=411739
- *
- * Returns: result
- */
-struct bug_411739_rettype *
-bug_411739 (void) {
-  return NULL;
-}
-
-
 /**
  * bug_419997:
  * @const_values: arg
@@ -112,18 +67,6 @@ G_CONST_RETURN gchar* G_CONST_RETURN * bug_471014 (void) {
   return NULL;
 }
 
-
-/**
- * bug_552602:
- *
- * http://bugzilla.gnome.org/show_bug.cgi?id=552602
- *
- * Returns: result
- */
-const char* const * bug_552602 (void) {
-  return NULL;
-}
-
 /**
  * bug_574654a:
  *
diff --git a/tests/bugs/src/tester.h b/tests/bugs/src/tester.h
index ea72c28..7a7428f 100644
--- a/tests/bugs/src/tester.h
+++ b/tests/bugs/src/tester.h
@@ -63,11 +63,6 @@ struct _bug_460127 {
  */
 GLIB_VAR guint64 (*bug_477532) (void);
 
-
-
-void bug_141869_a (unsigned pid);
-void bug_141869_b (signed pid);
-
 int bug_380824 (int arg);
 
 void bug_419997 (int const_values);
diff --git a/tests/scan.py b/tests/scan.py
index ec836b9..0077cbd 100644
--- a/tests/scan.py
+++ b/tests/scan.py
@@ -45,6 +45,8 @@ BASIC_TYPES = [
     "long int",
     "signed long int",
     "unsigned long int",
+    "signed",
+    "unsigned",
     "float",
     "double",
     "long double",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]