~ubuntu-branches/ubuntu/natty/mimetic/natty

« back to all changes in this revision

Viewing changes to test/t.tokenizer.h

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2006-06-16 13:16:07 UTC
  • Revision ID: james.westby@ubuntu.com-20060616131607-245mqjypkjuahq6b
Tags: upstream-0.9.1
ImportĀ upstreamĀ versionĀ 0.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _T_TOKENIZER_H_
 
2
#define _T_TOKENIZER_H_
 
3
#include <string>
 
4
#include <mimetic/tokenizer.h>
 
5
#include "cutee.h"
 
6
 
 
7
 
 
8
namespace mimetic
 
9
{
 
10
 
 
11
template<int sz>
 
12
struct test_item
 
13
{
 
14
    enum { part_count = sz };
 
15
    char *input;
 
16
    char *delims;
 
17
    char *part[sz];
 
18
};
 
19
 
 
20
class TEST_CLASS( test_tokenizer )
 
21
{
 
22
    static struct test_item<2> test_2[];
 
23
    static const int test_count;
 
24
public:
 
25
    void TEST_FUNCTION( testTwo );
 
26
};
 
27
 
 
28
}
 
29
 
 
30
#endif
 
31