source: trunk/test/cache_partial_test.cc @ 794

Last change on this file since 794 was 794, checked in by Peter Johansson, 13 years ago

refs #338. added a dummy test for partial cache

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1// $Id: cache_partial_test.cc 794 2009-06-27 18:39:17Z peter $
2
3/*
4  Copyright (C) 2009 Peter Johansson
5
6  This file is part of svndigest, http://dev.thep.lu.se/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 3 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 svndigest. If not, see <http://www.gnu.org/licenses/>.
20*/
21
22// Testing that partial cache works fine, ticket #338.
23
24#include "Suite.h"
25
26#include <iostream>
27
28int main( int argc, char* argv[])
29{
30  using namespace theplu::svndigest;
31  test::Suite suite(argc, argv, true);
32
33  suite.add(false);
34
35  if (suite.ok()) {
36    suite.out() << "Test is OK\n";
37    return 0;
38  }
39  suite.out() << "Test failed\n";
40  return 1;
41}
42
43
Note: See TracBrowser for help on using the repository browser.