/*
 * Copyright (c) 2006 Absolutely Training Limited
 * 
 * Created on 13-Dec-2006
 * 
 * @author roberto
 */

function TestSummaryPage ( props ) {
	this.user = null;
	this.courseName = null;
	this.score = null;
	this.date = null;
	this.questionSummaries = [];
	
	for ( var p in props ) {
		this[p] = props[p];
	}
}
/**
TestSummaryPage.prototype.getQuestions = function() {

	var questions = new Array();

	for (x in this.questionSummaries)	{
		var qs = this.questionSummaries[x];
		var question= new Question( { id: null, contentObjectId: null, answers:[], questionText: qs.questionText, explanation: qs.explanation, type: qs.type});
		questions[x]= question;
	}

	return questions;

};

*/
TestSummaryPage.prototype.getUserAnswers = function() {

};
