NEW YORK — Stormy Daniels finished testifying Thursday in Donald Trump’s criminal trial, capping a tumultuous day and a half of courtroom accusations, denials and counter-accusations that infuriated Trump, briefly raised the risk of a mistrial and left the jury to decide whether the adult-film actress’s tale of secret sex should matter in a financial crimes case.