Unit Tests - autocomplete

- Implemented unit test to verify the functionality of the
  util.cpp:autoComplete function.
This commit is contained in:
Paul Beckingham 2009-03-20 20:01:44 -04:00
parent 4537d5048e
commit 827bc6204b
3 changed files with 68 additions and 1 deletions

View file

@ -1,4 +1,4 @@
PROJECT = t.t tdb.t date.t duration.t t.benchmark.t text.t
PROJECT = t.t tdb.t date.t duration.t t.benchmark.t text.t autocomplete.t
CFLAGS = -I. -I.. -Wall -pedantic -ggdb3 -fno-rtti
LFLAGS = -L/usr/local/lib
OBJECTS = ../TDB.o ../T.o ../parse.o ../text.o ../Date.o ../util.o ../Config.o
@ -35,3 +35,6 @@ t.benchmark.t: t.benchmark.t.o $(OBJECTS) test.o
text.t: text.t.o $(OBJECTS) test.o
g++ text.t.o $(OBJECTS) test.o $(LFLAGS) -o text.t
autocomplete.t: autocomplete.t.o $(OBJECTS) test.o
g++ autocomplete.t.o $(OBJECTS) test.o $(LFLAGS) -o autocomplete.t