Nate Curulla
cea1ef2720
Bug 5327: Add unit test for ItemType.pm
...
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-10-31 22:16:47 +13:00
Daniel Grobani
c45b18251e
unit test stub for Z3950.pm
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-10-31 10:33:35 +13:00
Brian Engard
69037606f5
Create Unit Test for ImportBatch
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-10-31 10:32:29 +13:00
Magnus Enger
d15790d9c5
Bug 5327: Add basic unit tests to some C4 modules
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-10-30 20:22:30 +13:00
Katrin Fischer
cc9a34c274
Bug 5327: Add basic unit tests to some C4 modules
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-10-30 20:12:53 +13:00
Nicole Engard
88acebeebe
create unit test files
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-10-30 20:12:50 +13:00
Liz Rea
12f9aa973d
Adding a simple test for Service.pm
...
At the advisement of the great Chris Cormack. (thanks for the lesson)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-10-30 20:12:47 +13:00
ce5e2429db
fixing various links to point to *.koha-community.org
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-21 22:08:24 -04:00
12d53ca26b
Merge remote branch 'koha-fbc/k_bug_5284' into master
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 13:46:02 -04:00
Chris Nighswonger
63c527a10e
Bug 5284 - Generic report covering various problems with the labels/patron card tests
...
This patch removes a very incomplete test script which was really not even formed into
a test routine.
Note: In all probability, the labels tests could be adapted to test patroncards as well.
2010-10-06 13:41:34 -04:00
7041f19ee1
Merge remote branch 'koha-fbc/k_bug_5284' into master
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 13:38:44 -04:00
Chris Nighswonger
04a0d94295
Bug 5284 - Generic report covering various problems with the labels/patron card tests
...
This patch fixes the C4::Labels::Template tests
2010-10-06 13:33:16 -04:00
Chris Nighswonger
04601a3b4d
Bug 5284 - Generic report covering various problems with the labels/patron card tests
...
This patch fixes the C4::Labels::Profile tests
2010-10-06 13:28:18 -04:00
Chris Nighswonger
a115a474c1
Bug 5284 - Generic report covering various problems with the labels/patron card tests
...
This patch fixes the C4::Labels::Layout tests
2010-10-06 13:17:32 -04:00
6049aeeacb
fix invalid invocation of GetBranches in test case
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 12:54:21 -04:00
Chris Nighswonger
49f7faf34a
Bug 5284 - Generic report covering various problems with the labels/patron card tests
...
This patch fixes the C4::Labels::Batch tests
2010-10-06 12:52:55 -04:00
d243847c0a
more test case fixes
...
SQLHelper.t - clean up after itself better
Context.t - fix reporting of test plan
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 11:56:32 -04:00
917c397968
cleanup of DB-dependent fund test cases
...
* remove test that was adding a second active budget period,
which was throwing off later tests
* updated to reflect current API
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 11:13:07 -04:00
01bf4aa658
fix typo/thinko in list test
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 10:55:44 -04:00
037686eff2
various improvements to t/db_dependent/VirtualShelves.t
...
* updated to reflect recent (and old) changes to the API
* corrected test plan
* adopted Test::More
* correctly handle and test functionality to not add duplicate
bibs to a list
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 10:39:57 -04:00
58e2f6a991
fix test plan and false test errors in Search.t
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 09:51:55 -04:00
f19307b54c
fix test plan for SQLHelper.t
...
Also removed incorrect comments about test case numbers - we should
just let Test::More number them.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 09:44:18 -04:00
93b882cdde
use Test::More for t/Koha.t
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 09:15:36 -04:00
Chris Cormack
d82c1cf05f
Shifting the tests that need user input to their own directory, they cant be used by the automated tester
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 07:58:35 -04:00
Chris Cormack
9b0bd43f10
Fixing the VirtualShelves test
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 07:58:34 -04:00
Chris Cormack
6d581f9f6b
Fixing C4::Boolean tests, in August 2009 we changed the die to a warn, tests didn't reflect this. Now we should have 100% of C4::Boolean
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 07:58:33 -04:00
Colin Campbell
6a1191bb3f
Bug 4905 Runtime errors in about.pl
...
Calls to VERSION were generating errors when called on a string.
Use a bit of sleight of hand to avoid this
Added a couple of tests on Installer/PerlModules
Module needs better coverage testing (esp on newer perls)
Sorted to list of modules to make koha_perl_deps.pl more
human-friendly
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-06-24 14:16:36 -04:00
Henri-Damien LAURENT
09d0a978a7
Fixing Tests on SQLHelper
...
one test was failing for want of correct parameters
An other one was not correctly described
test on search with a simple string fails because was done with branchcode and start_with includes NULL branches
Removing branchcode from filtercolumns
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-04-29 22:35:28 -04:00
Donovan Jones
23a19c6c9a
Bug 2505 - Add commented use warnings where missing in *.t
2010-04-21 20:29:31 +12:00
Colin Campbell
d027e4dcd6
add warnings to Serials.pm
...
Change obvious warning generators:
( use of string comparisons in numeric comparison)
( declaration of variable in comnditional )
also some errors caused by undefined values:
abouttoexpire was not checking for undef values
Pass a valid planneddate in generation of next expected
(undef here causes odd results)
Add a basic test script
test is minimal but I fell over a bug this would have caught
2010-04-08 13:28:40 +01:00
Lars Wirzenius
13af9b6195
Fix FSF address in directory t/
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-03-16 20:17:51 -04:00
Colin Campbell
7ea29365df
bugfix Dates.t test plan has wrong value
...
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 05:53:28 -05:00
f36c042b80
Merge commit 'workbuffer.org-koha/translation' into to-push
...
Conflicts:
installer/data/mysql/updatedatabase.pl
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-02 19:10:41 -05:00
088b22b8ed
More fixes to the shelves test
2010-01-29 08:39:09 +13:00
031a7c8379
Fixing the tests for VirtualShelves, still a bit more to do
2010-01-29 08:39:08 +13:00
98e972128a
More fixes to the shelves test
2010-01-29 08:13:42 +13:00
af75714431
Fixing the tests for VirtualShelves, still a bit more to do
2010-01-29 08:13:41 +13:00
Henri-Damien LAURENT
2086615a35
SQLHelper : InsertInTable enhancement
...
InsertInTable can now add values to table where primaryKey requires
user input such as branches table
2010-01-28 15:11:54 +01:00
Henri-Damien LAURENT
6a3579b2f3
MT 2285 : enhancement for patronSearch
2010-01-28 15:11:51 +01:00
Henri-Damien LAURENT
67bc72d7bb
Test Improvements : Adding Reserves.t
2010-01-28 15:11:49 +01:00
Henri-Damien LAURENT
23a1397419
Dates : improvements string recognition
...
Dates can now have one digit for month and day
2010-01-28 15:11:47 +01:00
Henri-Damien LAURENT
697e8e7014
SearchInTable : problem with primary key searches
...
SearchInTable was filtering primary Key thus returning the whole table when asked a search on a primary key
2010-01-28 15:11:45 +01:00
Henri-Damien LAURENT
d339abf0bf
Merge branch 'patroncards-wip' of git://git.foundations.edu/koha into community
...
Conflicts solved:
Makefile.PL
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
installer/data/mysql/updatedatabase.pl
kohaversion.pl
2010-01-20 23:16:34 +01:00
Chris Nighswonger
278007e847
[3/30] Adding a test script for C4::Patroncards::Patroncard
...
To be used for development initially and then can be modified for use as a test.
NOTE: This does not work in its present form.
2010-01-11 18:16:17 -05:00
Jesse Weaver
09d153d85a
Remove diagnostic output from t/Members_Attributes.t
...
While this might be useful for developers, is mostly pointless
otherwise. Should be replaced with a true test of these four
functions.
2009-12-20 14:31:39 +01:00
e85b4557f9
C4::Bookfund no longer exists, removing the test
2009-12-20 14:31:37 +01:00
11c0adea4e
C4::Boolean has had its' exception changed to warns, the test was erroring falsely
2009-12-20 14:31:36 +01:00
Henri-Damien LAURENT
fc1a5ed318
MT1883 : Serials enddate was not cleanly used
...
GetExpirationDate should now be used only to get the NEXT expirationdate based on startdate
Perltidying C4/Serials.pm
2009-11-11 14:00:11 +01:00
Henri-Damien LAURENT
1ec6e3df73
Change in API : ordnum becomes ordernumber
2009-10-30 00:30:47 +01:00
Henri-Damien LAURENT
e3a8f1e20d
MT 2168 : Logical AND between multiple words strings
...
C4::SQLHelper was doing an implicit OR of multiple words strings
It is now fixed and does an AND
2009-10-26 15:34:33 +01:00