From 215086dfac687b1e4fd164292aac06c5066df3fd Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 17 Apr 2018 15:42:43 +0300 Subject: Add test file stubs to include them in coverage percentage --- matrix/matrix_test.go | 17 +++++++++++++++++ matrix/pushrules/rule_test.go | 17 +++++++++++++++++ matrix/rooms/member_test.go | 17 +++++++++++++++++ matrix/rooms/room_test.go | 17 +++++++++++++++++ matrix/sync_test.go | 17 +++++++++++++++++ 5 files changed, 85 insertions(+) create mode 100644 matrix/matrix_test.go create mode 100644 matrix/pushrules/rule_test.go create mode 100644 matrix/rooms/member_test.go create mode 100644 matrix/rooms/room_test.go create mode 100644 matrix/sync_test.go (limited to 'matrix') diff --git a/matrix/matrix_test.go b/matrix/matrix_test.go new file mode 100644 index 0000000..c5acda8 --- /dev/null +++ b/matrix/matrix_test.go @@ -0,0 +1,17 @@ +// gomuks - A terminal Matrix client written in Go. +// Copyright (C) 2018 Tulir Asokan +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +package matrix_test diff --git a/matrix/pushrules/rule_test.go b/matrix/pushrules/rule_test.go new file mode 100644 index 0000000..e8b56f4 --- /dev/null +++ b/matrix/pushrules/rule_test.go @@ -0,0 +1,17 @@ +// gomuks - A terminal Matrix client written in Go. +// Copyright (C) 2018 Tulir Asokan +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +package pushrules_test diff --git a/matrix/rooms/member_test.go b/matrix/rooms/member_test.go new file mode 100644 index 0000000..c3a4cfe --- /dev/null +++ b/matrix/rooms/member_test.go @@ -0,0 +1,17 @@ +// gomuks - A terminal Matrix client written in Go. +// Copyright (C) 2018 Tulir Asokan +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +package rooms_test diff --git a/matrix/rooms/room_test.go b/matrix/rooms/room_test.go new file mode 100644 index 0000000..c3a4cfe --- /dev/null +++ b/matrix/rooms/room_test.go @@ -0,0 +1,17 @@ +// gomuks - A terminal Matrix client written in Go. +// Copyright (C) 2018 Tulir Asokan +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +package rooms_test diff --git a/matrix/sync_test.go b/matrix/sync_test.go new file mode 100644 index 0000000..c5acda8 --- /dev/null +++ b/matrix/sync_test.go @@ -0,0 +1,17 @@ +// gomuks - A terminal Matrix client written in Go. +// Copyright (C) 2018 Tulir Asokan +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +package matrix_test -- cgit v1.2.3