diff options
Diffstat (limited to 'test/ipa/ipa_interface_test.cpp')
-rw-r--r-- | test/ipa/ipa_interface_test.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/ipa/ipa_interface_test.cpp b/test/ipa/ipa_interface_test.cpp index 43562e60..3c0df843 100644 --- a/test/ipa/ipa_interface_test.cpp +++ b/test/ipa/ipa_interface_test.cpp @@ -27,8 +27,9 @@ #include "test.h" -using namespace std; using namespace libcamera; +using namespace std; +using namespace std::chrono_literals; class IPAInterfaceTest : public Test, public Object { @@ -111,7 +112,7 @@ protected: return TestFail; } - timer.start(1000); + timer.start(1000ms); while (timer.isRunning() && trace_ != ipa::vimc::IPAOperationInit) dispatcher->processEvents(); @@ -123,7 +124,7 @@ protected: /* Test start of IPA module. */ ipa_->start(); - timer.start(1000); + timer.start(1000ms); while (timer.isRunning() && trace_ != ipa::vimc::IPAOperationStart) dispatcher->processEvents(); @@ -134,7 +135,7 @@ protected: /* Test stop of IPA module. */ ipa_->stop(); - timer.start(1000); + timer.start(1000ms); while (timer.isRunning() && trace_ != ipa::vimc::IPAOperationStop) dispatcher->processEvents(); |