[galette-commits] [GIT] galette/galette.git branch, develop, updated. 0.7.3-19-g6ceb899 |
[ Thread Index |
Date Index
| More lists.galette.eu/commits Archives
]
This is an automated email from git. It was enerated because a ref
change was pushed to the repository "galette/galette.git".
The branch, develop has been updated
via 6ceb899e844cdedc181fcf29345fbca80393eb8c (commit)
from 6a24ea60dbaf6d704eba2f12bef8aad95725326e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6ceb899e844cdedc181fcf29345fbca80393eb8c
Author: Johan Cwiklinski <johan@xxxxxxxx>
Date: Sun Jan 13 20:40:22 2013 +0100
First add of Unit Tests into Galette; refs #454
Plugins, I18n and Separator are tested, but not with a
100% coverage yet. A README file in tests directory
explain how to run.
A travis configuration file for continuous integration has also been added.
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 6 +
.travis.yml | 10 +-
bin/install_deps | 4 +
bin/tests | 5 +
galette/includes/galette.inc.php | 9 +-
tests/Galette/Core/tests/units/I18n.php | 211 ++++++++++++++++++
tests/Galette/Core/tests/units/Plugins.php | 226 ++++++++++++++++++++
.../DynamicFieldsTypes/tests/units/Separator.php | 61 +++---
tests/README | 19 ++
tests/TestsBootstrap.php | 33 +++
tests/config/mysql-config.inc.php | 8 +
tests/config/pgsql-config.inc.php | 8 +
tests/config/sqlite-config.inc.php | 8 +
.../includes/session.inc.php => tests/coverage.php | 39 ++--
.../plugins/plugin-db/_define.php | 31 ++--
tests/plugins/plugin-db/sql/mysql.sql | 7 +
tests/plugins/plugin-db/sql/pgsql.sql | 16 ++
.../plugins/plugin-disabled/_define.php | 31 ++--
.../plugins/plugin-oldversion/_define.php | 31 ++--
.../plugins/plugin-test1/_define.php | 31 ++--
.../plugins/plugin-test1/_smarties.php | 27 +--
.../plugin-test1/templates/default/headers.tpl | 2 +
.../plugin-test1/templates/default/menu.tpl | 7 +
.../plugins/plugin-test2/_define.php | 31 ++--
.../plugins/plugin-unversionned/_define.php | 31 ++--
25 files changed, 724 insertions(+), 168 deletions(-)
create mode 100755 bin/install_deps
create mode 100755 bin/tests
create mode 100644 tests/Galette/Core/tests/units/I18n.php
create mode 100644 tests/Galette/Core/tests/units/Plugins.php
copy galette/lib/Galette/DynamicFieldsTypes/Choice.php => tests/Galette/DynamicFieldsTypes/tests/units/Separator.php (58%)
create mode 100644 tests/README
create mode 100755 tests/TestsBootstrap.php
create mode 100644 tests/config/mysql-config.inc.php
create mode 100644 tests/config/pgsql-config.inc.php
create mode 100644 tests/config/sqlite-config.inc.php
copy galette/includes/session.inc.php => tests/coverage.php (61%)
copy galette/includes/session.inc.php => tests/plugins/plugin-db/_define.php (64%)
create mode 100644 tests/plugins/plugin-db/sql/mysql.sql
create mode 100644 tests/plugins/plugin-db/sql/pgsql.sql
copy galette/includes/session.inc.php => tests/plugins/plugin-disabled/_define.php (64%)
create mode 100644 tests/plugins/plugin-disabled/_disabled
copy galette/includes/session.inc.php => tests/plugins/plugin-oldversion/_define.php (64%)
copy galette/includes/session.inc.php => tests/plugins/plugin-test1/_define.php (64%)
copy galette/includes/session.inc.php => tests/plugins/plugin-test1/_smarties.php (65%)
create mode 100644 tests/plugins/plugin-test1/templates/default/headers.tpl
create mode 100644 tests/plugins/plugin-test1/templates/default/menu.tpl
copy galette/includes/session.inc.php => tests/plugins/plugin-test2/_define.php (64%)
copy galette/includes/session.inc.php => tests/plugins/plugin-unversionned/_define.php (64%)
hooks/post-receive
--
galette/galette.git
--
--
Galette repositories commits - http://galette.tuxfamily.org