1 
//////////////////////////////////////////////////////////////////////////////
2 
//            CTA++, C++ Test Aider/Visual Studio Integration v2.0          //
3 
//                                                                          //
4 
//                       GENERATED TEST DATA FILE                           //
5 
//                                                                          //
6 
//            Copyright (c) [generated parts] 2003-2004 Testwell Oy         //
7 
//////////////////////////////////////////////////////////////////////////////
8 
//
9 
// CTA/VSI: File created: Jan 22 2004 12:01:10
10 
// CTA/VSI: - for test bed project: vsList
11 
// CTA/VSI: - into directory: E:\devel\cta302\examples\vsList\
12 
// CTA/VSI: Last CTA/VSI update: Jan 22 2004 12:01:10
13 
// Last user update: <date> (when edit, you may wish to maintain this)
14 
// 
15 
// Here you may wish to insert version control hooks, like
16 
// $RCSfile$, $Revision$, $Date$, $Author$ and $Log$ 
17 
// 
18 
// Note 1. Lines starting with '// CTA/VSI:' are auxiliary lines to 
19 
// CTA++/Visual Studio Integration. DO NOT EDIT THESE LINES!
20 
// Note 2. Lines starting with '// TODO:' advises where especially you
21 
// can and sometimes must insert test code. You can edit these freely.
22 
//////////////////////////////////////////////////////////////////////////////
23 
//
24 
// Short introduction to CTA++ data files (edit away, if not needed).
25 
// It might be like...
26 
// #include "myheader1.h" // for seeing its #define and enum symbols...
27 
// #define HUNDRED 100    // locally defined symbolic (integral) value
28 
// #define BITMASK 0xffff0777
29 
// enum {Mon, Tue, Wed, Thu, Fri} // define some symbolic constants to 0 ... 4
30 
//
31 
// testdata "ID" {      // "ID@filename" used in test case registration...
32 
//    (1, 4, 5, true),
33 
//    (1, 4, HUNDRED, false),
34 
//    ...
35 
// }
36 
//
37 
// TESTDATA "ID2" {
38 
//    (Mon, "26.2.2002"),
39 
//    (Tue, "27.2.2002"),
40 
//    (Tue, "27.02.2002")
41 
// }
42 
//
43 
// TODO: Edit the actual data file contents below
44 
//
45 
// Test-data file for testing of class 'List'
46 
//
47 
// ----------------------------------------------------------------------
48 
// Let's define some symbolic constants
49 
// ----------------------------------------------------------------------
50 
51 
enum { ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX }
52 
53 
// ----------------------------------------------------------------------
54 
// This is a data section associated to the test-case function
55 
// 'CTA_test_case_2' in CTA_vsList_drv.cpp; 
56 
// three (3) actual test cases are composed by coupling the
57 
// separate data sets below with the test-case function.
58 
// ----------------------------------------------------------------------
59 
60 
testdata "2" {
61 
    (ONE, 1, 2, SIX, -234789, 42, 64),
62 
    (TWO, 18, 2, FIVE, 344, 12, 32, THREE, 1, 2, FOUR, -234789, 42, 64),
63 
    (FOUR, 1, 2, ZERO, -234789, 42, 16)
64 
}
65 
66 
// ----------------------------------------------------------------------
67 
// In the data section below there is only a single data set,
68 
// consisting of 17 string literals
69 
// ----------------------------------------------------------------------
70 
71 
testdata "3" {
72 
    ("a long time ago", "came a man on a track",
73 
     "walking thirty miles", "with a sack on his back",
74 
     "he put down his load", "where he thought it was the best",
75 
     "he made a home in the wilderness",
76 
     "he built a cabin", "and a winter store",
77 
     "he ploughed up the ground", "by a cold lake shore",
78 
     "and other travellers", "came walking down the track",
79 
     "they never went further", "they never went back",
80 
     "and the dirty old track", "was the telegraph road")
81 
}
82 
83 
// CTA/VSI: Define test data above
84 
//
85 
// EOF