diff options
author | Steve Huston <shuston@riverace.com> | 2005-08-25 22:51:31 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2005-08-25 22:51:31 +0000 |
commit | 665988b14fa8423e083aa67a84911dd627592c35 (patch) | |
tree | 374e94580b207d79657b791af1093a33449b8468 | |
parent | 18759155f473288829fb89ec3d938adbb25910a3 (diff) | |
download | ATCD-665988b14fa8423e083aa67a84911dd627592c35.tar.gz |
ChangeLogTag:Thu Aug 25 18:53:31 2005 Steve Huston <shuston@riverace.com>
-rw-r--r-- | tests/Array_Map_Test.cpp | 17 | ||||
-rw-r--r-- | tests/Time_Value_Test.cpp | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/tests/Array_Map_Test.cpp b/tests/Array_Map_Test.cpp index 76c989156b8..32880cea842 100644 --- a/tests/Array_Map_Test.cpp +++ b/tests/Array_Map_Test.cpp @@ -13,6 +13,21 @@ #include "test_config.h" +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ + defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +int +run_main (int, ACE_TCHAR *[]) +{ + ACE_START_TEST (ACE_TEXT ("Array_Map_Test")); + ACE_DEBUG ((LM_INFO, ACE_TEXT ("This test requires implicit templates\n"))); + ACE_END_TEST; + + return 0; +} + +#else + #include "ace/SString.h" #include "ace/Array_Map.h" @@ -482,3 +497,5 @@ run_main (int, ACE_TCHAR *[]) return (success ? 0 : -1); } + +#endif /* Requires explicit instantiation */ diff --git a/tests/Time_Value_Test.cpp b/tests/Time_Value_Test.cpp index fd77f41714b..4f7f7c5fc44 100644 --- a/tests/Time_Value_Test.cpp +++ b/tests/Time_Value_Test.cpp @@ -11,7 +11,7 @@ // = DESCRIPTION // This is a simple test of ACE_Time_Value. No command line arguments // are needed to run the test. It also tests the ACE_U_LongLong class. -// Because ACE_U_LongLong i s used for ACE_hrtime_t on some platforms, +// Because ACE_U_LongLong is used for ACE_hrtime_t on some platforms, // this seems like a reasonable place to test it. // // = AUTHOR |