Ignore:
Timestamp:
Apr 14, 2008, 11:54:10 PM (13 years ago)
Author:
Peter Johansson
Message:

added testlib to share code between different tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/copyright.cc

    r595 r596  
    2222*/
    2323
     24#include "Suite.h"
     25
    2426#include "Configuration.h"
    2527#include "File.h"
     
    4345    verbose=true;
    4446
    45   std::string root("toy_project");
     47  std::string root=test::filename("toy_project");
    4648  std::string filename = root + "/README";
    4749
     
    104106  }
    105107  if (verbose) {
    106     std::cout << copyrights.size() << " Copyright lines\n";
     108    std::cout << copyrights.size() << " Copyright lines:\n";
    107109    for (size_t i=0; i<copyrights.size(); ++i)
    108       std::cout << copyrights[i] << "\n";
     110      std::cout << i+1 << ": " << copyrights[i] << "\n";
    109111  }
    110112
Note: See TracChangeset for help on using the changeset viewer.