]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a lot more output
authorMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 21 Aug 2013 05:44:33 +0000 (05:44 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 21 Aug 2013 05:44:33 +0000 (05:44 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30366 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/data_out_reader_01.cc
tests/base/index_set_readwrite_01.cc
tests/base/index_set_readwrite_02.cc
tests/base/index_set_readwrite_03.cc

index 2bc183332012a613caafd1ba61879e6b913c8c2d..6451ef7a3106de38a1046e940dbb67eab01567a3 100644 (file)
@@ -75,12 +75,12 @@ void check()
   data.merge (additional_data);
 
   {
-    std::ofstream out2( "data_out_reader_01/outfile");
+    std::ofstream out2( "outfile");
     data.write_deal_II_intermediate (out2);
   }
 
-  cat_file("data_out_reader_01/outfile");
-  std::remove ("data_out_reader_01/outfile");
+  cat_file("outfile");
+  std::remove ("outfile");
 }
 
 
index f0460a87fe2649bb031b4cd1e9521694f4cc7141..001f6d75bbd7098e35e407be5102c6d1c7ba3d39 100644 (file)
@@ -35,10 +35,10 @@ void test ()
   is1.add_range(0,10);
   is1.add_range(20,100);
 
-  std::ofstream out("index_set_readwrite_01/a.idxset");
+  std::ofstream out("a.idxset");
   is1.write(out);
   IndexSet is2;
-  std::ifstream in("index_set_readwrite_01/a.idxset");
+  std::ifstream in("a.idxset");
   is2.read(in);
 
   Assert(is1 == is2, ExcInternalError());
@@ -46,14 +46,14 @@ void test ()
 
   IndexSet is3(11);
   is3.add_range(3,5);
-  std::ifstream in2("index_set_readwrite_01/a.idxset");
+  std::ifstream in2("a.idxset");
   is3.read(in2);
 
   Assert(is1 == is3, ExcInternalError());
 
   deallog << "OK" << std::endl;
 
-  std::remove ("index_set_readwrite_01/a.idxset");
+  std::remove ("a.idxset");
 }
 
 
index 458810942e1c85441fc8b8d30b4121d4323a8556..c08e5f944766511792e2422a73c88a21a94e5117 100644 (file)
@@ -36,12 +36,12 @@ void test ()
   is1.add_range(20,100);
 
   {
-    std::ofstream out("index_set_readwrite_02/a.idxset");
+    std::ofstream out("a.idxset");
     is1.block_write(out);
   }
 
   IndexSet is2;
-  std::ifstream in("index_set_readwrite_02/a.idxset");
+  std::ifstream in("a.idxset");
   is2.block_read(in);
 
   Assert(is1 == is2, ExcInternalError());
@@ -49,14 +49,14 @@ void test ()
 
   IndexSet is3(11);
   is3.add_range(3,5);
-  std::ifstream in2("index_set_readwrite_02/a.idxset");
+  std::ifstream in2("a.idxset");
   is3.block_read(in2);
 
   Assert(is1 == is3, ExcInternalError());
 
   deallog << "OK" << std::endl;
 
-  std::remove ("index_set_readwrite_02/a.idxset");
+  std::remove ("a.idxset");
 }
 
 
index f81427de6c4b93cbc019013868e445975c105973..28832bb910969dfed0a6aea3f9e2c99b6a1c72f4 100644 (file)
@@ -36,12 +36,12 @@ void test ()
   is1.add_range(0,75);
 
   {
-    std::ofstream out("index_set_readwrite_03/a.idxset");
+    std::ofstream out("a.idxset");
     is1.block_write(out);
   }
 
   IndexSet is2;
-  std::ifstream in("index_set_readwrite_03/a.idxset");
+  std::ifstream in("a.idxset");
   is2.block_read(in);
 
   Assert(is1 == is2, ExcInternalError());
@@ -50,7 +50,7 @@ void test ()
   
   deallog << "OK" << std::endl;
 
-  std::remove ("index_set_readwrite_03/a.idxset");
+  std::remove ("a.idxset");
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.