Fix extensive smoke test 46/173546/2
authorSangyoon Jang <jeremy.jang@samsung.com>
Thu, 22 Mar 2018 08:06:20 +0000 (17:06 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Thu, 22 Mar 2018 08:08:10 +0000 (17:08 +0900)
commit61253ab27c9ca904349107aa444d68ec4f101379
tree62f62afb4ab050d861d6f3a71d2800d8a68d71af
parentdab87da27ad5a1a876444a3ff38ea07da5d18343
Fix extensive smoke test

Cast global environment object just once when allocating.
Use static_cast for downcasting, because we know obviously that
SmokeEnvironment class is derived from testing::Environment class.

Change-Id: I89629f81453235f7dfc526a1e796bf7396cafe89
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/unit_tests/extensive_smoke_test.cc