]> sigrok.org Git - pulseview.git/blobdiff - test/test.cpp
Include suggested changes by clang-tidy
[pulseview.git] / test / test.cpp
index 2c278c04e650a1eb9b090eff0e5c4d254510ad7c..1f078ab4f8a3104a1a118caabe8027fcdd2961cc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of the sigrok project.
+ * This file is part of the PulseView project.
  *
  * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
  *
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #define BOOST_TEST_MAIN
+#include "test/test.hpp"
 #include <boost/test/unit_test.hpp>
+
+using std::ostream;
+
+ostream& operator<<(ostream& stream, const QString& str)
+{
+       return stream << str.toUtf8().data();
+}