Changeset 552 for trunk/test


Ignore:
Timestamp:
Jan 8, 2008, 3:40:37 PM (14 years ago)
Author:
Peter Johansson
Message:

fixes linetype Copyright

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/parser.cc

    r528 r552  
    2323*/
    2424
    25 #include "Parser.h"
     25#include "LineTypeParser.h"
    2626
    2727#include <iostream>
     
    4444  using namespace theplu::svndigest;
    4545  os << "Testing: " << file << std::endl;
    46   Parser parser(file);
     46  LineTypeParser parser(file);
    4747  std::ifstream is(file.c_str());
    4848  for (size_t i=0; i<parser.type().size(); ++i){
    49     if (parser.type()[i]==Parser::other)
     49    if (parser.type()[i]==LineTypeParser::other)
    5050      os << "other:   ";
    51     else if (parser.type()[i]==Parser::comment)
     51    else if (parser.type()[i]==LineTypeParser::comment)
    5252      os << "comment: ";
    5353    else
Note: See TracChangeset for help on using the changeset viewer.