Signed-off-by: Aníbal Limón <[email protected]> --- bin/toaster-test | 17 +++++++++++++++++ lib/toaster/tests/base.py | 17 +++++++++++++++++ lib/toaster/tests/helpers.py | 14 ++++++++++++++ lib/toaster/tests/setup.py | 17 +++++++++++++++++ lib/toaster/tests/ui.py | 17 ++++++++++++++++- 5 files changed, 81 insertions(+), 1 deletion(-)
diff --git a/bin/toaster-test b/bin/toaster-test index b0c26dc..d256629 100755 --- a/bin/toaster-test +++ b/bin/toaster-test @@ -1,5 +1,22 @@ #!/usr/bin/env python +# Toaster test runner +# +# Copyright (C) 2015-2016 Intel Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# 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, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + import sys import os import argparse diff --git a/lib/toaster/tests/base.py b/lib/toaster/tests/base.py index 8b303ac..3c13612 100644 --- a/lib/toaster/tests/base.py +++ b/lib/toaster/tests/base.py @@ -1,3 +1,20 @@ +# Toaster tests base class +# +# Copyright (C) 2016 Intel Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# 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, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + import unittest class ToasterOptions(object): diff --git a/lib/toaster/tests/helpers.py b/lib/toaster/tests/helpers.py index 549358b..ed152b2 100755 --- a/lib/toaster/tests/helpers.py +++ b/lib/toaster/tests/helpers.py @@ -1,7 +1,21 @@ #!/usr/bin/env python +# Toaster helper for clone/setup/start/stop +# # Copyright (C) 2016 Intel Corporation # +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# 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, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. import subprocess import os diff --git a/lib/toaster/tests/setup.py b/lib/toaster/tests/setup.py index 0acbb16..725e858 100644 --- a/lib/toaster/tests/setup.py +++ b/lib/toaster/tests/setup.py @@ -1,3 +1,20 @@ +# Toaster setup test case +# +# Copyright (C) 2015-2016 Intel Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# 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, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + import time from selenium import webdriver diff --git a/lib/toaster/tests/ui.py b/lib/toaster/tests/ui.py index cb11184..74dc9ce 100644 --- a/lib/toaster/tests/ui.py +++ b/lib/toaster/tests/ui.py @@ -1,4 +1,19 @@ -# Copyright +# Toaster UI/Backend test cases +# +# Copyright (C) 2015-2016 Intel Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# 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, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # DESCRIPTION # This is toaster automation base class and test cases file -- 2.1.4 -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
