Jul. 16th, 2011

juan_gandhi: (Default)
25,200

upd: year 2018: 25,300

MockClock

Jul. 16th, 2011 08:45 pm
juan_gandhi: (Default)
Just figured that by replacing System.currentTimeMillis() with clock.now(), whereby clock is injected, I can easily mock the discrepancy in time between different nodes, eh. A side-effect of good testing practices.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

September 2025

S M T W T F S
 1 23456
78910111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 4th, 2025 12:34 pm
Powered by Dreamwidth Studios