> On 2010-12-23 17:29:10, Aleric Inglewood wrote: > > indra/llkdu/llimagej2ckdu.h, line 58 > > <http://codereview.secondlife.com/r/63/diff/1/?file=255#file255line58> > > > > This feels wrong. Those functions are implementations of the base class > > interface, they are called by the base class: if they need to be called > > directly, something is wrong. > > > > If this is made public because the unit test needs access, then instead > > add a friend for the unit test class. > >
After reading the other comments, I had to add that accessing them by inheritance would definitely be more clean. - Aleric ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://codereview.secondlife.com/r/63/#review78 ----------------------------------------------------------- On 2010-12-22 23:51:18, Merov Linden wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://codereview.secondlife.com/r/63/ > ----------------------------------------------------------- > > (Updated 2010-12-22 23:51:18) > > > Review request for Viewer. > > > Summary > ------- > > Unit tests addition: > - add tests for llkdu > - turned back on and fix unit tests for llimage > - turned back on and fix unit tests for llworldmap and llworldmipmap > > > This addresses bug STORM-744. > http://jira.secondlife.com/browse/STORM-744 > > > Diffs > ----- > > indra/llimage/CMakeLists.txt 5d69e36a53ee > indra/llimage/tests/llimageworker_test.cpp 5d69e36a53ee > indra/llkdu/CMakeLists.txt 5d69e36a53ee > indra/llkdu/llimagej2ckdu.h 5d69e36a53ee > indra/llkdu/tests/llimagej2ckdu_test.cpp PRE-CREATION > indra/newview/CMakeLists.txt 5d69e36a53ee > indra/newview/tests/llworldmap_test.cpp 5d69e36a53ee > indra/newview/tests/llworldmipmap_test.cpp 5d69e36a53ee > > Diff: http://codereview.secondlife.com/r/63/diff > > > Testing > ------- > > > Thanks, > > Merov > >
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges