diff options
author | telsoa01 <telmo.soares@arm.com> | 2018-08-31 09:31:35 +0100 |
---|---|---|
committer | telsoa01 <telmo.soares@arm.com> | 2018-08-31 09:31:35 +0100 |
commit | ce3e84a8d449cbf31cee57e30f0eef6a96c0ce94 (patch) | |
tree | 77a769e27879fb712027c990071b061c5e0e3b60 /test/Tests.cpp | |
parent | deb3bdbe028a59da0759dd7a560387d03a11d322 (diff) | |
download | android-nn-driver-ce3e84a8d449cbf31cee57e30f0eef6a96c0ce94.tar.gz |
Release 18.08
Diffstat (limited to 'test/Tests.cpp')
-rw-r--r-- | test/Tests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Tests.cpp b/test/Tests.cpp index 3fa8e125..df98b2ca 100644 --- a/test/Tests.cpp +++ b/test/Tests.cpp @@ -11,9 +11,9 @@ BOOST_AUTO_TEST_SUITE(DriverTests) -using ArmnnDriver = armnn_driver::ArmnnDriver; -using DriverOptions = armnn_driver::DriverOptions; +using namespace android::hardware; using namespace driverTestHelpers; +using namespace armnn_driver; BOOST_AUTO_TEST_CASE(Init) { @@ -31,9 +31,9 @@ BOOST_AUTO_TEST_CASE(TestCapabilities) auto driver = std::make_unique<ArmnnDriver>(DriverOptions(armnn::Compute::CpuRef)); ErrorStatus error; - V1_0::Capabilities cap; + neuralnetworks::V1_0::Capabilities cap; - ArmnnDriver::getCapabilities_cb cb = [&](ErrorStatus status, const V1_0::Capabilities& capabilities) + auto cb = [&](ErrorStatus status, const neuralnetworks::V1_0::Capabilities& capabilities) { error = status; cap = capabilities; |