usergrid/usergrid — pull request #185 by yigitsa (2014-06-03 23:17:31+00:00)
Title: Chop/usergrid 157

This enables access to cluster information inside chopped tests.
Each started runner asks coordinator for a list of clusters related to the stack it belongs to. Then it scans all chopped test classes in the package base for @ChopCluster annotated cluster fields, and sets them to the appropriate values via reflection. An example definition inside test classes is as follows:

@ChopCluster( name = "ClusterName" )
public static ICoordinatedCluster clusterToBeInjected;