sca-assembly message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: NEW ISSUE: Namespace and header file location updates C++ test artifacts
- From: Bryan Aupperle <aupperle@us.ibm.com>
- To: sca-assembly@lists.oasis-open.org
- Date: Tue, 30 Mar 2010 15:02:32 -0400
Target: C++ test suite
Description: The C-C++ TC recently
fixed an error in one of the SCA C++ header files to add missing namespace
qualifiers for two SDO related return types (ComponentContext::getProperties
returns a DataObjectPtr and ComponentContext::getDataFactory returns a
DataFactoryPtr). ComponentContext::getProperties is used in nearly
every service implementation in the test suite.
The test artifacts currently do not
follow C++ conventions about directory structure of header files in namespaces
(i.e. a namespace of oasis::sca implies the header files are in ...\oasis\sca).
Proposal:
1) Prefix all instances of DataObjectPtr
with commonj::sdo::
2) Change all #include "sdo.h"
to #include "commonj/sdo/sdo.h"
3) Change all imports of sca header
files to be in a oasis/sca directory e.g. #include "ComponentContext.h"
becomes #include "oasis/sca/ComponentContext.h"
Bryan Aupperle, Ph.D.
STSM, WebSphere Enterprise Platform Software Solution Architect
Research Triangle Park, NC
+1 919-254-7508 (T/L 444-7508)
Internet Address: aupperle@us.ibm.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]