14b5501d2SIngo Weinhold/*
24b5501d2SIngo Weinhold * Copyright 2007, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
34b5501d2SIngo Weinhold * All rights reserved. Distributed under the terms of the MIT License.
44b5501d2SIngo Weinhold */
54b5501d2SIngo Weinhold
64b5501d2SIngo Weinhold#include "Test.h"
74b5501d2SIngo Weinhold
84b5501d2SIngo Weinhold
94b5501d2SIngo WeinholdTest::Test(const char* name, const char* description, BView* view)
104b5501d2SIngo Weinhold	: fName(name),
114b5501d2SIngo Weinhold	  fDescription(description),
124b5501d2SIngo Weinhold	  fView(view)
134b5501d2SIngo Weinhold{
144b5501d2SIngo Weinhold}
154b5501d2SIngo Weinhold
164b5501d2SIngo Weinhold
174b5501d2SIngo WeinholdTest::~Test()
184b5501d2SIngo Weinhold{
194b5501d2SIngo Weinhold}
204b5501d2SIngo Weinhold
214b5501d2SIngo Weinhold
224b5501d2SIngo Weinholdconst char*
234b5501d2SIngo WeinholdTest::Name() const
244b5501d2SIngo Weinhold{
254b5501d2SIngo Weinhold	return fName.String();
264b5501d2SIngo Weinhold}
274b5501d2SIngo Weinhold
284b5501d2SIngo Weinhold
294b5501d2SIngo Weinholdconst char*
304b5501d2SIngo WeinholdTest::Description() const
314b5501d2SIngo Weinhold{
324b5501d2SIngo Weinhold	return fDescription.String();
334b5501d2SIngo Weinhold}
344b5501d2SIngo Weinhold
354b5501d2SIngo Weinhold
364b5501d2SIngo WeinholdBView*
374b5501d2SIngo WeinholdTest::GetView() const
384b5501d2SIngo Weinhold{
394b5501d2SIngo Weinhold	return fView;
404b5501d2SIngo Weinhold}
414b5501d2SIngo Weinhold
424b5501d2SIngo Weinhold
434b5501d2SIngo Weinholdvoid
444b5501d2SIngo WeinholdTest::SetView(BView* view)
454b5501d2SIngo Weinhold{
464b5501d2SIngo Weinhold	fView = view;
474b5501d2SIngo Weinhold}
484b5501d2SIngo Weinhold
494b5501d2SIngo Weinhold
504b5501d2SIngo Weinholdvoid
514b5501d2SIngo WeinholdTest::ActivateTest(View* controls)
524b5501d2SIngo Weinhold{
534b5501d2SIngo Weinhold}
544b5501d2SIngo Weinhold
554b5501d2SIngo Weinhold
564b5501d2SIngo Weinholdvoid
574b5501d2SIngo WeinholdTest::DectivateTest()
584b5501d2SIngo Weinhold{
594b5501d2SIngo Weinhold}
60