source: trunk/test/file.cc @ 166

Last change on this file since 166 was 149, checked in by Jari Häkkinen, 15 years ago

Changed svnstat to svndigest.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[24]1// $Id: file.cc 149 2006-08-12 09:11:46Z jari $
2
[84]3/*
4  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
5
[149]6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
[84]7
[149]8  svndigest is free software; you can redistribute it and/or modify it
[84]9  under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2 of the License, or
11  (at your option) any later version.
12
[149]13  svndigest is distributed in the hope that it will be useful, but
[84]14  WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  General Public License for more details.
17
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21  02111-1307, USA.
22*/
23
[24]24#include "File.h"
25
[145]26#include <iostream>
[24]27
[84]28int main(const int argc,const char* argv[])
[24]29{
[145]30  try {
[149]31    theplu::svndigest::File file(0,"file.cc");
[145]32    file.parse();
33  }
34  catch (const std::runtime_error& x) {
35    std::cerr << "Test file: " << x.what() << std::endl;
36    return -1;
37  }
[24]38  return 0;
39}
Note: See TracBrowser for help on using the repository browser.