Rev | Line | |
---|
[820] | 1 | #include "stdafx.h"
|
---|
| 2 |
|
---|
| 3 | #include <commctrl.h>
|
---|
| 4 | #include <boost/serialization/access.hpp>
|
---|
| 5 | #include <boost/serialization/split_member.hpp>
|
---|
| 6 | #include <boost/serialization/export.hpp>
|
---|
| 7 | #include <boost/range.hpp>
|
---|
| 8 |
|
---|
| 9 | #include <jenga/include/jenga.h>
|
---|
| 10 | #include <abdev/ab_common/include/ab_common.h>
|
---|
| 11 |
|
---|
| 12 | // 暫定
|
---|
| 13 | int bDebugSupportProc;
|
---|
| 14 |
|
---|
| 15 | BOOST_AUTO_TEST_CASE(TypeTest)
|
---|
| 16 | {
|
---|
| 17 | Type t;
|
---|
| 18 | BOOST_CHECK_EQUAL(t.GetBasicType(), DEF_NON);
|
---|
| 19 | BOOST_CHECK_EQUAL(t.GetIndex(), -1);
|
---|
| 20 |
|
---|
| 21 | int basicType = DEF_NON;
|
---|
| 22 | Type::StringToBasicType("Long", basicType);
|
---|
| 23 | BOOST_CHECK_EQUAL(basicType, DEF_LONG);
|
---|
[821] | 24 |
|
---|
| 25 | BOOST_CHECK_EQUAL(Type::GetBasicTypeFromSimpleName("a%"), DEF_INTEGER);
|
---|
[820] | 26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.