[sword-svn] r2329 - trunk/tests/testsuite

benpmorgan at crosswire.org benpmorgan at crosswire.org
Wed Apr 22 23:33:28 MST 2009


Author: benpmorgan
Date: 2009-04-22 23:33:28 -0700 (Wed, 22 Apr 2009)
New Revision: 2329

Modified:
   trunk/tests/testsuite/verseparsing.good
   trunk/tests/testsuite/verseparsing.sh
Log:
Added Jonathan Marsden's abbreviations checking slightly changed



Modified: trunk/tests/testsuite/verseparsing.good
===================================================================
--- trunk/tests/testsuite/verseparsing.good	2009-04-22 12:00:23 UTC (rev 2328)
+++ trunk/tests/testsuite/verseparsing.good	2009-04-23 06:33:28 UTC (rev 2329)
@@ -53,3 +53,194 @@
 1Jn 1:1; 3:10: I John 1:1; I John 3:10
 1Jn 1:1 ;3:10: I John 1:1; I John 3:10
 1Jn 1:1 ; 3:10: I John 1:1; I John 3:10
+Gen: Genesis 1:1-Genesis 50:26
+Genes: Genesis 1:1-Genesis 50:26
+Exod: Exodus 1:1-Exodus 40:38
+Ex: Exodus 1:1-Exodus 40:38
+Exo: Exodus 1:1-Exodus 40:38
+Lev: Leviticus 1:1-Leviticus 27:34
+Le: Leviticus 1:1-Leviticus 27:34
+Levi: Leviticus 1:1-Leviticus 27:34
+Num: Numbers 1:1-Numbers 36:13
+Nu: Numbers 1:1-Numbers 36:13
+Numb: Numbers 1:1-Numbers 36:13
+Deut: Deuteronomy 1:1-Deuteronomy 34:12
+Deu: Deuteronomy 1:1-Deuteronomy 34:12
+De: Deuteronomy 1:1-Deuteronomy 34:12
+Josh: Joshua 1:1-Joshua 24:33
+Jos: Joshua 1:1-Joshua 24:33
+Joshu: Joshua 1:1-Joshua 24:33
+Judg: Judges 1:1-Judges 21:25
+Jdg: Judges 1:1-Judges 21:25
+Judge: Judges 1:1-Judges 21:25
+Ruth: Ruth 1:1-Ruth 4:22
+Ru: Ruth 1:1-Ruth 4:22
+Rut: Ruth 1:1-Ruth 4:22
+1Sam: I Samuel 1:1-I Samuel 31:13
+1Sa: I Samuel 1:1-I Samuel 31:13
+1Samu: I Samuel 1:1-I Samuel 31:13
+2Sam: II Samuel 1:1-II Samuel 24:25
+2Sa: II Samuel 1:1-II Samuel 24:25
+2Samu: II Samuel 1:1-II Samuel 24:25
+1Kgs: I Kings 1:1-I Kings 22:53
+1Ki: I Kings 1:1-I Kings 22:53
+1King: I Kings 1:1-I Kings 22:53
+2Kgs: II Kings 1:1-II Kings 25:30
+2Ki: II Kings 1:1-II Kings 25:30
+2King: II Kings 1:1-II Kings 25:30
+1Chr: I Chronicles 1:1-I Chronicles 29:30
+1Chron: I Chronicles 1:1-I Chronicles 29:30
+1Ch: I Chronicles 1:1-I Chronicles 29:30
+2Chr: II Chronicles 1:1-II Chronicles 36:23
+2Chron: II Chronicles 1:1-II Chronicles 36:23
+2Ch: II Chronicles 1:1-II Chronicles 36:23
+Ezra: Ezra 1:1-Ezra 10:44
+Ezr: Ezra 1:1-Ezra 10:44
+Neh: Nehemiah 1:1-Nehemiah 13:31
+Ne: Nehemiah 1:1-Nehemiah 13:31
+Nehe: Nehemiah 1:1-Nehemiah 13:31
+Esth: Esther 1:1-Esther 10:3
+Es: Esther 1:1-Esther 10:3
+Est: Esther 1:1-Esther 10:3
+Job: Job 1:1-Job 42:17
+Ps: Psalms 1:1-Psalms 150:6
+Psa: Psalms 1:1-Psalms 150:6
+Psalm: Psalms 1:1-Psalms 150:6
+Prov: Proverbs 1:1-Proverbs 31:31
+Pr: Proverbs 1:1-Proverbs 31:31
+Pro: Proverbs 1:1-Proverbs 31:31
+Eccl: Ecclesiastes 1:1-Ecclesiastes 12:14
+Ec: Ecclesiastes 1:1-Ecclesiastes 12:14
+Ecc: Ecclesiastes 1:1-Ecclesiastes 12:14
+Song: Song of Solomon 1:1-Song of Solomon 8:14
+So: Song of Solomon 1:1-Song of Solomon 8:14
+Son: Song of Solomon 1:1-Song of Solomon 8:14
+Isa: Isaiah 1:1-Isaiah 66:24
+Is: Isaiah 1:1-Isaiah 66:24
+Isai: Isaiah 1:1-Isaiah 66:24
+Jer: Jeremiah 1:1-Jeremiah 52:34
+Jere: Jeremiah 1:1-Jeremiah 52:34
+Je: Jeremiah 1:1-Jeremiah 52:34
+Lam: Lamentations 1:1-Lamentations 5:22
+La: Lamentations 1:1-Lamentations 5:22
+Lament: Lamentations 1:1-Lamentations 5:22
+Ezek: Ezekiel 1:1-Ezekiel 48:35
+Ez: Ezekiel 1:1-Ezekiel 48:35
+Eze: Ezekiel 1:1-Ezekiel 48:35
+Dan: Daniel 1:1-Daniel 12:13
+Dan: Daniel 1:1-Daniel 12:13
+Da: Daniel 1:1-Daniel 12:13
+Hos: Hosea 1:1-Hosea 14:9
+Hos: Hosea 1:1-Hosea 14:9
+Hose: Hosea 1:1-Hosea 14:9
+Joel: Joel 1:1-Joel 3:21
+Joe: Joel 1:1-Joel 3:21
+Amos: Amos 1:1-Amos 9:15
+Am: Amos 1:1-Amos 9:15
+Amo: Amos 1:1-Amos 9:15
+Obad: Obadiah 1:1-Obadiah 1:21
+Ob: Obadiah 1:1-Obadiah 1:21
+Oba: Obadiah 1:1-Obadiah 1:21
+Jonah: Jonah 1:1-Jonah 4:11
+Jon: Jonah 1:1-Jonah 4:11
+Jona: Jonah 1:1-Jonah 4:11
+Mic: Micah 1:1-Micah 7:20
+Mi: Micah 1:1-Micah 7:20
+Mica: Micah 1:1-Micah 7:20
+Nah: Nahum 1:1-Nahum 3:19
+Na: Nahum 1:1-Nahum 3:19
+Nahu: Nahum 1:1-Nahum 3:19
+Hab: Habakkuk 1:1-Habakkuk 3:19
+Haba: Habakkuk 1:1-Habakkuk 3:19
+Ha: Habakkuk 1:1-Habakkuk 3:19
+Zeph: Zephaniah 1:1-Zephaniah 3:20
+Zep: Zephaniah 1:1-Zephaniah 3:20
+Hag: Haggai 1:1-Haggai 2:23
+Hagg: Haggai 1:1-Haggai 2:23
+Zech: Zechariah 1:1-Zechariah 14:21
+Ze: Zechariah 1:1-Zechariah 14:21
+Zecha: Zechariah 1:1-Zechariah 14:21
+Mal: Malachi 1:1-Malachi 4:6
+Mala: Malachi 1:1-Malachi 4:6
+Matt: Matthew 1:1-Matthew 28:20
+Mt: Matthew 1:1-Matthew 28:20
+Mat: Matthew 1:1-Matthew 28:20
+Mark: Mark 1:1-Mark 16:20
+Mar: Mark 1:1-Mark 16:20
+Ma: Matthew 1:1-Matthew 28:20
+Luke: Luke 1:1-Luke 24:53
+Lk: Luke 1:1-Luke 24:53
+Luk: Luke 1:1-Luke 24:53
+John: John 1:1-John 21:25
+Joh: John 1:1-John 21:25
+Jn: John 1:1-John 21:25
+Acts: Acts 1:1-Acts 28:31
+Ac: Acts 1:1-Acts 28:31
+A: Acts 1:1-Acts 28:31
+Rom: Romans 1:1-Romans 16:27
+Ro: Romans 1:1-Romans 16:27
+Roma: Romans 1:1-Romans 16:27
+1Cor: I Corinthians 1:1-I Corinthians 16:24
+1Co: I Corinthians 1:1-I Corinthians 16:24
+1Cori: I Corinthians 1:1-I Corinthians 16:24
+2Cor: II Corinthians 1:1-II Corinthians 13:14
+2Co: II Corinthians 1:1-II Corinthians 13:14
+2Cori: II Corinthians 1:1-II Corinthians 13:14
+Gal: Galatians 1:1-Galatians 6:18
+Ga: Galatians 1:1-Galatians 6:18
+Gala: Galatians 1:1-Galatians 6:18
+Eph: Ephesians 1:1-Ephesians 6:24
+Ep: Ephesians 1:1-Ephesians 6:24
+Ephes: Ephesians 1:1-Ephesians 6:24
+Ph: Philippians 1:1-Philippians 4:23
+Phi: Philippians 1:1-Philippians 4:23
+Phil: Philippians 1:1-Philippians 4:23
+Phili: Philippians 1:1-Philippians 4:23
+Philip: Philippians 1:1-Philippians 4:23
+Col: Colossians 1:1-Colossians 4:18
+Co: Colossians 1:1-Colossians 4:18
+Colo: Colossians 1:1-Colossians 4:18
+1Thess: I Thessalonians 1:1-I Thessalonians 5:28
+1Th: I Thessalonians 1:1-I Thessalonians 5:28
+1Thes: I Thessalonians 1:1-I Thessalonians 5:28
+2Thess: II Thessalonians 1:1-II Thessalonians 3:18
+2Th: II Thessalonians 1:1-II Thessalonians 3:18
+2Thes: II Thessalonians 1:1-II Thessalonians 3:18
+1Tim: I Timothy 1:1-I Timothy 6:21
+1Ti: I Timothy 1:1-I Timothy 6:21
+1Timo: I Timothy 1:1-I Timothy 6:21
+2Tim: II Timothy 1:1-II Timothy 4:22
+2Ti: II Timothy 1:1-II Timothy 4:22
+2Timo: II Timothy 1:1-II Timothy 4:22
+Titus: Titus 1:1-Titus 3:15
+Tit: Titus 1:1-Titus 3:15
+Titu: Titus 1:1-Titus 3:15
+Phlm: Philemon 1:1-Philemon 1:25
+Phile: Philemon 1:1-Philemon 1:25
+Heb: Hebrews 1:1-Hebrews 13:25
+Hebrews: Hebrews 1:1-Hebrews 13:25
+Hebr: Hebrews 1:1-Hebrews 13:25
+Jas: James 1:1-James 5:20
+James: James 1:1-James 5:20
+Jam: James 1:1-James 5:20
+1Pet: I Peter 1:1-I Peter 5:14
+1Pe: I Peter 1:1-I Peter 5:14
+1Pete: I Peter 1:1-I Peter 5:14
+2Pet: II Peter 1:1-II Peter 3:18
+2Pe: II Peter 1:1-II Peter 3:18
+2Pete: II Peter 1:1-II Peter 3:18
+1John: I John 1:1-I John 5:21
+1Jn: I John 1:1-I John 5:21
+1J: I John 1:1-I John 5:21
+2John: II John 1:1-II John 1:13
+2Jn: II John 1:1-II John 1:13
+2J: II John 1:1-II John 1:13
+3John: III John 1:1-III John 1:14
+3Jn: III John 1:1-III John 1:14
+3J: III John 1:1-III John 1:14
+Jude: Jude 1:1-Jude 1:25
+Jud: Jude 1:1-Jude 1:25
+Ju: Jude 1:1-Jude 1:25
+Rev: Revelation of John 1:1-Revelation of John 22:21
+Re: Revelation of John 1:1-Revelation of John 22:21
+Reve: Revelation of John 1:1-Revelation of John 22:21

