Parcourir la source

[trac499] Minor updates

Added newline to end of io_message.h (missed that file in a previous
update) and disabled debug messages in the IOFetch unit test.
Stephen Morris il y a 14 ans
Parent
commit
b1bc4d63d5
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      src/lib/asiolink/io_message.h
  2. 1 1
      src/lib/asiolink/tests/io_fetch_unittest.cc

+ 1 - 1
src/lib/asiolink/io_message.h

@@ -97,4 +97,4 @@ private:
 
 
 
 
 }      // asiolink
 }      // asiolink
-#endif // __IO_MESSAGE_H
+#endif // __IO_MESSAGE_H

+ 1 - 1
src/lib/asiolink/tests/io_fetch_unittest.cc

@@ -54,7 +54,7 @@ const size_t MAX_SIZE = 64 * 1024;  // Should be able to take 64kB
 
 
 // The tests are complex, so debug output has been left in (although disabled).
 // The tests are complex, so debug output has been left in (although disabled).
 // Set this to true to enable it.
 // Set this to true to enable it.
-const bool DEBUG = true;
+const bool DEBUG = false;
 
 
 /// \brief Test fixture for the asiolink::IOFetch.
 /// \brief Test fixture for the asiolink::IOFetch.
 class IOFetchTest : public virtual ::testing::Test, public virtual IOFetch::Callback
 class IOFetchTest : public virtual ::testing::Test, public virtual IOFetch::Callback