Changeset 744 for trunk/test/Suite.h
- Timestamp:
- Jan 8, 2009, 11:37:12 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 8 8 autom4te.cache 9 9 INSTALL 10 COPYING11 10 aclocal.m4 12 11 Makefile
-
- Property svn:ignore
-
trunk/test/Suite.h
r693 r744 5 5 6 6 /* 7 Copyright (C) 2008 Peter Johansson7 Copyright (C) 2008, 2009 Peter Johansson 8 8 9 9 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 31 31 namespace test { 32 32 33 class Suite 34 { 35 public: 36 Suite(int argc, char* argv[], bool need_test_repo=false); 37 ~Suite(void); 38 39 /** 40 If b is false, set ok to false 41 42 \return b 43 */ 44 bool add(bool b); 45 46 /** 47 \return true if all tests are OK 48 */ 49 bool ok(void) const; 50 51 std::ostream& out(void) const; 52 53 /** 54 \return true if we are running in verbose mode 55 */ 56 bool verbose(void) const; 57 58 private: 59 std::ofstream* dev_null_; 60 bool ok_; 61 bool verbose_; 62 63 void checkout_test_wc(void) const; 64 void update_test_wc(void) const; 65 }; 66 33 67 /** 34 68 \return absolute path to file
Note: See TracChangeset
for help on using the changeset viewer.