Unit Tests - fix

- The unit tests for color were still linking against color.o, instead
  of the new Color.o.  Subtle, but wrong.
This commit is contained in:
Paul Beckingham 2009-10-11 16:17:26 -04:00
parent 179b51278f
commit 9f9c19d4ae
3 changed files with 5 additions and 4 deletions

View file

@ -7,7 +7,7 @@ OBJECTS = ../TDB.o ../Task.o ../text.o ../Date.o ../Table.o ../Duration.o \
../util.o ../Config.o ../Sequence.o ../Att.o ../Cmd.o ../Record.o \
../StringTable.o ../Subst.o ../Nibbler.o ../Location.o ../Filter.o \
../Context.o ../Keymap.o ../command.o ../interactive.o ../report.o \
../Grid.o ../color.o ../rules.o ../recur.o ../custom.o ../import.o \
../Grid.o ../Color.o ../rules.o ../recur.o ../custom.o ../import.o \
../edit.o ../Timer.o ../Permission.o
all: $(PROJECT)

View file

@ -26,7 +26,7 @@
////////////////////////////////////////////////////////////////////////////////
#include <iostream>
#include <Context.h>
#include <color.h>
#include <Color.h>
#include <test.h>
Context context;
@ -34,6 +34,7 @@ Context context;
////////////////////////////////////////////////////////////////////////////////
int main (int argc, char** argv)
{
/*
const char* colors[] =
{
"off",
@ -63,7 +64,7 @@ int main (int argc, char** argv)
t.is (Text::colorName (Text::nocolor), "", "nocolor == \'\'");
t.is (Text::colorCode (""), Text::nocolor, "\'\' == nocolor");
*/
return 0;
}