agave-files/files-core/src/test/java/org/iplantc/service/io/permissions/PermissionManagerSetPermissionsIT.java
/**
	 * Generates an all pairs of test users on system and path test set
	 * @param system
	 * @param path
	 * @return
	 * @throws Exception
	 */
Generates an all pairs of test users on system and path test set
@param system
@param path
@return
@throws Exception
Generates an all pairs of test users on system and path test set @param system @param path @return @throws Exception
private Object[][] createAllPairsTests(RemoteSystem system, String path, PermissionType permission) throws Exception 
	{
		return new Object[][] {
			{ system, path, SYSTEM_OWNER, SYSTEM_OWNER, PermissionType.ALL, false },
			{ system, path, SYSTEM_OWNER, SYSTEM_SHARE_USER, PermissionType.NONE, false },
			{ system, path, SYSTEM_OWNER, SYSTEM_UNSHARED_USER, PermissionType.NONE, false },
			{ system, path, SYSTEM_OWNER, Settings.WORLD_USER_USERNAME, PermissionType.NONE, false },
			{ system, path, SYSTEM_OWNER, Settings.PUBLIC_USER_USERNAME, PermissionType.NONE, false },
			{ system, path, SYSTEM_SHARE_USER, SYSTEM_OWNER, PermissionType.ALL, false },
			{ system, path, SYSTEM_SHARE_USER, SYSTEM_SHARE_USER, permission, false },
			{ system, path, SYSTEM_SHARE_USER, SYSTEM_UNSHARED_USER, PermissionType.NONE, false },
			{ system, path, SYSTEM_SHARE_USER, Settings.WORLD_USER_USERNAME, PermissionType.NONE, false },
			{ system, path, SYSTEM_SHARE_USER, Settings.PUBLIC_USER_USERNAME, PermissionType.NONE, false },
			{ system, path, SYSTEM_UNSHARED_USER, SYSTEM_OWNER, PermissionType.ALL, false },
			{ system, path, SYSTEM_UNSHARED_USER, SYSTEM_SHARE_USER, PermissionType.NONE, false },
			{ system, path, SYSTEM_UNSHARED_USER, SYSTEM_UNSHARED_USER, permission, false },
			{ system, path, SYSTEM_UNSHARED_USER, Settings.WORLD_USER_USERNAME, PermissionType.NONE, false },
			{ system, path, SYSTEM_UNSHARED_USER, Settings.PUBLIC_USER_USERNAME, PermissionType.NONE, false },
			{ system, path, Settings.WORLD_USER_USERNAME, SYSTEM_OWNER, PermissionType.ALL, false },
			{ system, path, Settings.WORLD_USER_USERNAME, SYSTEM_SHARE_USER, permission, false },
			{ system, path, Settings.WORLD_USER_USERNAME, SYSTEM_UNSHARED_USER, permission, false },
			{ system, path, Settings.WORLD_USER_USERNAME, Settings.WORLD_USER_USERNAME, permission, false },
			{ system, path, Settings.WORLD_USER_USERNAME, Settings.PUBLIC_USER_USERNAME, permission, false },
			{ system, path, Settings.PUBLIC_USER_USERNAME, SYSTEM_OWNER, PermissionType.ALL, false },
			{ system, path, Settings.PUBLIC_USER_USERNAME, SYSTEM_SHARE_USER, permission, false },
			{ system, path, Settings.PUBLIC_USER_USERNAME, SYSTEM_UNSHARED_USER, permission, false },
			{ system, path, Settings.PUBLIC_USER_USERNAME, Settings.WORLD_USER_USERNAME, permission, false },
			{ system, path, Settings.PUBLIC_USER_USERNAME, Settings.PUBLIC_USER_USERNAME, permission, false },
		};
	}
private Object [ ] [ ] createAllPairsTests ( RemoteSystem system , String path , PermissionType permission ) throws Exception { return new Object [ ] [ ] { { system , path , SYSTEM_OWNER , SYSTEM_OWNER , PermissionType . ALL , false } , { system , path , SYSTEM_OWNER , SYSTEM_SHARE_USER , PermissionType . NONE , false } , { system , path , SYSTEM_OWNER , SYSTEM_UNSHARED_USER , PermissionType . NONE , false } , { system , path , SYSTEM_OWNER , Settings . WORLD_USER_USERNAME , PermissionType . NONE , false } , { system , path , SYSTEM_OWNER , Settings . PUBLIC_USER_USERNAME , PermissionType . NONE , false } , { system , path , SYSTEM_SHARE_USER , SYSTEM_OWNER , PermissionType . ALL , false } , { system , path , SYSTEM_SHARE_USER , SYSTEM_SHARE_USER , permission , false } , { system , path , SYSTEM_SHARE_USER , SYSTEM_UNSHARED_USER , PermissionType . NONE , false } , { system , path , SYSTEM_SHARE_USER , Settings . WORLD_USER_USERNAME , PermissionType . NONE , false } , { system , path , SYSTEM_SHARE_USER , Settings . PUBLIC_USER_USERNAME , PermissionType . NONE , false } , { system , path , SYSTEM_UNSHARED_USER , SYSTEM_OWNER , PermissionType . ALL , false } , { system , path , SYSTEM_UNSHARED_USER , SYSTEM_SHARE_USER , PermissionType . NONE , false } , { system , path , SYSTEM_UNSHARED_USER , SYSTEM_UNSHARED_USER , permission , false } , { system , path , SYSTEM_UNSHARED_USER , Settings . WORLD_USER_USERNAME , PermissionType . NONE , false } , { system , path , SYSTEM_UNSHARED_USER , Settings . PUBLIC_USER_USERNAME , PermissionType . NONE , false } , { system , path , Settings . WORLD_USER_USERNAME , SYSTEM_OWNER , PermissionType . ALL , false } , { system , path , Settings . WORLD_USER_USERNAME , SYSTEM_SHARE_USER , permission , false } , { system , path , Settings . WORLD_USER_USERNAME , SYSTEM_UNSHARED_USER , permission , false } , { system , path , Settings . WORLD_USER_USERNAME , Settings . WORLD_USER_USERNAME , permission , false } , { system , path , Settings . WORLD_USER_USERNAME , Settings . PUBLIC_USER_USERNAME , permission , false } , { system , path , Settings . PUBLIC_USER_USERNAME , SYSTEM_OWNER , PermissionType . ALL , false } , { system , path , Settings . PUBLIC_USER_USERNAME , SYSTEM_SHARE_USER , permission , false } , { system , path , Settings . PUBLIC_USER_USERNAME , SYSTEM_UNSHARED_USER , permission , false } , { system , path , Settings . PUBLIC_USER_USERNAME , Settings . WORLD_USER_USERNAME , permission , false } , { system , path , Settings . PUBLIC_USER_USERNAME , Settings . PUBLIC_USER_USERNAME , permission , false } , } ; }
Generates an all pairs of test users on system and path test set
 @param system
 @param path
 @return
 @throws Exception
Generates an all pairs of test users on system and path test set @param system @param path @return @throws Exception