2015-08-01 GnuCash IRC logs

00:36:16 *** cfoch has quit IRC
00:50:57 *** cfoch has joined #gnucash
01:12:38 *** MechtiIde has joined #gnucash
01:49:47 *** cfoch has quit IRC
02:03:13 *** cfoch has joined #gnucash
03:27:42 *** O01eg has quit IRC
03:28:28 *** MechtiIde has quit IRC
03:36:25 *** gjanssens has joined #gnucash
03:36:25 *** ChanServ sets mode: +o gjanssens
03:41:01 *** fabior has joined #gnucash
04:07:33 *** uXuss has joined #gnucash
04:08:22 *** uXus has quit IRC
04:46:56 *** Nytram has joined #gnucash
04:50:52 *** Nytram has quit IRC
05:12:21 *** andy has quit IRC
05:14:52 *** fell has joined #gnucash
05:21:23 *** andy has joined #gnucash
05:53:23 *** cfoch has quit IRC
06:36:13 *** uXuss has quit IRC
06:41:11 *** fabior has quit IRC
07:00:37 *** uXus has joined #gnucash
07:10:01 *** Jimraehl1 has left #gnucash
07:18:48 *** Jimraehl1 has joined #gnucash
07:34:33 *** uXus has quit IRC
07:58:56 *** uXus has joined #gnucash
08:14:01 *** himaxx has joined #gnucash
08:15:18 *** uXus has quit IRC
08:19:44 *** uXus has joined #gnucash
08:20:59 *** himaxx has quit IRC
08:35:57 *** uXus has quit IRC
09:08:15 *** fabior has joined #gnucash
10:41:01 <gjanssens> Can/should one test static, internally used only functions ?
10:41:07 <gjanssens> If so, how ?
10:41:32 <gjanssens> I mean, how can I make such a function visible in the test program ?
10:49:32 *** himaxx has joined #gnucash
11:01:00 *** uXus has joined #gnucash
11:16:11 *** himaxx has joined #gnucash
11:34:44 *** fell has quit IRC
12:19:15 *** fell has joined #gnucash
12:29:05 *** gjanssens has quit IRC
13:53:56 *** cfoch has joined #gnucash
14:41:10 <jralls> @tell gjanssens Usually no: Static functions are supposed to be implementation details. However in our legacy code it sometimes makes more sense to test the static implementation as the first step of a refactoring. I took that approach in a few cases in utest-Transaction, utest-Split, and utest-Account.
14:41:10 <gncbot> jralls: The operation succeeded.
14:46:21 <jralls> @tell gjanssens The way I did it was to create a struct of pointers to the static functions and a function that initializes the struct and returns a pointer to it. I include that struct* in Fixture and call the init function in setup (or SetUp if you're using Google Test), then free it in teardown (or TearDown).
14:46:23 <gncbot> jralls: The operation succeeded.
14:48:52 *** fell_ has joined #gnucash
14:50:45 *** fell has quit IRC
15:12:57 <jralls> warlord: In light of our newish git workflow ISTM we should have the documentation nightlies build against maint rather than master. Where is that configured?
15:27:13 *** fabior has quit IRC
15:44:10 *** MechtiIde has joined #gnucash
16:06:05 *** cfoch has quit IRC
16:21:15 *** MechtiIde has quit IRC
16:30:17 *** cfoch has joined #gnucash
17:17:11 *** cfoch has quit IRC
18:07:38 *** cartsoftware has quit IRC
18:18:25 *** cartsoftware has joined #gnucash
19:52:50 *** cfoch has joined #gnucash
22:44:53 *** andy has quit IRC