diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-17 15:42:43 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-04-17 15:42:43 +0300 |
commit | 215086dfac687b1e4fd164292aac06c5066df3fd (patch) | |
tree | 89a04b2dac7272d178dd9c7e46941c90838fc19b | |
parent | 36ed196454df774f290c7bfd7e1af0ef052932a8 (diff) |
Add test file stubs to include them in coverage percentage
-rw-r--r-- | config/config_test.go | 17 | ||||
-rw-r--r-- | config/session_test.go | 17 | ||||
-rw-r--r-- | matrix/matrix_test.go | 17 | ||||
-rw-r--r-- | matrix/pushrules/rule_test.go | 17 | ||||
-rw-r--r-- | matrix/rooms/member_test.go | 17 | ||||
-rw-r--r-- | matrix/rooms/room_test.go | 17 | ||||
-rw-r--r-- | matrix/sync_test.go | 17 |
7 files changed, 119 insertions, 0 deletions
diff --git a/config/config_test.go b/config/config_test.go new file mode 100644 index 0000000..780ac6b --- /dev/null +++ b/config/config_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 <http://www.gnu.org/licenses/>. + +package config_test diff --git a/config/session_test.go b/config/session_test.go new file mode 100644 index 0000000..780ac6b --- /dev/null +++ b/config/session_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 <http://www.gnu.org/licenses/>. + +package config_test 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 <http://www.gnu.org/licenses/>. + +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 <http://www.gnu.org/licenses/>. + +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 <http://www.gnu.org/licenses/>. + +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 <http://www.gnu.org/licenses/>. + +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 <http://www.gnu.org/licenses/>. + +package matrix_test |