Police are 'proud' of a domestic violence victim who spoke against her ex-boyfriend during a trial.