[gedit/wip/loader-saver: 18/58] Remove file loading and saving unit tests
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/loader-saver: 18/58] Remove file loading and saving unit tests
- Date: Sun, 6 Jul 2014 16:41:07 +0000 (UTC)
commit ae35f86e461babf423e7f010bf20fd7ab7568cac
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Jun 22 18:35:31 2014 +0200
Remove file loading and saving unit tests
The unit tests are in GtkSourceView.
tests/Makefile.am | 31 +--
tests/document-input-stream.c | 156 ---------
tests/document-loader.c | 265 --------------
tests/document-output-stream.c | 453 ------------------------
tests/document-saver.c | 750 ----------------------------------------
tests/setup-document-saver.sh | 27 --
6 files changed, 6 insertions(+), 1676 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 23d6aee..7a103ba 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -5,28 +5,9 @@ tests_progs_cppflags = \
tests_progs_cflags = $(GEDIT_CFLAGS)
tests_progs_ldadd = $(top_builddir)/gedit/libgedit.la $(GEDIT_LIBS)
-noinst_PROGRAMS += tests/document-input-stream
-tests_document_input_stream_SOURCES = tests/document-input-stream.c
-tests_document_input_stream_LDADD = $(tests_progs_ldadd)
-tests_document_input_stream_CPPFLAGS = $(tests_progs_cppflags)
-tests_document_input_stream_CFLAGS = $(tests_progs_cflags)
-
-noinst_PROGRAMS += tests/document-output-stream
-tests_document_output_stream_SOURCES = tests/document-output-stream.c
-tests_document_output_stream_LDADD = $(tests_progs_ldadd)
-tests_document_output_stream_CPPFLAGS = $(tests_progs_cppflags)
-tests_document_output_stream_CFLAGS = $(tests_progs_cflags)
-
-noinst_PROGRAMS += tests/document-loader
-tests_document_loader_SOURCES = tests/document-loader.c
-tests_document_loader_LDADD = $(tests_progs_ldadd)
-tests_document_loader_CPPFLAGS = $(tests_progs_cppflags)
-tests_document_loader_CFLAGS = $(tests_progs_cflags)
-
-noinst_PROGRAMS += tests/document-saver
-tests_document_saver_SOURCES = tests/document-saver.c
-tests_document_saver_LDADD = $(tests_progs_ldadd)
-tests_document_saver_CPPFLAGS = $(tests_progs_cppflags)
-tests_document_saver_CFLAGS = $(tests_progs_cflags)
-
-EXTRA_DIST += tests/setup-document-saver.sh
+# Just an example, for a future unit test.
+#noinst_PROGRAMS += tests/document-input-stream
+#tests_document_input_stream_SOURCES = tests/document-input-stream.c
+#tests_document_input_stream_LDADD = $(tests_progs_ldadd)
+#tests_document_input_stream_CPPFLAGS = $(tests_progs_cppflags)
+#tests_document_input_stream_CFLAGS = $(tests_progs_cflags)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]