Commit Graph

26 Commits

Author SHA1 Message Date
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
179e669c06 Assume testing kafka cluster is >= 0.10 2017-10-14 08:41:33 -07:00
Matias Fontanini
bb900f21cb Allow clearing buffered messages on buffered producer 2017-04-24 20:08:26 -07:00
Matias Fontanini
aab182c4ea Allow producing messages without buffering them in buffered producer 2017-04-23 11:23:37 -07:00
Matias Fontanini
dbb547889b Allow getting consumer group information 2017-04-16 19:45:03 -07:00
Matias Fontanini
9ecad71be1 Remove Partition class 2017-04-16 14:51:06 -07:00
Matias Fontanini
f924eb68e7 Allow making no key/payload copies in BufferedProducer 2017-04-16 10:14:12 -07:00
Matias Fontanini
91cd9a2957 Make producer test work on librdkafka v0.9.4 2017-04-15 18:13:56 -07:00
Matias Fontanini
e26d7e7db2 Add MessageBuilder and use it on producer classes 2017-04-15 16:46:37 -07:00
Matias Fontanini
55f93e1f0d Add buffered producer class 2016-10-29 11:29:26 -07:00
Matias Fontanini
b768d52791 Take key before value on Producer::produce 2016-08-14 15:49:23 -07:00
Matias Fontanini
cf6ac1675b Add Error class 2016-06-27 21:43:20 -07:00
Matias Fontanini
c615664f12 Add Message::get_timestamp 2016-06-19 21:00:25 -07:00
Matias Fontanini
0fb0afc4f4 Remove zookeeper support 2016-06-16 20:22:36 -07:00
Matias Fontanini
8db1df0998 Add conversion/comparison operators to Buffer 2016-06-15 20:47:40 -07:00
Matias Fontanini
c4054eaae0 Allow constructing Buffer from a std::string 2016-06-14 19:15:46 -07:00
Matias Fontanini
9751acd8df Add some documentation 2016-06-12 17:49:11 -07:00
Matias Fontanini
0cf8369ef9 Add zookeeper support 2016-06-12 10:43:38 -07:00
Matias Fontanini
7708e945b7 Add get/query offset wrappers 2016-06-05 18:14:46 -07:00
Matias Fontanini
65a60f1690 Allow getting config options and add multiple overloads for set 2016-06-05 15:08:40 -07:00
Matias Fontanini
efd2321828 Allow setting default topic config 2016-06-05 10:04:48 -07:00
Matias Fontanini
4fccf277e0 Add partitioner callback to topic configuration 2016-06-04 19:15:32 -07:00
Matias Fontanini
8e37440f58 Add config callbacks 2016-06-04 18:16:21 -07:00
Matias Fontanini
82393b558e Add offset commit and delivery report callbacks 2016-05-31 07:26:31 -07:00
Matias Fontanini
6374062f47 Add more tests to producer 2016-05-23 21:03:34 -07:00
Matias Fontanini
4475209ce1 Add first producer test 2016-05-22 19:47:23 -07:00