Поместите глагол в скобки в правильной временной форме: I thought you ( to be preparing) ----for your test for the whole evening
I thought you have been preparing for your test for the whole evening.