From: Ramakrishnan Muthukrishnan Date: Wed, 26 Jul 2017 14:16:12 +0000 (+0530) Subject: tests: add license boilerplate X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/about/module-simplejson.decoder.html?a=commitdiff_plain;h=4861358f5573fb9ed27eda0dda72dd2ba1022e84;p=functorrent.git tests: add license boilerplate --- diff --git a/test/BencodeTests.hs b/test/BencodeTests.hs index 004234d..6949e79 100644 --- a/test/BencodeTests.hs +++ b/test/BencodeTests.hs @@ -1,3 +1,22 @@ +{- + - Copyright (C) 2015-2016 Ramakrishnan Muthukrishnan + - + - This file is part of FuncTorrent. + - + - FuncTorrent 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. + - + - FuncTorrent 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 FuncTorrent; if not, see + -} + module BencodeTests (tests) where import FuncTorrent.Bencode (encode, decode, BVal(..)) diff --git a/test/MetainfoTests.hs b/test/MetainfoTests.hs index f27486f..86aa0ff 100644 --- a/test/MetainfoTests.hs +++ b/test/MetainfoTests.hs @@ -1,5 +1,24 @@ -- | Tests for Metainfo module +{- + - Copyright (C) 2015-2016 Ramakrishnan Muthukrishnan + - + - This file is part of FuncTorrent. + - + - FuncTorrent 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. + - + - FuncTorrent 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 FuncTorrent; if not, see + -} + module MetainfoTests where import Prelude hiding (readFile)