Add UnitTest for "Resource Broker"
authordoil.kwon <doil.kwon@samsung.com>
Mon, 20 Jul 2015 01:48:48 +0000 (10:48 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 20 Jul 2015 03:48:45 +0000 (03:48 +0000)
commitd94c7d5bf3be18fa281570f80bf58ead2a7380e7
tree7fe46903105927d3d452987b298f3502a1582196
parent7e25b6a3529e558a2b729955e31d8b0125749425
Add UnitTest for "Resource Broker"

- Modify Sconscript to build UnitTest

- Add UnitTest Code After Generating "UnitTest" Folder

Add API for "DeviceAssociation" and "ResourcePresence"

- for checking empty list

- for checking list size

Modify Code to support 4.6 compiler

Modify White Space

Change-Id: I70c56d77da3540b95048fd13baa18b6044321115
Signed-off-by: doil.kwon <doil.kwon@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1742
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/resource-manipulation/src/resourceBroker/SConscript
service/resource-manipulation/src/resourceBroker/include/DeviceAssociation.h
service/resource-manipulation/src/resourceBroker/include/ResourcePresence.h
service/resource-manipulation/src/resourceBroker/src/DeviceAssociation.cpp
service/resource-manipulation/src/resourceBroker/src/ResourcePresence.cpp
service/resource-manipulation/src/resourceBroker/unittest/DeviceAssociationUnitTest.cpp [new file with mode: 0755]
service/resource-manipulation/src/resourceBroker/unittest/DevicePresenceUnitTest.cpp [new file with mode: 0755]
service/resource-manipulation/src/resourceBroker/unittest/ResourceBrokerUnitTest.cpp [new file with mode: 0755]
service/resource-manipulation/src/resourceBroker/unittest/ResourcePresenceUnitTest.cpp [new file with mode: 0755]