1 /* 2 * Copyright 2007, Ingo Weinhold <bonefish@cs.tu-berlin.de>. 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5 6 #include "Test.h" 7 8 Test(const char * name,const char * description,BView * view)9Test::Test(const char* name, const char* description, BView* view) 10 : fName(name), 11 fDescription(description), 12 fView(view) 13 { 14 } 15 16 ~Test()17Test::~Test() 18 { 19 } 20 21 22 const char* Name() const23Test::Name() const 24 { 25 return fName.String(); 26 } 27 28 29 const char* Description() const30Test::Description() const 31 { 32 return fDescription.String(); 33 } 34 35 36 BView* GetView() const37Test::GetView() const 38 { 39 return fView; 40 } 41 42 43 void SetView(BView * view)44Test::SetView(BView* view) 45 { 46 fView = view; 47 } 48 49 50 void ActivateTest(View * controls)51Test::ActivateTest(View* controls) 52 { 53 } 54 55 56 void DectivateTest()57Test::DectivateTest() 58 { 59 } 60