diff options
author | JP Rosevear <jpr@src.gnome.org> | 2001-04-18 01:23:26 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-04-18 01:23:26 +0800 |
commit | 3a49d3e43d8e752162e5c4a098e1c0991a7611db (patch) | |
tree | d6955b35899631b5eb216b16c1d90b254f626822 /libical/src/test/testvcal.c | |
parent | 0d90c71a6a7960e6220958883885b8486eb2d43a (diff) | |
download | gsoc2013-evolution-3a49d3e43d8e752162e5c4a098e1c0991a7611db.tar gsoc2013-evolution-3a49d3e43d8e752162e5c4a098e1c0991a7611db.tar.gz gsoc2013-evolution-3a49d3e43d8e752162e5c4a098e1c0991a7611db.tar.bz2 gsoc2013-evolution-3a49d3e43d8e752162e5c4a098e1c0991a7611db.tar.lz gsoc2013-evolution-3a49d3e43d8e752162e5c4a098e1c0991a7611db.tar.xz gsoc2013-evolution-3a49d3e43d8e752162e5c4a098e1c0991a7611db.tar.zst gsoc2013-evolution-3a49d3e43d8e752162e5c4a098e1c0991a7611db.zip |
This commit was generated by cvs2svn to compensate for changes in r9415,
which included commits to RCS files with non-trunk default branches.
svn path=/trunk/; revision=9416
Diffstat (limited to 'libical/src/test/testvcal.c')
-rw-r--r-- | libical/src/test/testvcal.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libical/src/test/testvcal.c b/libical/src/test/testvcal.c index 4777162623..f82adffcc8 100644 --- a/libical/src/test/testvcal.c +++ b/libical/src/test/testvcal.c @@ -41,8 +41,16 @@ int main(int argc, char* argv[]) { VObject *vcal = 0; icalcomponent *comp; + char* file; - vcal = Parse_MIME_FromFileName(argv[1]); + if (argc != 2){ + file = "../../test-data/user-cal.vcf"; + } else { + file = argv[1]; + } + + + vcal = Parse_MIME_FromFileName(file); assert(vcal != 0); |