MythLogBot@irc.freenode.net :: #mythtv

Daily chat history

Current users (54):

aloril_, amessina, Anssi, blahdodo, brfransen, ChanServ, clever, davic, dym, eharris, ElmerFudd, enyc, frobnic, gary_buhrmaster, ghoti, gregbert, gregl, GreyFoxx, hampton, Hydr0p0nx, ijc, jheizer, jpabq, jpharvey__, jya, knowledgejunkie, libsci, mad_enz, Maliuta_[m], markspieth, MitchCapper, mkbloke, MythBuild, MythLogBot, MythNotifyBot, ooshlablu, Panic, peper03, poptix, pppingme, ramshadow, rhpot1991, RokLobsta, sdrik, sphery, stuarta, taylorr, Tobbe5178, tonsofpcs, tris, Warped, xris, zbot, _charly_
Sunday, December 9th, 2018, 01:01 UTC
[01:01:04] blahdodo (blahdodo!~blahdodo@69.172.190.157) has quit (Quit: Bye bye)
[01:06:46] blahdodo (blahdodo!~blahdodo@69.172.190.157) has joined #mythtv
[01:15:55] andreaz (andreaz!~andre_000@p54B5FAC1.dip0.t-ipconnect.de) has joined #mythtv
[01:17:53] andreaz (andreaz!~andre_000@p54B5FAC1.dip0.t-ipconnect.de) has quit (Client Quit)
[01:37:35] Da_Coynul (Da_Coynul!~Da_Coynul@user-0c90srd.cable.mindspring.com) has joined #mythtv
[01:37:47] Da_Coynul (Da_Coynul!~Da_Coynul@user-0c90srd.cable.mindspring.com) has quit (Client Quit)
[03:27:46] enyc (enyc!~enyc@muddle.enyc.org.uk) has quit (Ping timeout: 260 seconds)
[03:27:53] enyc (enyc!~enyc@muddle.enyc.org.uk) has joined #mythtv
[07:30:17] amessina (amessina!~amessina@unaffiliated/amessina) has quit (Quit: Konversation terminated!)
[08:22:00] SteveGoodey (SteveGoodey!~steve@host86-151-53-216.range86-151.btcentralplus.com) has joined #mythtv
[08:22:00] Mode for #mythtv by ChanServ!ChanServ@services. : +v SteveGoodey
[08:50:32] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7da3:4501:7a84:3cff:fedf:a99) has joined #mythtv
[08:50:32] Mode for #mythtv by ChanServ!ChanServ@services. : +v Steve-Goodey
[11:47:01] blahdodo (blahdodo!~blahdodo@69.172.190.157) has quit (Quit: Bye bye)
[11:47:24] blahdodo (blahdodo!~blahdodo@69.172.190.157) has joined #mythtv
[13:45:06] ijc: peterbennett: I've added another fix to https://code.mythtv.org/trac/ticket/13315, could you take another look please. IMHO these could be a candidate for the 30 release (with further, more invasive) QUrl fixes to come afterwards...
[13:46:26] Tobbe5178 (Tobbe5178!~asdf@2001:2002:51eb:d24e:8106:27e7:21e3:da6b) has quit (Read error: Connection reset by peer)
[14:15:36] Tobbe5178 (Tobbe5178!~asdf@2001:2002:51eb:d24e:84df:ddfc:5f2:937a) has joined #mythtv
[14:33:36] hampton: ijc: Would it make sense to add a couple of test cases to check the various urls you've been working with. (Not sure how you'd add tests to the backend code.)
[14:35:13] ijc: Sure, I'd love to know how ;-)
[14:35:13] ijc: I started hacking on something under mythtv/libs/libmythbase/test using the framework there to try and test the remote file stuff, but stalled at the point where I needed instantiate a front and backend to talk to each other.
[14:37:29] ijc: My actual test case right now is a mythusic playlist full of songs with tricky characters in the title, plus a mythvideo folder with Peter's ticker_1080i%25.mkv in it
[14:42:06] hampton: Interesting. There's a script in that directory called create_test.sh. If you call it like 'create_test.sh urls' it will set up a new directory for your test code. k
[14:43:04] hampton: You can then edit the .h file to add your test cases, although I prefer putting them in the .cpp file. IIRC, any function marked as a 'private slot' is a test case that will be executed.
[14:44:41] hampton: Its not well set up to test fe/be communication, but you can write cases to check the individual functions like LocalFilePath to make sure its doing the proper manipulations of the pathname.
[14:47:46] hampton: ps, there are two special test functions (initTestCase and cleanupTestCase) that are run before/after all the test cases, so you can initialize data once that can then be used for all test cases.
[14:57:19] gregl (gregl!~greg@cpe-24-194-253-7.nycap.res.rr.com) has joined #mythtv
[15:16:10] ijc: Yeah, I managed to get the framework setup ok (although I only found the script afterwards). Unfortunately just checking functions like LocalFilePath isn't really sufficient for this issue (although better than nothing I guess), we really need to be testing from the client function through to the wire protocol, since that is where things have the potential go wrong.
[17:06:28] hampton: Agreed. Interesting problem. The test code would need to link in enough of the front end to have the data path from input function to where it sends the wire protocol, and then that would have to call back to the test harness instead of sending over the wire. I'm not sure how the separate vs combined FE/BE handle things differently, but it would be interesting to see if there's a hook there (or could easily be added) to inte
[17:06:28] hampton: at point and check the list of strings. It might allow for testing a number of things without actually needing a backend available. Then there the question of whether all this code happens in one or multiple threads, how to disable the heartbeat, etc., etc.
[18:38:10] Hydr0p0nx (Hydr0p0nx!~Hydr0p0nx@66-191-154-200.dhcp.mtgm.al.charter.com) has quit (Quit: Leaving)
[19:25:13] amessina (amessina!~amessina@unaffiliated/amessina) has joined #mythtv
[20:02:40] Steve-Goodey (Steve-Goodey!~steve@2a00:23c5:7da3:4501:7a84:3cff:fedf:a99) has quit (Quit: Konversation terminated!)
[21:29:52] markspieth: I just had a quick look at a unittest in mythtv since I had never loked before. Seems to use QtTest. I see a lack of mocking support in this framework. The best framework Ive used is google test and google mock. Seems to be usable with qt too from a quick search.
[21:30:28] markspieth: This would allow isolated class testing with calls outside the class mocked out. I thing thats what you need.
[21:30:35] markspieth: s/thing/think/
[21:33:08] Hydr0p0nX (Hydr0p0nX!~hydr@66-191-154-200.dhcp.mtgm.al.charter.com) has joined #mythtv
[22:38:51] Hydr0p0nX (Hydr0p0nX!~hydr@66-191-154-200.dhcp.mtgm.al.charter.com) has quit (Ping timeout: 244 seconds)
[22:40:20] Hydr0p0nX (Hydr0p0nX!~hydr@71-91-50-140.dhcp.leds.al.charter.com) has joined #mythtv
[22:47:10] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[22:54:44] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[22:54:52] Hydr0p0nX (Hydr0p0nX!~hydr@71-91-50-140.dhcp.leds.al.charter.com) has quit (Ping timeout: 244 seconds)
[22:55:02] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[22:56:14] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[22:56:29] Hydr0p0nX (Hydr0p0nX!~hydr@66-191-154-200.dhcp.mtgm.al.charter.com) has joined #mythtv
[22:56:32] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[22:57:44] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[22:58:04] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[22:59:14] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[22:59:27] SteveGoodey (SteveGoodey!~steve@host86-151-53-216.range86-151.btcentralplus.com) has quit (Quit: Konversation terminated!)
[22:59:34] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[23:00:44] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[23:01:02] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[23:02:14] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[23:02:32] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[23:03:44] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[23:04:02] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[23:05:14] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[23:05:32] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[23:06:44] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[23:07:02] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[23:08:14] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[23:08:32] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has joined #mythtv
[23:08:37] Lavos (Lavos!~Lavos@pc-163-8-120-200.cm.vtr.net) has quit (Remote host closed the connection)
[23:23:01] Hydroponx (Hydroponx!~hydr@66-191-154-200.dhcp.mtgm.al.charter.com) has joined #mythtv
[23:26:54] Hydr0p0nX (Hydr0p0nX!~hydr@66-191-154-200.dhcp.mtgm.al.charter.com) has quit (Ping timeout: 244 seconds)
[23:27:25] Hydroponx (Hydroponx!~hydr@66-191-154-200.dhcp.mtgm.al.charter.com) has quit (Client Quit)
[23:27:41] Hydr0p0nX (Hydr0p0nX!~hydr@66-191-154-200.dhcp.mtgm.al.charter.com) has joined #mythtv

IRC Logs collected by BeirdoBot.
Please use the above link to report any bugs.