Changeset 149 for trunk/test
- Timestamp:
- Aug 12, 2006, 11:11:46 AM (17 years ago)
- Location:
- trunk/test
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/Makefile.am
r145 r149 5 5 # Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson 6 6 # 7 # This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat7 # This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 8 8 # 9 # svn stat is free software; you can redistribute it and/or modify it9 # svndigest is free software; you can redistribute it and/or modify it 10 10 # under the terms of the GNU General Public License as published by 11 11 # the Free Software Foundation; either version 2 of the License, or 12 12 # (at your option) any later version. 13 13 # 14 # svn stat is distributed in the hope that it will be useful, but14 # svndigest is distributed in the hope that it will be useful, but 15 15 # WITHOUT ANY WARRANTY; without even the implied warranty of 16 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 26 26 check_PROGRAMS = $(TESTS) 27 27 28 LDADD = @top_srcdir@/lib/libsvn stat.a -L$(APR_PATH)/lib \28 LDADD = @top_srcdir@/lib/libsvndigest.a -L$(APR_PATH)/lib \ 29 29 -lsvn_client-1 -lsvn_diff-1 -lsvn_ra-1 -lsvn_subr-1 -lsvn_wc-1 -lapr-0 30 30 -
trunk/test/directory.cc
r145 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 30 30 try { 31 31 // create a file structure of a subversion WC 32 theplu::svn stat::Directory directory(0,"..");32 theplu::svndigest::Directory directory(0,".."); 33 33 directory.parse(); 34 34 } -
trunk/test/file.cc
r145 r149 4 4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 29 29 { 30 30 try { 31 theplu::svn stat::File file(0,"file.cc");31 theplu::svndigest::File file(0,"file.cc"); 32 32 file.parse(); 33 33 } -
trunk/test/gnuplot_pipe.cc
r145 r149 4 4 Copyright (C) 2006 Jari Häkkinen 5 5 6 This file is part of svn stat, http://lev.thep.lu.se/trac/svnstat6 This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest 7 7 8 svn stat is free software; you can redistribute it and/or modify it8 svndigest is free software; you can redistribute it and/or modify it 9 9 under the terms of the GNU General Public License as published by 10 10 the Free Software Foundation; either version 2 of the License, or 11 11 (at your option) any later version. 12 12 13 svn stat is distributed in the hope that it will be useful, but13 svndigest is distributed in the hope that it will be useful, but 14 14 WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU … … 38 38 } 39 39 40 svn stat::Gnuplot gnuplot1;40 svndigest::Gnuplot gnuplot1; 41 41 ok|=gnuplot1.command("set output 'test1.png'; set term png ; set title 'sine'"); 42 42 ok|=gnuplot1.command("plot sin(x) title 'sine of x' with lines"); 43 43 44 svn stat::Gnuplot gnuplot2;44 svndigest::Gnuplot gnuplot2; 45 45 ok|=gnuplot2.command("set output 'test2.png'; set term png"); 46 46 ok|=gnuplot2.plot(x); 47 47 48 svn stat::Gnuplot gnuplot3;48 svndigest::Gnuplot gnuplot3; 49 49 ok|=gnuplot3.command("set output 'test3.png'; set term png"); 50 50 gnuplot3.linetitle("parabola"); … … 62 62 // plot_x and plot_xy). Note, the below example compiles, but will 63 63 // fail at run time if 'filename.data' does not, miraculously, exist. 64 svn stat::Gnuplot gnuplot4;64 svndigest::Gnuplot gnuplot4; 65 65 gnuplot4.command("set output 'test5.png'\nset term png"); 66 66 gnuplot4.command("plot 'filename.data' using 1:2 with linespoints");
Note: See TracChangeset
for help on using the changeset viewer.