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

December 2025

S M T W T F S
  12 3 4 56
7 8910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 12th, 2025 02:55 am
Powered by Dreamwidth Studios