diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-22 14:27:46 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-22 14:27:46 +0100 |
commit | 0dc2cc6503386c809266ad6564ba675803cf8cc7 (patch) | |
tree | 22377de0f4307c40f1ce04599922dc6e6346b107 /test | |
parent | 46309b7bb5795ac15fc7953deb13c98c90040cad (diff) | |
download | ble-toys-0dc2cc6503386c809266ad6564ba675803cf8cc7.tar.gz ble-toys-0dc2cc6503386c809266ad6564ba675803cf8cc7.tar.bz2 ble-toys-0dc2cc6503386c809266ad6564ba675803cf8cc7.tar.xz ble-toys-0dc2cc6503386c809266ad6564ba675803cf8cc7.zip |
o First version of a tool to continuously read and discover serial ports.
Diffstat (limited to 'test')
-rw-r--r-- | test/SoilMoistureIoTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SoilMoistureIoTest.cpp b/test/SoilMoistureIoTest.cpp index 3e62b05..e7889d0 100644 --- a/test/SoilMoistureIoTest.cpp +++ b/test/SoilMoistureIoTest.cpp @@ -11,7 +11,7 @@ BOOST_AUTO_TEST_CASE(key_value_parser) { auto buffer = make_shared<VectorSampleOutputStream>(); - auto parser = new KeyValueSampleParser(buffer, dict); + auto parser = new KeyValueSampleStreamParser(buffer, dict); char data[] = "a=1, b=2, c=3\n"; parser->process(boost::asio::buffer(data, sizeof(data))); @@ -34,7 +34,7 @@ BOOST_AUTO_TEST_CASE(key_value_parser_with_custom_dict) { auto buffer = make_shared<VectorSampleOutputStream>(); - auto parser = new KeyValueSampleParser(buffer, dict); + auto parser = new KeyValueSampleStreamParser(buffer, dict); char data[] = "a=1, b=2, c=3\n"; parser->process(boost::asio::buffer(data, sizeof(data))); |