Package: NotYetReadyTreeNode

NotYetReadyTreeNode

nameinstructionbranchcomplexitylinemethod
NotYetReadyTreeNode()
M: 6 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
getAdapter(Class)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getName()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getParent()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
hasChild(String)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
hasChildren()
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
setParent(ITreeNode)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
toString()
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*
2: * #%~
3: * Combinatorial Testing
4: * %%
5: * Copyright (C) 2008 - 2014 Overture
6: * %%
7: * This program is free software: you can redistribute it and/or modify
8: * it under the terms of the GNU General Public License as
9: * published by the Free Software Foundation, either version 3 of the
10: * License, or (at your option) any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: * GNU General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public
18: * License along with this program. If not, see
19: * <http://www.gnu.org/licenses/gpl-3.0.html>.
20: * #~%
21: */
22: package org.overture.ide.plugins.combinatorialtesting.views.treeView;
23:
24: import org.eclipse.core.runtime.IAdaptable;
25: import org.overture.ct.utils.TraceTestResult;
26:
27: public class NotYetReadyTreeNode extends TraceTestTreeNode implements
28:                 IAdaptable
29: {
30:         private ITreeNode parent;
31:
32:         public NotYetReadyTreeNode()
33:         {
34:                 super(new TraceTestResult());
35:
36:         }
37:
38:         @Override
39:         public ITreeNode getParent()
40:         {
41:                 return parent;
42:         }
43:
44:
45:         @Override
46:         public String toString()
47:         {
48:                 return "Please wait...";
49:         }
50:
51:         @Override
52:         public String getName()
53:         {
54:
55:                 return toString();
56:
57:         }
58:
59:         @Override
60:         public void setParent(ITreeNode parent)
61:         {
62:                 this.parent = parent;
63:         }
64:
65:         @Override
66:         public Object getAdapter(@SuppressWarnings("rawtypes") Class adapter)
67:         {
68:                 return null;
69:         }
70:
71:         @Override
72:         public boolean hasChildren()
73:         {
74:                 return false;
75:         }
76:
77:         @Override
78:         public boolean hasChild(String name)
79:         {
80:
81:                 return false;
82:         }
83:
84: }