encoding_test.cpp File Reference

#include <stdio.h>
#include <string>
#include <cassert>
#include "tut.h"
#include "tut_reporter.h"
#include "encoding.h"
Include dependency graph for encoding_test.cpp:

Go to the source code of this file.

Data Structures

struct  tut::empty

Namespaces

namespace  tut

Defines

#define BUFSIZE   1024

Functions

tf tut::interface_ptr_group ("encoding test")
int main ()

Define Documentation

#define BUFSIZE   1024

Copyright (C) 2008 iRex Technologies B.V. All rights reserved.

Definition at line 36 of file encoding_test.cpp.


Function Documentation

int main (  ) 

Definition at line 107 of file encoding_test.cpp.

References tut::runner.

00108 {
00109     tut::reporter reporter;
00110     tut::runner.get().set_callback(&reporter);
00111 
00112     try
00113     {
00114         tut::runner.get().run_tests();
00115     }
00116     catch (const std::exception& ex)
00117     {
00118         cerr << "tut raised ex: " << ex.what() << endl;
00119         return 1;
00120     }
00121 
00122     return 0;
00123 }

Generated by  doxygen 1.6.2-20100208