Bugzilla – Attachment 50291 Details for
Bug 12478
Elasticsearch support for Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12478 Shifting tests and adding copyright headers
Bug-12478-Shifting-tests-and-adding-copyright-head.patch (text/plain), 5.71 KB, created by
Nick Clemens (kidclamp)
on 2016-04-15 22:42:18 UTC
(
hide
)
Description:
Bug 12478 Shifting tests and adding copyright headers
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-04-15 22:42:18 UTC
Size:
5.71 KB
patch
obsolete
>From 94988eff76b54a2006cfeefe18614b11ca5db5ed Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.z> >Date: Thu, 14 Apr 2016 20:23:13 +0000 >Subject: [PATCH] Bug 12478 Shifting tests and adding copyright headers > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/Koha_ElasticSearch.t | 23 -------------------- > t/db_dependent/Koha_ElasticSearch.t | 23 ++++++++++++++++++++ > t/{ => db_dependent}/Koha_ElasticSearch_Indexer.t | 25 +++++++++++----------- > .../Koha_SearchEngine_Elasticsearch_Search.t | 25 +++++++++++----------- > 4 files changed, 48 insertions(+), 48 deletions(-) > delete mode 100644 t/Koha_ElasticSearch.t > create mode 100644 t/db_dependent/Koha_ElasticSearch.t > rename t/{ => db_dependent}/Koha_ElasticSearch_Indexer.t (58%) > rename t/{ => db_dependent}/Koha_SearchEngine_Elasticsearch_Search.t (50%) > >diff --git a/t/Koha_ElasticSearch.t b/t/Koha_ElasticSearch.t >deleted file mode 100644 >index 8888f2c..0000000 >--- a/t/Koha_ElasticSearch.t >+++ /dev/null >@@ -1,23 +0,0 @@ >-# >-#=============================================================================== >-# >-# FILE: Koha_ElasticSearch.t >-# >-# DESCRIPTION: >-# >-# FILES: --- >-# BUGS: --- >-# NOTES: --- >-# AUTHOR: Chris Cormack (rangi), chrisc@catalyst.net.nz >-# ORGANIZATION: Koha Development Team >-# VERSION: 1.0 >-# CREATED: 09/12/13 08:56:44 >-# REVISION: --- >-#=============================================================================== >- >-use strict; >-use warnings; >- >-use Test::More tests => 1; # last test to print >- >-use_ok('Koha::ElasticSearch'); >diff --git a/t/db_dependent/Koha_ElasticSearch.t b/t/db_dependent/Koha_ElasticSearch.t >new file mode 100644 >index 0000000..d9ea31f >--- /dev/null >+++ b/t/db_dependent/Koha_ElasticSearch.t >@@ -0,0 +1,23 @@ >+# Copyright 2015 Catalyst IT >+# >+# This file is part of Koha. >+# >+# Koha 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. >+# >+# Koha 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 Koha; if not, see <http://www.gnu.org/licenses> >+ >+use strict; >+use warnings; >+ >+use Test::More tests => 1; # last test to print >+ >+use_ok('Koha::ElasticSearch'); >diff --git a/t/Koha_ElasticSearch_Indexer.t b/t/db_dependent/Koha_ElasticSearch_Indexer.t >similarity index 58% >rename from t/Koha_ElasticSearch_Indexer.t >rename to t/db_dependent/Koha_ElasticSearch_Indexer.t >index d04a81f..80539e3 100644 >--- a/t/Koha_ElasticSearch_Indexer.t >+++ b/t/db_dependent/Koha_ElasticSearch_Indexer.t >@@ -1,19 +1,20 @@ >+# Copyright 2015 Catalyst IT > # >-#=============================================================================== > # >-# FILE: Koha_ElasticSearch_Indexer.t >+# This file is part of Koha. > # >-# DESCRIPTION: >+# Koha 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. > # >-# FILES: --- >-# BUGS: --- >-# NOTES: --- >-# AUTHOR: Chris Cormack (rangi), chrisc@catalyst.net.nz >-# ORGANIZATION: Koha Development Team >-# VERSION: 1.0 >-# CREATED: 09/12/13 08:57:25 >-# REVISION: --- >-#=============================================================================== >+# Koha 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 Koha; if not, see <http://www.gnu.org/licenses>. > > use strict; > use warnings; >diff --git a/t/Koha_SearchEngine_Elasticsearch_Search.t b/t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t >similarity index 50% >rename from t/Koha_SearchEngine_Elasticsearch_Search.t >rename to t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t >index 402a881..8b41492 100644 >--- a/t/Koha_SearchEngine_Elasticsearch_Search.t >+++ b/t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t >@@ -1,20 +1,19 @@ >+# Copyright 2015 Catalyst IT > # >-#=============================================================================== >+# This file is part of Koha. > # >-# FILE: Koha_SearchEngine_Elasticsearch_Search.t >+# Koha 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. > # >-# DESCRIPTION: >+# Koha 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. > # >-# FILES: --- >-# BUGS: --- >-# NOTES: --- >-# AUTHOR: Chris Cormack (rangi), chrisc@catalyst.net.nz >-# ORGANIZATION: Koha Development Team >-# VERSION: 1.0 >-# CREATED: 09/12/13 09:43:29 >-# REVISION: --- >-#=============================================================================== >- >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. > use strict; > use warnings; > >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12478
:
29204
|
31128
|
31129
|
33136
|
33137
|
33138
|
33139
|
33140
|
33141
|
35654
|
40903
|
42030
|
42031
|
42032
|
42033
|
42062
|
42063
|
42064
|
42065
|
42066
|
42067
|
42068
|
42069
|
42392
|
42393
|
43127
|
43128
|
43129
|
43130
|
43131
|
43132
|
43133
|
43134
|
43140
|
43141
|
43142
|
43148
|
43345
|
43346
|
43347
|
43348
|
43349
|
43350
|
43351
|
43352
|
43373
|
47767
|
47768
|
50115
|
50159
|
50211
|
50212
|
50213
|
50214
|
50245
|
50246
|
50291
|
50292