summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-10-12 15:42:19 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-11-02 18:19:30 +0100
commitd78ab6795616cb131a3467141d7635f70f4face9 (patch)
treec397713779dda5b34dfb54e5871014d5778998e3 /tests
parentd51c1e99b982ea7dc884d8e4cc6f7780911266fd (diff)
Add crate for ui-tests
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/Cargo.toml18
-rw-r--r--tests/ui/README.md13
-rw-r--r--tests/ui/src/imag.rs19
-rw-r--r--tests/ui/src/imag_annotate.rs19
-rw-r--r--tests/ui/src/imag_bookmark.rs19
-rw-r--r--tests/ui/src/imag_calendar.rs19
-rw-r--r--tests/ui/src/imag_category.rs19
-rw-r--r--tests/ui/src/imag_contact.rs19
-rw-r--r--tests/ui/src/imag_create.rs19
-rw-r--r--tests/ui/src/imag_diagnostics.rs19
-rw-r--r--tests/ui/src/imag_diary.rs19
-rw-r--r--tests/ui/src/imag_edit.rs19
-rw-r--r--tests/ui/src/imag_git.rs19
-rw-r--r--tests/ui/src/imag_gps.rs19
-rw-r--r--tests/ui/src/imag_grep.rs19
-rw-r--r--tests/ui/src/imag_habit.rs19
-rw-r--r--tests/ui/src/imag_header.rs19
-rw-r--r--tests/ui/src/imag_id_in_collection.rs19
-rw-r--r--tests/ui/src/imag_ids.rs19
-rw-r--r--tests/ui/src/imag_init.rs19
-rw-r--r--tests/ui/src/imag_link.rs19
-rw-r--r--tests/ui/src/imag_log.rs19
-rw-r--r--tests/ui/src/imag_mail.rs19
-rw-r--r--tests/ui/src/imag_markdown.rs19
-rw-r--r--tests/ui/src/imag_mv.rs19
-rw-r--r--tests/ui/src/imag_notes.rs19
-rw-r--r--tests/ui/src/imag_ref.rs19
-rw-r--r--tests/ui/src/imag_store.rs19
-rw-r--r--tests/ui/src/imag_tag.rs19
-rw-r--r--tests/ui/src/imag_timetrack.rs19
-rw-r--r--tests/ui/src/imag_todo.rs19
-rw-r--r--tests/ui/src/imag_view.rs19
-rw-r--r--tests/ui/src/imag_wiki.rs19
-rw-r--r--tests/ui/src/lib.rs63
34 files changed, 683 insertions, 0 deletions
diff --git a/tests/ui/Cargo.toml b/tests/ui/Cargo.toml
new file mode 100644
index 00000000..d5595ca0
--- /dev/null
+++ b/tests/ui/Cargo.toml
@@ -0,0 +1,18 @@
+[package]
+name = "tests-ui"
+version = "0.10.0"
+authors = ["Matthias Beyer <mail@beyermatthias.de>"]
+edition = "2018"
+
+# We do not publish this crate because it contains tests which should only be
+# available during development and CI runs, but there's nothing that a user of
+# any imag command might need, ever.
+publish = false
+
+[dependencies]
+assert_cmd = "0.11"
+assert_fs = "0.11"
+duct = "0.13"
+env_logger = "0.7"
+log = "0.4"
+predicates = "1"
diff --git a/tests/ui/README.md b/tests/ui/README.md
new file mode 100644
index 00000000..4cbe40ac
--- /dev/null
+++ b/tests/ui/README.md
@@ -0,0 +1,13 @@
+# UI testing
+
+This crate is just a helper crate for CI runs and development. It contains
+test code which tests the actual imag binaries and their user interfaces and
+behaviour.
+
+Tests are automatically done in temporary directories.
+The test setup removes these testing directories after tests have run.
+To prevent this, set `IMAG_UI_TEST_PERSIST`.
+
+Use the normal `RUST_LOG` functionality for logging (or see the documentation
+for the `env_logger` crate).
+
diff --git a/tests/ui/src/imag.rs b/tests/ui/src/imag.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_annotate.rs b/tests/ui/src/imag_annotate.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_annotate.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_bookmark.rs b/tests/ui/src/imag_bookmark.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_bookmark.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_calendar.rs b/tests/ui/src/imag_calendar.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_calendar.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_category.rs b/tests/ui/src/imag_category.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_category.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_contact.rs b/tests/ui/src/imag_contact.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_contact.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_create.rs b/tests/ui/src/imag_create.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_create.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_diagnostics.rs b/tests/ui/src/imag_diagnostics.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_diagnostics.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_diary.rs b/tests/ui/src/imag_diary.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_diary.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_edit.rs b/tests/ui/src/imag_edit.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_edit.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_git.rs b/tests/ui/src/imag_git.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_git.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_gps.rs b/tests/ui/src/imag_gps.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_gps.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_grep.rs b/tests/ui/src/imag_grep.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_grep.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_habit.rs b/tests/ui/src/imag_habit.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_habit.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_header.rs b/tests/ui/src/imag_header.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_header.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_id_in_collection.rs b/tests/ui/src/imag_id_in_collection.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_id_in_collection.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_ids.rs b/tests/ui/src/imag_ids.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_ids.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_init.rs b/tests/ui/src/imag_init.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_init.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_link.rs b/tests/ui/src/imag_link.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_link.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_log.rs b/tests/ui/src/imag_log.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_log.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_mail.rs b/tests/ui/src/imag_mail.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_mail.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_markdown.rs b/tests/ui/src/imag_markdown.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_markdown.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_mv.rs b/tests/ui/src/imag_mv.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_mv.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_notes.rs b/tests/ui/src/imag_notes.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_notes.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_ref.rs b/tests/ui/src/imag_ref.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_ref.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_store.rs b/tests/ui/src/imag_store.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_store.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias Beyer <mail@beyermatthias.de> and contributors
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; version
+// 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
diff --git a/tests/ui/src/imag_tag.rs b/tests/ui/src/imag_tag.rs
new file mode 100644
index 00000000..987eadc5
--- /dev/null
+++ b/tests/ui/src/imag_tag.rs
@@ -0,0 +1,19 @@
+//
+// imag - the personal information management suite for the commandline
+// Copyright (C) 2015-2019 Matthias