aboutsummaryrefslogtreecommitdiff
path: root/src/tests/taf.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-05 22:41:51 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-05 22:41:51 +0000
commitec05778d5718a7912e506764d443a78d6a6179e3 (patch)
tree78a9a01532180030c095acefc45763f07c14edb8 /src/tests/taf.cpp
parentb20414ac1fe80a71a90601f4cd1767fa7014a9ba (diff)
downloadlibbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.gz
libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.bz2
libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.xz
libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.zip
Converted tabs to spaces with tabconv.
Diffstat (limited to '')
-rw-r--r--src/tests/taf.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/tests/taf.cpp b/src/tests/taf.cpp
index e4354f7..0ba551f 100644
--- a/src/tests/taf.cpp
+++ b/src/tests/taf.cpp
@@ -10,35 +10,35 @@
10 10
11int main( int argc, char *argv[] ) 11int main( int argc, char *argv[] )
12{ 12{
13 if( argc == 1 ) 13 if( argc == 1 )
14 { 14 {
15 Bu::File f("test.taf", Bu::File::Read ); 15 Bu::File f("test.taf", Bu::File::Read );
16 Bu::TafReader tr( f ); 16 Bu::TafReader tr( f );
17 17
18 Bu::TafGroup *pGroup = tr.readGroup(); 18 Bu::TafGroup *pGroup = tr.readGroup();
19 19
20 { 20 {
21 Bu::File fo("out.taf", Bu::File::Write|Bu::File::Create ); 21 Bu::File fo("out.taf", Bu::File::Write|Bu::File::Create );
22 Bu::TafWriter tw( fo ); 22 Bu::TafWriter tw( fo );
23 tw.writeGroup( pGroup ); 23 tw.writeGroup( pGroup );
24 } 24 }
25 25
26 delete pGroup; 26 delete pGroup;
27 } 27 }
28 else if( argc == 3 ) 28 else if( argc == 3 )
29 { 29 {
30 Bu::File f( argv[1], Bu::File::Read ); 30 Bu::File f( argv[1], Bu::File::Read );
31 Bu::TafReader tr( f ); 31 Bu::TafReader tr( f );
32 32
33 Bu::TafGroup *pGroup = tr.readGroup(); 33 Bu::TafGroup *pGroup = tr.readGroup();
34 34
35 { 35 {
36 Bu::File fo( argv[2], Bu::File::Write|Bu::File::Create ); 36 Bu::File fo( argv[2], Bu::File::Write|Bu::File::Create );
37 Bu::TafWriter tw( fo ); 37 Bu::TafWriter tw( fo );
38 tw.writeGroup( pGroup ); 38 tw.writeGroup( pGroup );
39 } 39 }
40 40
41 delete pGroup; 41 delete pGroup;
42 } 42 }
43} 43}
44 44