The highest score made by a South African player in Test cricket is 311 not out, by Hashim Amla against England in 2012.