source: trunk/test/file.cc @ 219

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

Changed svnstat to svndigest.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1// $Id: file.cc 149 2006-08-12 09:11:46Z jari $
2
3/*
4  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
5
6  This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
7
8  svndigest is free software; you can redistribute it and/or modify it
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
13  svndigest is distributed in the hope that it will be useful, but
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#include "File.h"
25
26#include <iostream>
27
28int main(const int argc,const char* argv[])
29{
30  try {
31    theplu::svndigest::File file(0,"file.cc");
32    file.parse();
33  }
34  catch (const std::runtime_error& x) {
35    std::cerr << "Test file: " << x.what() << std::endl;
36    return -1;
37  }
38  return 0;
39}
Note: See TracBrowser for help on using the repository browser.