Commit Graph

6 Commits

Author SHA1 Message Date
accelerated
0b7931bfb8 Added Buffer::Buffer(iter, iter) constructor overload 2018-12-02 14:42:02 -05:00
Alex Damian
b8f4be5e1b Increase buffer construction requirements (#88)
* Fix crash in Buffer with null pointer and non-zero length

* Throw inside Buffer constructor instead
2018-06-18 09:09:48 -07:00
Matias Fontanini
cb2c8877d8 Move tests to use catch instead of googletest (#56)
* Port buffer test to use Catch2

* Move compacted topic processor test to Catch2

* Move configuration tests to Catch2

* Rename configuration test cases

* Move topic partition list test to Catch2

* Move handle base tests to Catch2

* Move producer tests to Catch2

* Move consumer tests to catch2

* Use CHECK on tests when appropriate

* Remove googletest

* Show tests' progress as they run

* Update message when Catch2 is not checked out

* Remove references to googletest

* Run cppkafka_tests manually on travis

* Print amount of time taken by each test case
2018-04-24 03:20:48 +01:00
Matias Fontanini
895a983d17 Allow constructing Buffers from std::vector 2017-06-04 08:32:19 -07:00
Matias Fontanini
e1c2ee34fe Add iterators to Buffer 2016-06-16 07:46:55 -07:00
Matias Fontanini
8db1df0998 Add conversion/comparison operators to Buffer 2016-06-15 20:47:40 -07:00