Modified: trunk/tests/testsuite/verseparsing.sh
===================================================================
--- trunk/tests/testsuite/verseparsing.sh	2009-04-22 12:00:23 UTC (rev 2328)
+++ trunk/tests/testsuite/verseparsing.sh	2009-04-23 06:33:28 UTC (rev 2329)
@@ -80,3 +80,24 @@
 ../parsekey "1Jn 1:1; 3:10"
 ../parsekey "1Jn 1:1 ;3:10"
 ../parsekey "1Jn 1:1 ; 3:10"
+
+en_abbrevs="
+Gen Genes Exod Ex Exo Lev Le Levi Num Nu Numb Deut Deu De Josh Jos Joshu
+Judg Jdg Judge Ruth Ru Rut 1Sam 1Sa 1Samu 2Sam 2Sa 2Samu 1Kgs 1Ki 1King
+2Kgs 2Ki 2King 1Chr 1Chron 1Ch 2Chr 2Chron 2Ch Ezra Ezr Neh Ne Nehe
+Esth Es Est Job  Ps Psa Psalm Prov Pr Pro Eccl Ec Ecc Song So Son
+Isa Is Isai Jer Jere Je Lam La Lament Ezek Ez Eze Dan Dan Da Hos Hos
+Hose Joel Joe Amos Am Amo Obad Ob Oba Jonah Jon Jona Mic Mi Mica Nah Na
+Nahu Hab Haba Ha Zeph Zep Hag Hagg Zech Ze Zecha Mal Mala
+Matt Mt Mat Mark Mar Ma Luke Lk Luk John Joh Jn Acts Ac A Rom Ro Roma
+1Cor 1Co 1Cori 2Cor 2Co 2Cori Gal Ga Gala Eph Ep Ephes Ph Phi Phil Phili Philip
+Col Co Colo 1Thess 1Th 1Thes 2Thess 2Th 2Thes 1Tim 1Ti 1Timo
+2Tim 2Ti 2Timo Titus Tit Titu Phlm Phile Heb Hebrews Hebr
+Jas James Jam 1Pet 1Pe 1Pete 2Pet 2Pe 2Pete 1John 1Jn 1J
+2John 2Jn 2J 3John 3Jn 3J Jude Jud Ju Rev Re Reve
+"
+for i in $en_abbrevs
+do
+  ../parsekey $i
+done
+




More information about the sword-cvs mailing list