aboutsummaryrefslogtreecommitdiffstats
path: root/tests/filtertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/filtertest.cpp')
-rw-r--r--tests/filtertest.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/filtertest.cpp b/tests/filtertest.cpp
index 0301c49..3d49084 100644
--- a/tests/filtertest.cpp
+++ b/tests/filtertest.cpp
@@ -2,6 +2,7 @@
#include <thmlhtmlhref.h>
#include <thmlosis.h>
#include <gbfosis.h>
+#include <thmlosis.h>
#include <versekey.h>
#include <swmgr.h>
#ifndef NO_SWORD_NAMESPACE
@@ -11,15 +12,16 @@ using namespace sword;
#define MAXBUF 30000
int main(int argc, char **argv) {
SWMgr mgr;
- SWModule *module = mgr.Modules["KJV"];
+ SWModule *module = mgr.Modules["TR"];
if (!module)
module = mgr.Modules.begin()->second;
((VerseKey *)(SWKey *)*module)->AutoNormalize(0);
((VerseKey *)(SWKey *)*module)->Headings(1);
// ThMLHTMLHREF filter;
- GBFOSIS filter;
- module->Key() = ((argc > 1) ? argv[1] : "jas1:1");
+// GBFOSIS filter;
+ ThMLOSIS filter;
+ module->Key() = ((argc > 1) ? argv[1] : "mat4:15");
char *buf = new char [ MAXBUF ];
memset(buf, 0, MAXBUF);
// strcpy(buf, "This is a verse reference: <scripRef>jas1:22,23-25;3;5:1;rom1-9</scripRef> with an <img src=\"/images/yoyo.jpg\">");