A male former investigator at a Texas federal public defender office has sued a female supervising attorney for sexual harassment, claiming she made him view pornography and sexually assaulted him.