Home
last modified time | relevance | path

Searched hist:"210 ff133226358545a9f991482152fad18a1710a" (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/_test/core/
H A DDokuWikiTest.php210ff133226358545a9f991482152fad18a1710a Fri Apr 13 07:06:27 UTC 2018 Andreas Gohr <andi@splitbrain.org> make testing of inaccessible methods easier

While it's generally frowned upon testing privates, it can often be
useful and the easier way to write tests. Eg you want to test something
complicated method that is important, but you do not want to expose it
directly to other classes...

This new method uses reflection to make access to such methods possible
from within tests without the need for intermediate classes.