OpenKeyWord  Version: 426, Datum:
OKW_TestClipboard.cs
1 #region Header
2 /*
3  ==============================================================================
4  Author: Zoltan Hrabovszki <zh@openkeyword.de>
5 
6  Copyright © 2012, 2013, 2014, 2015 IT-Beratung Hrabovszki
7  www.OpenKeyWord.de
8  ==============================================================================
9 
10  This file is part of OpenKeyWord.
11 
12  OpenKeyWord is free software: you can redistribute it and/or modify
13  it under the terms of the GNU General Public License as published by
14  the Free Software Foundation, either version 3 of the License, or
15  (at your option) any later version.
16 
17  OpenKeyWord is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  GNU General Public License for more details.
21 
22  You should have received a copy of the GNU General Public License
23  along with OpenKeyWord. If not, see <http://www.gnu.org/licenses/>.
24 
25  Diese Datei ist Teil von OpenKeyWord.
26 
27  OpenKeyWord ist Freie Software: Sie können es unter den Bedingungen
28  der GNU General Public License, wie von der Free Software Foundation,
29  Version 3 der Lizenz oder (nach Ihrer Wahl) jeder späteren
30  veröffentlichten Version, weiterverbreiten und/oder modifizieren.
31 
32  OpenKeyWord wird in der Hoffnung, dass es nützlich sein wird, aber
33  OHNE JEDE GEWÄHRLEISTUNG, bereitgestellt; sogar ohne die implizite
34  Gewährleistung der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK.
35  Siehe die GNU General Public License für weitere Details.
36 
37  Sie sollten eine Kopie der GNU General Public License zusammen mit
38  OpenKeyWord erhalten haben. Wenn nicht, siehe <http://www.gnu.org/licenses/>.
39 */
40 #endregion Header
41 
42 namespace OKW.GUI.Test
43 {
44  using System;
45  using System.Collections.Generic;
46 
50  public class OKW_TestClipboard
51  {
52  #region Fields
53 
54  private static readonly OKW_TestClipboard instanz = new OKW_TestClipboard();
55 
61  private static List<string> cvLs_LogValue = new List<string>();
62  private static List<string> cvLs_Value = new List<string>();
63 
64  private string cvs_Method;
65  private string cvs_ObjectName;
66 
67  #endregion Fields
68 
69  #region Constructors
70 
71  private OKW_TestClipboard()
72  {
73  }
74 
75  #endregion Constructors
76 
77  #region Properties
78 
79  public static OKW_TestClipboard Instance
80  {
81  get
82  {
83  return instanz;
84  }
85  }
86 
96  public List<string> LogValue
97  {
98  get { return cvLs_LogValue; }
99  /*
100  set {
101  foreach (string myString in Value)
102  {
103  cvLs_LogValue.Add(myString);
104  }
105  }
106  */
107  }
108 
109  public string Method
110  {
111  get
112  {
113  return this.cvs_Method;
114  }
115 
116  set
117  {
118  this.cvs_Method = value;
119  }
120  }
121 
122  public string ObjectName
123  {
124  get
125  {
126  return this.cvs_ObjectName;
127  }
128 
129  set
130  {
131  this.cvs_ObjectName = value;
132  }
133  }
134 
135  public List<string> Value
136  {
137  get { return cvLs_Value; }
138  set { cvLs_Value = value; }
139  }
140 
141  #endregion Properties
142 
143  #region Methods
144 
148  public void Clear()
149  {
150  cvLs_Value.Clear();
151  this.cvs_ObjectName = string.Empty;
152  this.cvs_Method = string.Empty;
153 
154  cvLs_LogValue.Clear();
155  }
156 
157  public void LogValueAdd(string fps_Value)
158  {
159  cvLs_LogValue.Add(fps_Value);
160  }
161 
162  #endregion Methods
163  }
164 }
static List< string > cvLs_LogValue
Diese Liste aus String-s ist für die Überprüfung des Loggings gedacht. Die Klasse Log2Clipboard ist d...
List< string > LogValue
Getter/Setter der Eigenschaft LogValue. Gets the log value. Get holt die Eigenschaft LogValue als Lis...
void Clear()
Resets all ClipBoard-Memmber to empty string = "" .
Singelton Object. Stores a VAlue for Unittest Assertion.
Definition: Core.cs:40