[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 09/11] check-qjson: enable disabled tests
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [PATCH 09/11] check-qjson: enable disabled tests |
Date: |
Mon, 9 Jan 2012 09:56:10 -0600 |
gtest does the right thing here so there's no need to comment these tests out.
Signed-off-by: Anthony Liguori <address@hidden>
---
check-qjson.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/check-qjson.c b/check-qjson.c
index 430f53b..526e25e 100644
--- a/check-qjson.c
+++ b/check-qjson.c
@@ -678,7 +678,6 @@ static void unterminated_dict_comma(void)
g_assert(obj == NULL);
}
-#if 0
static void invalid_dict_comma(void)
{
QObject *obj = qobject_from_json("{'abc':32,}");
@@ -690,7 +689,6 @@ static void unterminated_literal(void)
QObject *obj = qobject_from_json("nul");
g_assert(obj == NULL);
}
-#endif
int main(int argc, char **argv)
{
@@ -723,11 +721,8 @@ int main(int argc, char **argv)
g_test_add_func("/errors/unterminated/dict", unterminated_dict);
g_test_add_func("/errors/unterminated/dict_comma",
unterminated_dict_comma);
g_test_add_func("/errors/invalid_array_comma", invalid_array_comma);
-#if 0
- /* FIXME: this print parse error messages on stderr. */
g_test_add_func("/errors/invalid_dict_comma", invalid_dict_comma);
g_test_add_func("/errors/unterminated/literal", unterminated_literal);
-#endif
return g_test_run();
}
--
1.7.4.1
- [Qemu-devel] [PATCH 01/11] tests: mv tests/* -> tests/tcg, Anthony Liguori, 2012/01/09
- [Qemu-devel] [PATCH 05/11] check-qint: convert to gtest, Anthony Liguori, 2012/01/09
- [Qemu-devel] [PATCH 09/11] check-qjson: enable disabled tests,
Anthony Liguori <=
- [Qemu-devel] [PATCH 07/11] check-qlist: convert to gtest, Anthony Liguori, 2012/01/09
- [Qemu-devel] [PATCH 06/11] check-qstring: convert to gtest, Anthony Liguori, 2012/01/09
- [Qemu-devel] [PATCH 02/11] build: split unit test builds to a separate makefile fragment, Anthony Liguori, 2012/01/09
- [Qemu-devel] [PATCH 10/11] test: eliminate libcheck tests and have make check use gtester, Anthony Liguori, 2012/01/09
- [Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest, Anthony Liguori, 2012/01/09