Commit Graph

277 Commits (master)

Author SHA1 Message Date
Robert Gerus fe569360ae Add tests to roll 2015-12-10 23:07:18 +01:00
Robert Gerus 288e0d6857 Make roll act more like a real dice. 2015-12-10 22:59:23 +01:00
Robert Gerus dee7a7cd73 Add dice-roll plugin. 2015-12-10 22:53:10 +01:00
Robert Gerus e17f1f4f98 Disabling one plugin could disable others… fixed. 2015-12-09 15:51:38 +01:00
Robert Gerus 24fd90d0a4 Bonjourmadame is down. 2015-12-09 15:47:59 +01:00
Robert Gerus cd9b640034 No chance of hitting those errors. 2015-12-09 11:50:13 +01:00
Robert Gerus e64da6b1fb There's no realistic way of hitting these errors. 2015-12-09 11:40:18 +01:00
Robert Gerus 25a2a1b2c2 Fix data race. 2015-12-09 11:27:55 +01:00
Robert Gerus 8fe326d3e4 Fix a possible panic. 2015-12-09 10:23:54 +01:00
Robert Gerus cf9ef1fe60 Enable IRC notifications. 2015-12-09 09:40:49 +01:00
Robert S. Gerus cdfd324a24 Merge pull request #36 from arachnist/configurable-file-paths
Make dictionary paths configurable.
2015-12-09 09:25:27 +01:00
Robert Gerus dbe204ba5c Dictionary for "papież" is now configurable. 2015-12-09 09:01:22 +01:00
Robert Gerus 3d21ac9c7b Fix locking. 2015-12-09 08:52:02 +01:00
Robert Gerus 421c9394a7 Dictionaries for "jan" are now configurable. 2015-12-09 08:47:18 +01:00
Robert Gerus 3bcb605320 Make sure we remain race-free in test suite. 2015-12-09 02:07:16 +01:00
Robert Gerus a33117ebd6 Fix remaining data races in test suite. 2015-12-09 02:05:03 +01:00
Robert Gerus 7fb66c985c Reduce the number of data races to 11. 2015-12-09 01:58:11 +01:00
Robert Gerus 643c307d07 Fix data race in bot package.
Still 22 data reces remain in irc package…
2015-12-09 01:38:00 +01:00
Robert Gerus c0ea35f760 No need to go through Dispatcher.
The path we're hitting is already well tested - 225 times actually, according to
coveralls.
2015-12-09 01:03:01 +01:00
Robert Gerus bc0756c86c Wording. 2015-12-09 00:41:18 +01:00
Robert Gerus 68d23ad4f9 Add a missing testcase for :seen. 2015-12-09 00:26:03 +01:00
Robert Gerus 80581ffb36 Get precise info from CI about tests. 2015-12-09 00:15:06 +01:00
Robert Gerus 44ecf6306c Add correct tests for seenrecord/seen. 2015-12-09 00:08:19 +01:00
Robert Gerus 24372a9ad1 Fix a panic on QUIT message. 2015-12-09 00:07:03 +01:00
Robert Gerus 0323bcd2a5 :seen for a NOTICE would've been sad. 2015-12-08 21:13:02 +01:00
Robert Gerus fa0723391d QUIT messages were not recorded.
They have empty "Params" field in irc message.
2015-12-08 20:57:11 +01:00
Robert S. Gerus 655418c6ac Merge pull request #34 from arachnist/test-kt-backed-plugins
Add framework for testing plugins that use kyototycoon
2015-12-08 06:23:14 +01:00
Robert S. Gerus 744bc0c01e Merge pull request #33 from arachnist/missing-tests
Move tests that expect no response.
2015-12-08 06:20:11 +01:00
Robert Gerus bb519abdf8 Move tests that expect no response. 2015-12-08 06:18:02 +01:00
Robert Gerus 818431a039 This test is bad and i should feel bad. 2015-12-07 12:23:11 +01:00
Robert Gerus b09c1d15d1 Add a better test for seen. 2015-12-07 11:10:05 +01:00
Robert Gerus 382cc372ea All aboard the fail train. 2015-12-07 10:54:11 +01:00
Robert Gerus 648e59acea Basic test for :seen. 2015-12-07 10:49:23 +01:00
Robert Gerus 67ef252f77 Adjustments to before_install according to docs. 2015-12-07 10:17:13 +01:00
Robert Gerus 1f5db16531 Install and run kyototycoon before running tests. 2015-12-07 10:03:04 +01:00
Robert S. Gerus b691605c2a Merge pull request #30 from arachnist/missing-tests
Add some of the missing tests
2015-12-07 01:38:45 +01:00
Robert Gerus 6606ab7975 Improve the test "framework" a bit. 2015-12-07 01:31:02 +01:00
Robert Gerus 6c99ab743b We only use go1.5 anyway now. 2015-12-07 01:09:59 +01:00
Robert Gerus 43e9508ece Add more linktitle tests. 2015-12-07 00:58:53 +01:00
Robert Gerus bbf7f81216 Add more tests for nickserv. 2015-12-07 00:32:06 +01:00
Robert Gerus c6be66a6b1 Add tests for google, linktitle and nickserv. 2015-12-07 00:23:39 +01:00
Robert Gerus b3bde638af Add tests for :pick 2015-12-06 14:00:59 +01:00
Robert Gerus 2fce62c9a7 Add coveralls.io badge.
It doesn't look very good yet.
2015-12-06 12:57:23 +01:00
Robert Gerus 960292f895 Try again with overalls. 2015-12-06 12:50:20 +01:00
Robert Gerus ace9844824 Enable coveralls.io integration. 2015-12-06 12:29:51 +01:00
Robert Gerus 6c413653aa Don't always spoil the link contents with title. 2015-12-06 11:58:24 +01:00
Robert Gerus f837889e2a Missing copyright header. 2015-12-05 10:23:17 +01:00
Robert Gerus 24965d6756 Attempt to recode iso8859-2 title strings.
Fixes #25
2015-12-05 04:55:54 +01:00
Robert Gerus 8906d2ec86 Increase tls and http timeout.
It doesn't hurt us, because it's running in a goroutine anyway.
Fixes #26.
2015-12-05 04:20:02 +01:00
Robert Gerus a24f4bf592 Rename variables and fix a memleak.
You really shouldn't use single-letter variable names.
Also, it turns out that xpaths from gokogiri need to be freed.
2015-12-05 03:39:49 +01:00