Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cloudooo
Commits
a95df145
Commit
a95df145
authored
Jun 08, 2011
by
Priscila Manhaes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed mutiples runUnitTest and set up only one for all handlers
parent
3af9d12a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
143 deletions
+7
-143
cloudooo/handler/ffmpeg/tests/runFFMPEGHandlerUnitTest.py
cloudooo/handler/ffmpeg/tests/runFFMPEGHandlerUnitTest.py
+0
-34
cloudooo/handler/imagemagick/tests/runImageMagickHandlerUnitTest.py
...andler/imagemagick/tests/runImageMagickHandlerUnitTest.py
+0
-34
cloudooo/handler/ooo/tests/runOOoHandlerUnitTest.py
cloudooo/handler/ooo/tests/runOOoHandlerUnitTest.py
+0
-34
cloudooo/handler/pdf/tests/runPDFHandlerUnitTest.py
cloudooo/handler/pdf/tests/runPDFHandlerUnitTest.py
+0
-34
cloudooo/tests/runHandlerUnitTest.py
cloudooo/tests/runHandlerUnitTest.py
+6
-3
setup.py
setup.py
+1
-4
No files found.
cloudooo/handler/ffmpeg/tests/runFFMPEGHandlerUnitTest.py
deleted
100644 → 0
View file @
3af9d12a
#!/usr/bin/env python
##############################################################################
#
# Copyright (c) 2009-2011 Nexedi SA and Contributors. All Rights Reserved.
# Gabriel M. Monnerat <gabriel@tiolive.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
from
cloudooo.tests
import
runHandlerUnitTest
def
run
():
runHandlerUnitTest
.
run
(
"ffmpeg"
)
cloudooo/handler/imagemagick/tests/runImageMagickHandlerUnitTest.py
deleted
100644 → 0
View file @
3af9d12a
#!/usr/bin/env python
##############################################################################
#
# Copyright (c) 2009-2011 Nexedi SA and Contributors. All Rights Reserved.
# Gabriel M. Monnerat <gabriel@tiolive.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
from
cloudooo.tests
import
runHandlerUnitTest
def
run
():
runHandlerUnitTest
.
run
(
"imagemagick"
)
cloudooo/handler/ooo/tests/runOOoHandlerUnitTest.py
deleted
100644 → 0
View file @
3af9d12a
#!/usr/bin/env python
##############################################################################
#
# Copyright (c) 2009-2010 Nexedi SA and Contributors. All Rights Reserved.
# Gabriel M. Monnerat <gabriel@tiolive.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
from
cloudooo.tests
import
runHandlerUnitTest
def
run
():
runHandlerUnitTest
.
run
(
"ooo"
)
cloudooo/handler/pdf/tests/runPDFHandlerUnitTest.py
deleted
100644 → 0
View file @
3af9d12a
#!/usr/bin/env python
##############################################################################
#
# Copyright (c) 2009-2010 Nexedi SA and Contributors. All Rights Reserved.
# Gabriel M. Monnerat <gabriel@tiolive.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software
# Service Company
#
# 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 2
# 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, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
from
cloudooo.tests
import
runHandlerUnitTest
def
run
():
runHandlerUnitTest
.
run
(
"pdf"
)
cloudooo/tests/runHandlerUnitTest.py
View file @
a95df145
...
@@ -27,8 +27,8 @@ def exit(msg):
...
@@ -27,8 +27,8 @@ def exit(msg):
sys
.
exit
(
0
)
sys
.
exit
(
0
)
def
run
(
handler_name
):
def
run
():
description
=
"Unit Test Runner for
%s Handler"
%
handler_name
.
capitalize
()
description
=
"Unit Test Runner for
Handlers"
parser
=
ArgumentParser
(
description
=
description
)
parser
=
ArgumentParser
(
description
=
description
)
parser
.
add_argument
(
'server_cloudooo_conf'
)
parser
.
add_argument
(
'server_cloudooo_conf'
)
parser
.
add_argument
(
'test_name'
)
parser
.
add_argument
(
'test_name'
)
...
@@ -38,8 +38,11 @@ def run(handler_name):
...
@@ -38,8 +38,11 @@ def run(handler_name):
parser
.
add_argument
(
'--paster_path'
,
dest
=
'paster_path'
,
parser
.
add_argument
(
'--paster_path'
,
dest
=
'paster_path'
,
default
=
'paster'
,
default
=
'paster'
,
help
=
"Path to Paster script"
)
help
=
"Path to Paster script"
)
parser
.
add_argument
(
'--handler'
,
dest
=
'handler'
,
type
=
str
,
help
=
"Cloudooo's Handler'"
)
namespace
=
parser
.
parse_args
()
namespace
=
parser
.
parse_args
()
environment_path
=
resource_filename
(
"cloudooo.handler.%s"
%
handler_name
,
environment_path
=
resource_filename
(
"cloudooo.handler.%s"
%
namespace
.
handler
,
"/tests"
)
"/tests"
)
server_cloudooo_conf
=
namespace
.
server_cloudooo_conf
server_cloudooo_conf
=
namespace
.
server_cloudooo_conf
test_name
=
namespace
.
test_name
test_name
=
namespace
.
test_name
...
...
setup.py
View file @
a95df145
...
@@ -53,9 +53,6 @@ setup(name='cloudooo',
...
@@ -53,9 +53,6 @@ setup(name='cloudooo',
[console_scripts]
[console_scripts]
cloudooo_tester = cloudooo.bin.cloudooo_tester:main
cloudooo_tester = cloudooo.bin.cloudooo_tester:main
echo_cloudooo_conf = cloudooo.bin.echo_cloudooo_conf:main
echo_cloudooo_conf = cloudooo.bin.echo_cloudooo_conf:main
runImageMagickHandlerUnitTest = cloudooo.handler.imagemagick.tests.runImageMagickHandlerUnitTest:run
runUnitTest = cloudooo.tests.runHandlerUnitTest:run
runFFMPEGHandlerUnitTest = cloudooo.handler.ffmpeg.tests.runFFMPEGHandlerUnitTest:run
runOOoHandlerUnitTest = cloudooo.handler.ooo.tests.runOOoHandlerUnitTest:run
runPDFHandlerUnitTest = cloudooo.handler.pdf.tests.runPDFHandlerUnitTest:run
"""
,
"""
,
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment