]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/streams/filestream.cpp
fixes potential crash under gatekeeper
[wxWidgets.git] / tests / streams / filestream.cpp
index ccec25fd476f3603af2703698ff1cb38d917c096..d23ea8bd867d01354e85030a0cb3d7c78888231b 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Hans Van Leemputten
 // RCS-ID:      $Id$
 // Copyright:   (c) 2004 Hans Van Leemputten
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // For compilers that support precompilation, includes "wx/wx.h".
@@ -26,8 +26,8 @@
 
 #define DATABUFFER_SIZE     1024
 
-static const wxString FILENAME_FILEINSTREAM = _T("fileinstream.test");
-static const wxString FILENAME_FILEOUTSTREAM = _T("fileoutstream.test");
+static const wxString FILENAME_FILEINSTREAM = wxT("fileinstream.test");
+static const wxString FILENAME_FILEOUTSTREAM = wxT("fileoutstream.test");
 
 ///////////////////////////////////////////////////////////////////////////////
 // The test case
@@ -47,6 +47,7 @@ public:
         CPPUNIT_TEST(Input_Read);
         CPPUNIT_TEST(Input_Eof);
         CPPUNIT_TEST(Input_LastRead);
+        CPPUNIT_TEST(Input_CanRead);
         CPPUNIT_TEST(Input_SeekI);
         CPPUNIT_TEST(Input_TellI);
         CPPUNIT_TEST(Input_Peek);