[open-ils-commits] [GIT] Evergreen ILS branch master updated. 52fa86a503649f1971dda2faf638a8b183bd6f6f

Evergreen Git git at git.evergreen-ils.org
Wed Nov 11 21:17:55 EST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  52fa86a503649f1971dda2faf638a8b183bd6f6f (commit)
      from  1c3ba718a31c53fe4e14d0d3566e9db95a32d8e2 (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 52fa86a503649f1971dda2faf638a8b183bd6f6f
Author: Josh Stompro <stomproj at larl.org>
Date:   Fri Aug 14 13:19:49 2015 -0500

    LP#1483500 - pgtap Test for evergreen.lowercase
    
    Signed-off-by: Josh Stompro <stomproj at larl.org>
    Signed-off-by: Yamil Suarez <yamil at yamil.com>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/src/sql/Pg/t/lowercase.pg b/Open-ILS/src/sql/Pg/t/lowercase.pg
new file mode 100644
index 0000000..f72ac8b
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/t/lowercase.pg
@@ -0,0 +1,21 @@
+-- Start transaction and plan the tests.
+BEGIN;
+
+-- Number of tests that will be run
+SELECT plan(7);
+
+-- Run the tests
+
+SELECT is( evergreen.lowercase('aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ'), 'aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz', 'English Characters');
+SELECT is( evergreen.lowercase('0123456789!@#$%^&*()-+'), '0123456789!@#$%^&*()-+', 'Numbers and Symbols');
+SELECT is( evergreen.lowercase('ÁÉÍÑÓÚÜáéíñóúü¿¡'), 'áéíñóúüáéíñóúü¿¡', 'Spanish');
+SELECT is( evergreen.lowercase('ÖÜÇĞŞöüçğş'), 'öüçğşöüçğş', 'Turkish');
+-- Skipping Turkish i's - İ-> i, I -> ı since the lowercase doesn't seem to handle them correctly.
+SELECT is( evergreen.lowercase('ÄÉÖÜ'), 'äéöü', 'German');
+SELECT is( evergreen.lowercase('АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ'), 'абвгдежзийклмнопрстуфхцчшщъыьэюя', 'Russian');
+SELECT is( evergreen.lowercase('ÁĄÄÉĘĚÍÓÔÚŮÝČĹŇŔŘŠŽ'), 'áąäéęěíóôúůýčĺňŕřšž', 'Czeck, Slovack & Slovenian');
+
+
+-- Finish the test and clean up.
+SELECT * FROM finish();
+ROLLBACK;
\ No newline at end of file

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/sql/Pg/t/lowercase.pg |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 Open-ILS/src/sql/Pg/t/lowercase.pg


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list