Changeset 144


Ignore:
Timestamp:
Aug 9, 2006, 10:37:20 PM (13 years ago)
Author:
Jari Häkkinen
Message:

test programs compile and all tests return success (but they cheat).

Location:
trunk/test
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Makefile.am

    r143 r144  
    2727
    2828LDADD = @top_srcdir@/lib/libsvnstat.a -L$(APR_PATH)/lib \
    29   -lsvn_client-1 -lsvn_ra-1 -lsvn_subr-1 -lsvn_wc-1 -lapr-0
     29  -lsvn_client-1 -lsvn_diff-1 -lsvn_ra-1 -lsvn_subr-1 -lsvn_wc-1 -lapr-0
    3030
    31 INCLUDES = -I@top_srcdir@/lib
     31INCLUDES = -I@top_srcdir@/lib -I$(SVN_PATH)/include/subversion-1 \
     32  -I$(APR_PATH)/include/apr-0
    3233
    3334directory_SOURCES = directory.cc
  • trunk/test/directory.cc

    r84 r144  
    2929{
    3030  using namespace theplu::svnstat;
    31   std::string path(".");
    32   Directory directory(path);
     31  std::string path("..");
     32  Directory directory(0,path);
    3333  return 0;
    3434}
  • trunk/test/file.cc

    r84 r144  
    3131  using namespace theplu::svnstat;
    3232  std::string path("file.cc");
    33   File file(path);
     33  File file(0,path);
    3434  file.parse();
    3535  return 0;
  • trunk/test/parser.cc

    r105 r144  
    22
    33/*
    4   Copyright (C) 2006 Peter Johansson
     4  Copyright (C) 2006 Jari, Häkkinen, Peter Johansson
    55
    66  This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat
     
    4040  bool ok = true;
    4141
    42   std::ifstream is("../lib/Parser.h");
    43   Parser p(is);
     42  Parser p("../lib/Parser.h");
    4443  for (size_t i=0; i<p.type().size(); ++i)
    4544    *out << i+1 << " " << p.type()[i] << std::endl;
    46   is.close();
    4745
    4846  if (out!=&std::cout)
Note: See TracChangeset for help on using the changeset viewer.