Use std::queue in InputConsumer_test
It's currently using BlockingQueue, which is designed to be used when more than one thread is involved. Since these tests are single-threaded, we should use a regular structure. That way, things like calling ".pop" on an empty container won't block indefinitely (which I accidentally did when developing some tests in that file). Bug: 297226446 Flag: EXEMPT refactor Test: TEST=libinput_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST Change-Id: I5bceff32605431eb0571d5f9fafbb61427f78275
Loading
Please register or sign in to comment