From 1cebe105ca3d2a1d4c23fa0ed33af6a79dbf4fec Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Sun, 8 Jul 2012 11:14:52 -0400 Subject: tests/: add forgotten test data Add it to EXTRA_DIST in the Makefile.am as well. --- tests/Makefile.am | 10 +++++++++- tests/gvdbs/nested_gvdb | Bin 0 -> 371 bytes tests/profile/broken-profile | 2 ++ tests/profile/colourful | 13 +++++++++++++ tests/profile/dos | 2 ++ tests/profile/empty-profile | 0 tests/profile/many-sources | 10 ++++++++++ tests/profile/no-newline-longline | 1 + tests/profile/test-profile | 1 + 9 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 tests/gvdbs/nested_gvdb create mode 100644 tests/profile/broken-profile create mode 100644 tests/profile/colourful create mode 100644 tests/profile/dos create mode 100644 tests/profile/empty-profile create mode 100644 tests/profile/many-sources create mode 100644 tests/profile/no-newline-longline create mode 100644 tests/profile/test-profile (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 3c51359..6e6b415 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -48,7 +48,8 @@ EXTRA_DIST = \ gvdbs/example_gvdb.big-endian \ gvdbs/file_empty \ gvdbs/file_too_small \ - gvdbs/invalid_header + gvdbs/invalid_header \ + gvdbs/nested_gvdb TEST_PROGS += gdbus-thread gdbus_thread_CFLAGS = $(AM_CFLAGS) -DDBUS_BACKEND=\"/gdbus/thread\" @@ -72,4 +73,11 @@ TEST_PROGS += client client_LDADD = $(stub_client_LIBS) $(gio_LIBS) client_SOURCES = client.c EXTRA_DIST += \ + profile/broken-profile \ + profile/colourful \ + profile/dos \ + profile/empty-profile \ + profile/many-sources \ + profile/no-newline-longline \ + profile/test-profile \ profile/will-never-exist diff --git a/tests/gvdbs/nested_gvdb b/tests/gvdbs/nested_gvdb new file mode 100644 index 0000000..b593e38 Binary files /dev/null and b/tests/gvdbs/nested_gvdb differ diff --git a/tests/profile/broken-profile b/tests/profile/broken-profile new file mode 100644 index 0000000..d293cf0 --- /dev/null +++ b/tests/profile/broken-profile @@ -0,0 +1,2 @@ +a b c d e +f g h i j diff --git a/tests/profile/colourful b/tests/profile/colourful new file mode 100644 index 0000000..5a69bb5 --- /dev/null +++ b/tests/profile/colourful @@ -0,0 +1,13 @@ +# this is an interesting dconf profile file + # it shows some of the possible weird things you can do + + user-db:user # comments can be like this + +# we can have comments that are extremely long. we can have comments that are extremely long.we can have comments that are extremely long.we can have comments that are extremely long.we can have comments that are extremely long.we can have comments that are extremely long.we can have comments that are extremely long.we can have comments that are extremely long. + + system-db:other # we can have comments that are extremely long. we can have comments that are extremely long.we can have comments that are extremely long.we can have comments that are extremely long.we can have comments that are extremely long.we can have comments that are extremely long.we can have comments that are extremely long.we can have comments that are extremely long. + +system-db:verylongnameverylongnameverylongnameverylongnameverylongnameverylongnameverylongnameverylongnameverylongnameverylongnameverylongnameverylongname + +# there is no newline after this last line +system-db:nonewline \ No newline at end of file diff --git a/tests/profile/dos b/tests/profile/dos new file mode 100644 index 0000000..cc38458 --- /dev/null +++ b/tests/profile/dos @@ -0,0 +1,2 @@ +user-db:user +system-db:site diff --git a/tests/profile/empty-profile b/tests/profile/empty-profile new file mode 100644 index 0000000..e69de29 diff --git a/tests/profile/many-sources b/tests/profile/many-sources new file mode 100644 index 0000000..15fe5ca --- /dev/null +++ b/tests/profile/many-sources @@ -0,0 +1,10 @@ +user-db:user +system-db:local +system-db:room +system-db:floor +system-db:building +system-db:site +system-db:region +system-db:division +system-db:country +system-db:global diff --git a/tests/profile/no-newline-longline b/tests/profile/no-newline-longline new file mode 100644 index 0000000..93193aa --- /dev/null +++ b/tests/profile/no-newline-longline @@ -0,0 +1 @@ +# this long line has no newline at the end. this long line has no newline at the end. this long line has no newline at the end. this long line has no newline at the end. this long line has no newline at the end. this long line has no newline at the end. this long line has no newline at the end. this long line has no newline at the end. \ No newline at end of file diff --git a/tests/profile/test-profile b/tests/profile/test-profile new file mode 100644 index 0000000..3a511c2 --- /dev/null +++ b/tests/profile/test-profile @@ -0,0 +1 @@ +user-db:test -- cgit v1.2.1