xref: /haiku/src/tests/kits/interface/layout/widget_layout_test/Test.cpp (revision 21258e2674226d6aa732321b6f8494841895af5f)
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 
9 Test::Test(const char* name, const char* description, BView* view)
10 	: fName(name),
11 	  fDescription(description),
12 	  fView(view)
13 {
14 }
15 
16 
17 Test::~Test()
18 {
19 }
20 
21 
22 const char*
23 Test::Name() const
24 {
25 	return fName.String();
26 }
27 
28 
29 const char*
30 Test::Description() const
31 {
32 	return fDescription.String();
33 }
34 
35 
36 BView*
37 Test::GetView() const
38 {
39 	return fView;
40 }
41 
42 
43 void
44 Test::SetView(BView* view)
45 {
46 	fView = view;
47 }
48 
49 
50 void
51 Test::ActivateTest(View* controls)
52 {
53 }
54 
55 
56 void
57 Test::DectivateTest()
58 {
59 }
60