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

November 2025

S M T W T F S
       1
23456 7 8
9 1011 12 1314 15
16171819 202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Nov. 20th, 2025 09:13 am
Powered by Dreamwidth Studios