aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/indextest.cpp2
-rw-r--r--tests/introtest.cpp4
-rw-r--r--tests/lextest.cpp8
-rw-r--r--tests/mgrtest.cpp2
4 files changed, 8 insertions, 8 deletions
diff --git a/tests/indextest.cpp b/tests/indextest.cpp
index fed477e..457a2e4 100644
--- a/tests/indextest.cpp
+++ b/tests/indextest.cpp
@@ -10,7 +10,7 @@ int main(int argc, char **argv) {
if (bbe) {
VerseKey vk;
vk.Persist(1);
- bbe->SetKey(vk);
+ bbe->setKey(vk);
for (; !bbe->Error(); (*bbe)++ ) {
std::cout << vk.NewIndex() << std::endl;
}
diff --git a/tests/introtest.cpp b/tests/introtest.cpp
index 6f1d9b1..bed10aa 100644
--- a/tests/introtest.cpp
+++ b/tests/introtest.cpp
@@ -13,7 +13,7 @@ int main(int argc, char **argv) {
vk.Headings(1);
vk.AutoNormalize(0);
vk.Persist(1);
- mod.SetKey(vk);
+ mod.setKey(vk);
vk.Verse(0);
vk.Chapter(0);
@@ -96,7 +96,7 @@ int main(int argc, char **argv) {
vk.Persist(1);
vk = "jas 0:0";
std::cout << vk << ":\n";
- mhc->SetKey(vk);
+ mhc->setKey(vk);
std::cout << (const char *) mhc->Key() << ":\n";
std::cout << (const char *) *mhc << "\n";
}
diff --git a/tests/lextest.cpp b/tests/lextest.cpp
index 72beea0..403bbce 100644
--- a/tests/lextest.cpp
+++ b/tests/lextest.cpp
@@ -6,16 +6,16 @@ void main(int argc, char **argv)
RawLD::createModule("tmp/lextest");
RawLD lex("tmp/lextest");
- lex.SetKey("b");
+ lex.setKey("b");
lex << "x";
- lex.SetKey("a");
+ lex.setKey("a");
lex << "x";
- lex.SetKey("a");
+ lex.setKey("a");
lex.deleteEntry();
-// lex.SetKey("a");
+// lex.setKey("a");
// lex << "y";
lex = BOTTOM;
diff --git a/tests/mgrtest.cpp b/tests/mgrtest.cpp
index 1a6c359..6a77328 100644
--- a/tests/mgrtest.cpp
+++ b/tests/mgrtest.cpp
@@ -17,7 +17,7 @@ int main(int argc, char **argv) {
std::cout << "AbsoluteDataPath = " << it->second->getConfigEntry("AbsoluteDataPath") << "\n";
std::cout << "Has Feature HebrewDef = " << it->second->getConfig().has("Feature", "HebrewDef") << "\n";
if ((!strcmp((*it).second->Type(), "Biblical Texts")) || (!strcmp((*it).second->Type(), "Commentaries"))) {
- (*it).second->SetKey("James 1:19");
+ it->second->setKey("James 1:19");
std::cout << (const char *) *(*it).second << "\n\n";
}
}