sysperfana/analyzetoolext/com.nokia.s60tools.analyzetool/src/com/nokia/s60tools/analyzetool/engine/Subtest.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Definitions for the class Subtest |
|
15 * |
|
16 */ |
|
17 |
|
18 package com.nokia.s60tools.analyzetool.engine; |
|
19 |
|
20 /** |
|
21 * Contains information of subtest. |
|
22 * |
|
23 * @author kihe |
|
24 * |
|
25 */ |
|
26 public class Subtest extends ResultsBase { |
|
27 |
|
28 /** Subtest name. */ |
|
29 private String name = null; |
|
30 |
|
31 /** |
|
32 * Constructor. |
|
33 * |
|
34 * @param id Subtest ID |
|
35 */ |
|
36 public Subtest(final int id) { |
|
37 super(id); |
|
38 } |
|
39 |
|
40 /** |
|
41 * Gets current subtest name. |
|
42 * |
|
43 * @return Subtest name |
|
44 */ |
|
45 public final String getName() { |
|
46 return name; |
|
47 } |
|
48 |
|
49 /** |
|
50 * Sets current subtest name. |
|
51 * |
|
52 * @param newName |
|
53 * New subtest name |
|
54 */ |
|
55 public final void setName(final String newName) { |
|
56 name = newName; |
|
57 } |
|
58 |
|
59 } |