Rohit Sharma was named as the Test captain of India when chief selector Chetan Sharma announced the squad for three T20Is and two Tests against Sri Lanka.