cloudstack/utils
Alexandre Limas Santana 8d6370b21f Fixed Profiler's unit tests bugs.
Problem:
The TestProfiler class was using Java Thread methods to test the
Profiler's functionality. That was causing the tests to fail sometimes
since the JVM's thread priority could be low on some OS. 

Fix:
Using PowerMockito to mock the System calls, the threads could be
removed. This makes the tests considerably faster, OS independent and
still guarantees the correct implementation of the Profiler class.

The changes on the Profiler's class was only to shorten the class's line
size by not assigning the return value to a variable returning it
straight out.
2016-03-19 16:35:25 -03:00
..
bindir fixing utils license header 2012-06-06 23:06:02 -04:00
conf CLOUDSTACK-8433: remove awsapi db usage and add upgrade cleanup path 2015-05-06 15:22:04 +02:00
src Fixed Profiler's unit tests bugs. 2016-03-19 16:35:25 -03:00
pom.xml Updating pom.xml version numbers for release 4.9.0-SNAPSHOT 2016-01-26 15:12:20 +01:00