Unit tests

- Added tests for class Taskmod
- Added tests for _merge command
This commit is contained in:
Johannes Schlatow
2010-08-04 19:00:42 +02:00
parent 3945ccf019
commit c640e05049
4 changed files with 403 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
PROJECT = t.t tdb.t date.t duration.t t.benchmark.t text.t autocomplete.t \
config.t seq.t att.t stringtable.t record.t nibbler.t subst.t filt.t \
cmd.t util.t color.t list.t path.t file.t directory.t grid.t rx.t
cmd.t util.t color.t list.t path.t file.t directory.t grid.t rx.t taskmod.t
CFLAGS = -I. -I.. -I../.. -Wall -pedantic -ggdb3 -fno-rtti
LFLAGS = -L/usr/local/lib -lncurses -llua
OBJECTS = ../t-TDB.o ../t-Task.o ../t-text.o ../t-Date.o ../t-Table.o \
@@ -99,3 +99,6 @@ grid.t: grid.t.o $(OBJECTS) test.o
rx.t: rx.t.o $(OBJECTS) test.o
g++ rx.t.o $(OBJECTS) test.o $(LFLAGS) -o rx.t
taskmod.t: taskmod.t.o $(OBJECTS) test.o
g++ taskmod.t.o $(OBJECTS) test.o $(LFLAGS) -o taskmod.t