Permissions test all

The test : can start with an empty database,

i) Set's up users and groups.
ii) Creates image objects and links them to users.
iii) Annotates all Images(All users/groups :  Exhaustively).
iv) TESTS moves between all groups (Exhaustively).

To test, (via commandline)
export ICE_CONFIG=<PATH TO ICE CONFIG>
ex:
export ICE_CONFIG=/Users/bramalingam/OME/openmicroscopy/dist/etc/ice.config

then, (cd into the local git repository --> openmicroscopy)
./build.py -f components/tools/OmeroJava/build.xml test -DTEST=integration/PermissionsTestAll

--The test should take around 9 minutes.
--The result should look something like this : 

Ant suite

Total tests run: 764, Failures: 1, Skips: 0

===============================================

[TestNG] Time taken by org.uncommons.reportng.JUnitXMLReporter@5c9ddf21: 52 ms

[TestNG] Time taken by org.uncommons.reportng.HTMLReporter@25648263: 445 ms

The tests failed.



BUILD SUCCESSFUL

Total time: 8 minutes 2 seconds

-------------------------------------------------------------------------------------------------------------------------------


P.S: This is the first trial towards converting my Matlab codes to JAVA. So please feel free to suggest improvements on aspects (including code structure).