Last change
on this file since 1005 was
1005,
checked in by fglaser, 12 years ago
|
- remove of GUIElementTree now returns 0 if no element was removed.
- GUIElementTree test added (unfortunately the test class needs some artificial mock objects, that were also added)
|
-
Property svn:mime-type set to
text/plain
|
File size:
915 bytes
|
Line | |
---|
1 | package de.ugoe.cs.autoquest.eventcore.guimodel; |
---|
2 | |
---|
3 | public class MockGUIElement implements IGUIElement { |
---|
4 | MockGUIElementSpec spec; |
---|
5 | IGUIElement parent; |
---|
6 | |
---|
7 | public MockGUIElement() { |
---|
8 | // TODO Auto-generated constructor |
---|
9 | } |
---|
10 | |
---|
11 | public MockGUIElement(MockGUIElementSpec spec, IGUIElement parent){ |
---|
12 | this.spec = spec; |
---|
13 | this.parent = parent; |
---|
14 | } |
---|
15 | |
---|
16 | @Override |
---|
17 | public String getPlatform() { |
---|
18 | // TODO Auto-generated method stub |
---|
19 | return null; |
---|
20 | } |
---|
21 | |
---|
22 | @Override |
---|
23 | public String getStringIdentifier() { |
---|
24 | // TODO Auto-generated method stub |
---|
25 | return null; |
---|
26 | } |
---|
27 | |
---|
28 | @Override |
---|
29 | public IGUIElementSpec getSpecification() { |
---|
30 | return spec; |
---|
31 | } |
---|
32 | |
---|
33 | @Override |
---|
34 | public IGUIElement getParent() { |
---|
35 | return parent; |
---|
36 | } |
---|
37 | |
---|
38 | @Override |
---|
39 | public void updateSpecification(IGUIElementSpec furtherSpec) { |
---|
40 | // TODO Auto-generated method stub |
---|
41 | |
---|
42 | } |
---|
43 | |
---|
44 | @Override |
---|
45 | public void addEqualGUIElement(IGUIElement equalElement) { |
---|
46 | // TODO Auto-generated method stub |
---|
47 | |
---|
48 | } |
---|
49 | |
---|
50 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.