You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(178) |
Feb
(169) |
Mar
(286) |
Apr
(117) |
May
(98) |
Jun
(68) |
Jul
(63) |
Aug
(121) |
Sep
(88) |
Oct
(124) |
Nov
(2) |
Dec
(111) |
2007 |
Jan
(224) |
Feb
(69) |
Mar
(10) |
Apr
(72) |
May
(7) |
Jun
(21) |
Jul
(33) |
Aug
(35) |
Sep
(12) |
Oct
(22) |
Nov
(5) |
Dec
(6) |
2008 |
Jan
(2) |
Feb
(10) |
Mar
(39) |
Apr
(58) |
May
(34) |
Jun
(9) |
Jul
(27) |
Aug
(10) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
User: magrawal Date: 07/02/18 22:48:00 Added: etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc AndroMDA.ScenarioUnit documentation.chm AndroMDA.ScenarioUnit documentation.hhc AndroMDA.ScenarioUnit documentation.hhk AndroMDA.ScenarioUnit documentation.hhp AndroMDA.ScenarioUnit documentation.log AndroMDA.ScenarioUnit.CodeAsserterAttribute.AsserterMethodName.html AndroMDA.ScenarioUnit.CodeAsserterAttribute.AssertOutput.html AndroMDA.ScenarioUnit.CodeAsserterAttribute.html AndroMDA.ScenarioUnit.CodeAsserterAttributeConstructor.html AndroMDA.ScenarioUnit.CodeAsserterAttributeMembers.html AndroMDA.ScenarioUnit.CodeAsserterAttributeMethods.html AndroMDA.ScenarioUnit.CodeAsserterAttributeProperties.html AndroMDA.ScenarioUnit.CodeDataProviderAttribute.DataMethodName.html AndroMDA.ScenarioUnit.CodeDataProviderAttribute.GetData.html AndroMDA.ScenarioUnit.CodeDataProviderAttribute.html AndroMDA.ScenarioUnit.CodeDataProviderAttributeConstructor.html AndroMDA.ScenarioUnit.CodeDataProviderAttributeMembers.html AndroMDA.ScenarioUnit.CodeDataProviderAttributeMethods.html AndroMDA.ScenarioUnit.CodeDataProviderAttributeProperties.html AndroMDA.ScenarioUnit.html AndroMDA.ScenarioUnit.IAsserter.AssertOutput.html AndroMDA.ScenarioUnit.IAsserter.html AndroMDA.ScenarioUnit.IAsserterMembers.html AndroMDA.ScenarioUnit.IAsserterMethods.html AndroMDA.ScenarioUnit.IDataProvider.GetData.html AndroMDA.ScenarioUnit.IDataProvider.html AndroMDA.ScenarioUnit.IDataProviderMembers.html AndroMDA.ScenarioUnit.IDataProviderMethods.html AndroMDA.ScenarioUnit.TestScenarioHelper.html AndroMDA.ScenarioUnit.TestScenarioHelper.Invoke.html AndroMDA.ScenarioUnit.TestScenarioHelperConstructor.html AndroMDA.ScenarioUnit.TestScenarioHelperMembers.html AndroMDA.ScenarioUnit.TestScenarioHelperMethods.html AndroMDA.ScenarioUnit.XMLAsserterAttribute.ActualOutputDir.html AndroMDA.ScenarioUnit.XMLAsserterAttribute.AssertOutput.html AndroMDA.ScenarioUnit.XMLAsserterAttribute.ExpectedOutputDir.html AndroMDA.ScenarioUnit.XMLAsserterAttribute.html AndroMDA.ScenarioUnit.XMLAsserterAttribute.RulesDir.html AndroMDA.ScenarioUnit.XMLAsserterAttributeConstructor.html AndroMDA.ScenarioUnit.XMLAsserterAttributeMembers.html AndroMDA.ScenarioUnit.XMLAsserterAttributeMethods.html AndroMDA.ScenarioUnit.XMLAsserterAttributeProperties.html AndroMDA.ScenarioUnit.XMLDataProviderAttribute.GetData.html AndroMDA.ScenarioUnit.XMLDataProviderAttribute.html AndroMDA.ScenarioUnit.XMLDataProviderAttribute.InputDir.html AndroMDA.ScenarioUnit.XMLDataProviderAttributeConstructor.html AndroMDA.ScenarioUnit.XMLDataProviderAttributeMembers.html AndroMDA.ScenarioUnit.XMLDataProviderAttributeMethods.html AndroMDA.ScenarioUnit.XMLDataProviderAttributeProperties.html AndroMDA.ScenarioUnitHierarchy.html AnimButton1.gif AnimButton2.gif coC.gif coe.gif contents.html Filter1a.gif filter1b.gif filter1c.gif index.html intevent.gif intfield.gif intmethod.gif intoperator.gif intproperty.gif ndoc.css ndoc.js ndoc.log privevent.gif privfield.gif privmethod.gif privoperator.gif privproperty.gif protevent.gif protfield.gif protmethod.gif protoperator.gif protproperty.gif pubevent.gif pubfield.gif pubmethod.gif puboperator.gif pubproperty.gif Requirements1a.gif requirements1b.gif requirements1c.gif seealso1a.gif seealso1b.gif seealso1c.gif static.gif tree.css tree.js treenodedot.gif treenodeminus.gif treenodeplus.gif Log: added ndoc documentation. Revision Changes Path No revision No revision No revision No revision No revision No revision No revision No revision No revision No revision 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeAsserterAttribute.AsserterMethodName.html Index: AndroMDA.ScenarioUnit.CodeAsserterAttribute.AsserterMethodName.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>AsserterMethodName Property</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <INPUT class="userDataStyle" id="userDataCache" type="hidden" /> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeAsserterAttribute.AsserterMethodName Property</h1> </div> </div> <div id="nstext"> <p> This is an optional property to specify the name of the helper method that is called to assert actual output against expected output. </p> <PRE class="syntax"><SPAN class="lang">[Visual Basic] </SPAN><b>Public Property String As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm"></a> </b><SPAN class="lang">[C#] </SPAN><b>public <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">string</a> String { get; set; } </b><SPAN class="lang">[C++] </SPAN><b>public: __property <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">*</a> get_String(); public: __property <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Void.htm">void</a> set_String(<a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String*</a> ); </b><SPAN class="lang">[JScript] </SPAN><b>public function get String() : <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a> public function set String(<a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a>); </b></PRE><h4 class="dtH4">Remarks</h4><p> If this property is not set, a naiming convention is used to identify the method to be called. The naming convention is: <pre class="code" escaped="true">[testMethodName_[parameterName]_assert() </pre> <blockquote class="dtBlock"><b>Note</b> In case of return values, there is no "parameterName" part in the naming convention. </blockquote> </p><h4 class="dtH4">See Also</h4><p><a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.html">CodeAsserterAttribute Class</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="String property"></param><param name="Keyword" value="String property, CodeAsserterAttribute class"></param><param name="Keyword" value="CodeAsserterAttribute.String property"></param></object><DIV CLASS="footer"><p><center><font color="red"><i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i></font></center></p></DIV></div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeAsserterAttribute.AssertOutput.html Index: AndroMDA.ScenarioUnit.CodeAsserterAttribute.AssertOutput.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>CodeAsserterAttribute.AssertOutput Method</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <INPUT class="userDataStyle" id="userDataCache" type="hidden" /> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeAsserterAttribute.AssertOutput Method </h1> </div> </div> <div id="nstext"> <p> This is the implementation of the <a href="AndroMDA.ScenarioUnit.IAsserter.html">IAsserter</a> interface. It uses a helper method to assert actual output against expected test output. </p> <PRE class="syntax"><SPAN class="lang">[Visual Basic] </SPAN><b>Public Sub AssertOutput( _ ByVal <i>Object</i> As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a>, _ ByVal <i>ParameterInfo</i> As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Reflection_ParameterInfo.htm">ParameterInfo</a>, _ ByVal <i>String</i> As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a>, _ ByVal <i>String</i> As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a>, _ ByVal <i>Object</i> As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a> _ ) _ Implements <a href="AndroMDA.ScenarioUnit.IAsserter.AssertOutput(System.ObjectSystem.Reflection.ParameterInfoSystem.StringSystem.StringSystem.Object).html">IAsserter.</a> </b><SPAN class="lang">[C#] </SPAN><b>public <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Void.htm">void</a> AssertOutput( <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">object</a> <i>Object</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Reflection_ParameterInfo.htm">ParameterInfo</a> <i>ParameterInfo</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">string</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">string</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">object</a> <i>Object</i> ); </b><SPAN class="lang">[C++] </SPAN><b>public: <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Void.htm">void</a> AssertOutput( <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object*</a> <i>Object</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Reflection_ParameterInfo.htm">ParameterInfo*</a> <i>ParameterInfo</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String*</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String*</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object*</a> <i>Object</i> ); </b><SPAN class="lang">[JScript] </SPAN><b>public function AssertOutput( <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a> <i>Object</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Reflection_ParameterInfo.htm">ParameterInfo</a> <i>ParameterInfo</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a> <i>Object</i> ); </b></PRE><h4 class="dtH4">Parameters</h4><dl><dt><i>outputObj</i></dt><dd>The object containing the actual test output</dd><dt><i>pInfo</i></dt><dd>Meta information about the <i>outputObj</i>.</dd><dt><i>methodName</i></dt><dd>The name of the test method. This name is used to identify the helper assertion method using a naming convention.</dd><dt><i>scenarioName</i></dt><dd>The name of the test scenario.</dd><dt><i>testFixture</i></dt><dd>A reference to the object containing the helper method. Usually, this is a reference to the TestFixture itself.</dd></dl><h4 class="dtH4">Implements</h4><p><a href="AndroMDA.ScenarioUnit.IAsserter.AssertOutput.html">IAsserter.</a></p><h4 class="dtH4">Remarks</h4><p> If the <a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.AsserterMethodName.html">AsserterMethodName</a>property is not specified, this data provider uses a naming convention to identify the helper method to be called. <p> The naming convention used is: </p> <pre class="code" escaped="true">[testMethodName]_[parameterName]_Assert() </pre> <p> The helper method must be a private instance method that has the following signature: </p> <pre class="code" escaped="true"><span class="lang">[c#] </span>private void [testMethodName]_[parameterName]_Assert(object outputObj, ParameterInfo pInfo, string methodName, string scenarioName) </pre> <blockquote class="dtBlock"><b>Note</b> To assert return values, the "parameterName" part of the helper method name is ommited. </blockquote> </p><h4 class="dtH4">See Also</h4><p><a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.html">CodeAsserterAttribute Class</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="AssertOutput method"></param><param name="Keyword" value="AssertOutput method, CodeAsserterAttribute class"></param><param name="Keyword" value="CodeAsserterAttribute.AssertOutput method"></param></object><DIV CLASS="footer"><p><center><font color="red"><i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i></font></center></p></DIV></div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeAsserterAttribute.html Index: AndroMDA.ScenarioUnit.CodeAsserterAttribute.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>CodeAsserterAttribute Class</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <INPUT class="userDataStyle" id="userDataCache" type="hidden" /> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeAsserterAttribute Class</h1> </div> </div> <div id="nstext"> <p> This is a concrete implementation of the <a href="AndroMDA.ScenarioUnit.IAsserter.html">IAsserter</a> interface that uses helper methods to assert actual output from a test case against expected output. </p> <p>For a list of all members of this type, see <a href="AndroMDA.ScenarioUnit.CodeAsserterAttributeMembers.html">CodeAsserterAttribute Members</a>.</p> <p> <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">System.Object</a> <br /> Attribute<br /> <b>CodeAsserterAttribute</b></p> <PRE class="syntax"><SPAN class="lang">[Visual Basic] </SPAN><b>Public Class CodeAsserterAttribute Inherits <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute.htm">Attribute</a> Implements <a href=".html"></a> </b><SPAN class="lang">[C#] </SPAN><b>public class CodeAsserterAttribute : <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute.htm">Attribute</a>, <a href=".html"></a> </b><SPAN class="lang">[C++] </SPAN><b>public __gc class CodeAsserterAttribute : public <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute.htm">Attribute</a>, <a href=".html"></a> </b><SPAN class="lang">[JScript] </SPAN><b>public class CodeAsserterAttribute extends <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute.htm">Attribute</a>, <a href=".html"></a> </b></PRE><H4 class="dtH4">Thread Safety</H4><P>Public static (<b>Shared</b> in Visual Basic) members of this type are safe for multithreaded operations. Instance members are <b>not</b> guaranteed to be thread-safe.</P><h4 class="dtH4">Remarks</h4> This asserter is similar to the traditional mechanism of using helper methods to separate out assertion logic from the main testing code. <p> This asserter is helpful when used in conjunction with <b>XmlAsserter</b> for return values/output parameters that cannot be serialized into XML. </p> <p> This class derives from the <code>System.Attribute</code> class. This allows this class to be configured as the asserter for a test method return value or output parameter. </p> <p> The AttributeUsage attribute for this class: <code>[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Parameter)]</code> ensures that this attribute can be applied at a class, method or at a parameter level. </p> <p> When this attribute is specified at a <code>TestFixture</code> level, all the test method return values and output parameters in that <code>TestFixture</code> are asserted using this asserter unless, if a different asserter is specified at a test method or parameter level. When this asserter is specified as an attribute on the test method, it overrides any asserter configured at the test fixture level. Similarly, when specified at the return value or output parameter level, this data provider is used to assert that parameter, irrespective of the asserter configured at the test method or test fixture levels. </p> <h4 class="dtH4">Requirements</h4><p><b>Namespace: </b><a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit</a></p><p><b>Assembly: </b>AndroMDA.ScenarioUnit (in AndroMDA.ScenarioUnit.dll) </p><h4 class="dtH4">See Also</h4><p><a href="AndroMDA.ScenarioUnit.CodeAsserterAttributeMembers.html">CodeAsserterAttribute Members</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="CodeAsserterAttribute class, about CodeAsserterAttribute class"></param></object><DIV CLASS="footer"><p><center><font color="red"><i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i></font></center></p></DIV></div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeAsserterAttributeConstructor.html Index: AndroMDA.ScenarioUnit.CodeAsserterAttributeConstructor.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>CodeAsserterAttribute Constructor</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <INPUT class="userDataStyle" id="userDataCache" type="hidden" /> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeAsserterAttribute Constructor </h1> </div> </div> <div id="nstext"> <p>Initializes a new instance of the <a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.html">CodeAsserterAttribute</a> class.</p> <PRE class="syntax"><SPAN class="lang">[Visual Basic] </SPAN><b>Public Sub New() </b><SPAN class="lang">[C#] </SPAN><b>public CodeAsserterAttribute(); </b><SPAN class="lang">[C++] </SPAN><b>public: CodeAsserterAttribute(); </b><SPAN class="lang">[JScript] </SPAN><b>public function CodeAsserterAttribute(); </b></PRE><h4 class="dtH4">See Also</h4><p><a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.html">CodeAsserterAttribute Class</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="CodeAsserterAttribute class, constructor"></param></object><DIV CLASS="footer"><p><center><font color="red"><i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i></font></center></p></DIV></div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeAsserterAttributeMembers.html Index: AndroMDA.ScenarioUnit.CodeAsserterAttributeMembers.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>CodeAsserterAttribute Members</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeAsserterAttribute Members </h1> </div> </div> <div id="nstext"> <p> <a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.html">CodeAsserterAttribute overview</a> </p> <h4 class="dtH4">Public Instance Constructors</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" /><a href="AndroMDA.ScenarioUnit.CodeAsserterAttributeConstructor.html">CodeAsserterAttribute Constructor</a></td><td width="50%">Initializes a new instance of the <a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.html">CodeAsserterAttribute</a> class.</td></tr></table> </div> <h4 class="dtH4">Public Instance Properties</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.AsserterMethodName.html">AsserterMethodName</a></td><td width="50%"> This is an optional property to specify the name of the helper method that is called to assert actual output against expected output. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute_Members.htm">TypeId</a> (inherited from <b>Attribute</b>)</td><td width="50%">When implemented in a derived class, gets a unique identifier for this <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute.htm">Attribute</a>.</td></tr></table> </div> <h4 class="dtH4">Public Instance Methods</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.AssertOutput.html">AssertOutput</a></td><td width="50%"> This is the implementation of the <a href="AndroMDA.ScenarioUnit.IAsserter.html">IAsserter</a> interface. It uses a helper method to assert actual output against expected test output. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute_Members.htm">Equals</a> (inherited from <b>Attribute</b>)</td><td width="50%">Returns a value that indicates whether this instance is equal to a specified object.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute_Members.htm">GetHashCode</a> (inherited from <b>Attribute</b>)</td><td width="50%">Returns the hash code for this instance.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object_Members.htm">GetType</a> (inherited from <b>Object</b>)</td><td width="50%">Gets the <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Type.htm">Type</a> of the current instance.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute_Members.htm">IsDefaultAttribute</a> (inherited from <b>Attribute</b>)</td><td width="50%">When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute_Members.htm">Match</a> (inherited from <b>Attribute</b>)</td><td width="50%">When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object_Members.htm">ToString</a> (inherited from <b>Object</b>)</td><td width="50%">Returns a <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a> that represents the current <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a>.</td></tr></table> </div> <h4 class="dtH4">Protected Instance Methods</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object_Members.htm">Finalize</a> (inherited from <b>Object</b>)</td><td width="50%">Allows an <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a> to attempt to free resources and perform other cleanup operations before the <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a> is reclaimed by garbage collection.</td></tr> <tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object_Members.htm">MemberwiseClone</a> (inherited from <b>Object</b>)</td><td width="50%">Creates a shallow copy of the current <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a>.</td></tr></table> </div> <h4 class="dtH4">See Also</h4> <p> <a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.html">CodeAsserterAttribute Class</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p> <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"> <param name="Keyword" value="CodeAsserterAttribute class"> </param> <param name="Keyword" value="AndroMDA.ScenarioUnit.CodeAsserterAttribute class"> </param> <param name="Keyword" value="CodeAsserterAttribute class, all members"> </param> </object> <DIV CLASS="footer"> <p> <center> <font color="red"> <i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i> </font> </center> </p> </DIV> </div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeAsserterAttributeMethods.html Index: AndroMDA.ScenarioUnit.CodeAsserterAttributeMethods.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>CodeAsserterAttribute Methods</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <INPUT class="userDataStyle" id="userDataCache" type="hidden" /> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeAsserterAttribute Methods</h1> </div> </div> <div id="nstext"> <p>The methods of the <b>CodeAsserterAttribute</b> class are listed below. For a complete list of <b>CodeAsserterAttribute</b> class members, see the <a href="AndroMDA.ScenarioUnit.CodeAsserterAttributeMembers.html">CodeAsserterAttribute Members</a> topic.</p> <h4 class="dtH4">Public Instance Methods</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.AssertOutput.html">AssertOutput</a></td><td width="50%"> This is the implementation of the <a href="AndroMDA.ScenarioUnit.IAsserter.html">IAsserter</a> interface. It uses a helper method to assert actual output against expected test output. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute_Members.htm">Equals</a> (inherited from <b>Attribute</b>)</td><td width="50%">Returns a value that indicates whether this instance is equal to a specified object.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute_Members.htm">GetHashCode</a> (inherited from <b>Attribute</b>)</td><td width="50%">Returns the hash code for this instance.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object_Members.htm">GetType</a> (inherited from <b>Object</b>)</td><td width="50%">Gets the <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Type.htm">Type</a> of the current instance.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute_Members.htm">IsDefaultAttribute</a> (inherited from <b>Attribute</b>)</td><td width="50%">When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute_Members.htm">Match</a> (inherited from <b>Attribute</b>)</td><td width="50%">When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.</td></tr> <tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object_Members.htm">ToString</a> (inherited from <b>Object</b>)</td><td width="50%">Returns a <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a> that represents the current <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a>.</td></tr></table> </div> <h4 class="dtH4">Protected Instance Methods</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object_Members.htm">Finalize</a> (inherited from <b>Object</b>)</td><td width="50%">Allows an <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a> to attempt to free resources and perform other cleanup operations before the <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a> is reclaimed by garbage collection.</td></tr> <tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object_Members.htm">MemberwiseClone</a> (inherited from <b>Object</b>)</td><td width="50%">Creates a shallow copy of the current <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a>.</td></tr></table> </div> <h4 class="dtH4">See Also</h4> <p> <a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.html">CodeAsserterAttribute Class</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p> <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"> <param name="Keyword" value="CodeAsserterAttribute class, methods"> </param> </object> <DIV CLASS="footer"> <p> <center> <font color="red"> <i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i> </font> </center> </p> </DIV> </div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeAsserterAttributeProperties.html Index: AndroMDA.ScenarioUnit.CodeAsserterAttributeProperties.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>CodeAsserterAttribute Properties</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <INPUT class="userDataStyle" id="userDataCache" type="hidden" /> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeAsserterAttribute Properties</h1> </div> </div> <div id="nstext"> <p>The properties of the <b>CodeAsserterAttribute</b> class are listed below. For a complete list of <b>CodeAsserterAttribute</b> class members, see the <a href="AndroMDA.ScenarioUnit.CodeAsserterAttributeMembers.html">CodeAsserterAttribute Members</a> topic.</p> <h4 class="dtH4">Public Instance Properties</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.AsserterMethodName.html">AsserterMethodName</a></td><td width="50%"> This is an optional property to specify the name of the helper method that is called to assert actual output against expected output. </td></tr> <tr VALIGN="top"><td width="50%"><img src="pubproperty.gif"></img><a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute_Members.htm">TypeId</a> (inherited from <b>Attribute</b>)</td><td width="50%">When implemented in a derived class, gets a unique identifier for this <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute.htm">Attribute</a>.</td></tr></table> </div> <h4 class="dtH4">See Also</h4> <p> <a href="AndroMDA.ScenarioUnit.CodeAsserterAttribute.html">CodeAsserterAttribute Class</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p> <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"> <param name="Keyword" value="CodeAsserterAttribute class, properties"> </param> </object> <DIV CLASS="footer"> <p> <center> <font color="red"> <i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i> </font> </center> </p> </DIV> </div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeDataProviderAttribute.DataMethodName.html Index: AndroMDA.ScenarioUnit.CodeDataProviderAttribute.DataMethodName.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>DataMethodName Property</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <INPUT class="userDataStyle" id="userDataCache" type="hidden" /> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeDataProviderAttribute.DataMethodName Property</h1> </div> </div> <div id="nstext"> <p> This is an optional property that specifies the name of the helper method to be called by this data provider to load input data. </p> <PRE class="syntax"><SPAN class="lang">[Visual Basic] </SPAN><b>Public Property String As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm"></a> </b><SPAN class="lang">[C#] </SPAN><b>public <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">string</a> String { get; set; } </b><SPAN class="lang">[C++] </SPAN><b>public: __property <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">*</a> get_String(); public: __property <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Void.htm">void</a> set_String(<a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String*</a> ); </b><SPAN class="lang">[JScript] </SPAN><b>public function get String() : <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a> public function set String(<a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a>); </b></PRE><h4 class="dtH4">Remarks</h4> If this property is not specified, this data provider uses a naming convention to identify the helper method to be called. <p> The naming convention used is: </p> <pre class="code" escaped="true">[testMethodName]_[parameterName]_data() </pre> <p> The helper method must be a private instance method that has the following signature: </p> <pre class="code" escaped="true"><span class="lang">[c#] </span>private object [testMethodName]_[parameterName]_data(ParameterInfo pinfo, string methodName, string scenarioName) </pre> <h4 class="dtH4">See Also</h4><p><a href="AndroMDA.ScenarioUnit.CodeDataProviderAttribute.html">CodeDataProviderAttribute Class</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="String property"></param><param name="Keyword" value="String property, CodeDataProviderAttribute class"></param><param name="Keyword" value="CodeDataProviderAttribute.String property"></param></object><DIV CLASS="footer"><p><center><font color="red"><i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i></font></center></p></DIV></div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeDataProviderAttribute.GetData.html Index: AndroMDA.ScenarioUnit.CodeDataProviderAttribute.GetData.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>CodeDataProviderAttribute.GetData Method</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <INPUT class="userDataStyle" id="userDataCache" type="hidden" /> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeDataProviderAttribute.GetData Method </h1> </div> </div> <div id="nstext"> <p> This is the implementation of the <a href="AndroMDA.ScenarioUnit.IDataProvider.html">IDataProvider</a> interface. This implementation uses reflection to invoke a helper method on an object reference to load input data for a test scenario. </p> <PRE class="syntax"><SPAN class="lang">[Visual Basic] </SPAN><b>Public Function GetData( _ ByVal <i>ParameterInfo</i> As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Reflection_ParameterInfo.htm">ParameterInfo</a>, _ ByVal <i>String</i> As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a>, _ ByVal <i>String</i> As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a>, _ ByVal <i>Object</i> As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a> _ ) _ Implements <a href="AndroMDA.ScenarioUnit.IDataProvider.GetData(System.Reflection.ParameterInfoSystem.StringSystem.StringSystem.Object).html">IDataProvider.</a> As <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a> </b><SPAN class="lang">[C#] </SPAN><b>public <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">object</a> GetData( <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Reflection_ParameterInfo.htm">ParameterInfo</a> <i>ParameterInfo</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">string</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">string</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">object</a> <i>Object</i> ); </b><SPAN class="lang">[C++] </SPAN><b>public: <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object*</a> GetData( <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Reflection_ParameterInfo.htm">ParameterInfo*</a> <i>ParameterInfo</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String*</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String*</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object*</a> <i>Object</i> ); </b><SPAN class="lang">[JScript] </SPAN><b>public function GetData( <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Reflection_ParameterInfo.htm">ParameterInfo</a> <i>ParameterInfo</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_String.htm">String</a> <i>String</i>, <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a> <i>Object</i> ): <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">Object</a>; </b></PRE><h4 class="dtH4">Parameters</h4><dl><dt><i>pInfo</i></dt><dd>Meta information about the input parameter to be loaded.</dd><dt><i>methodName</i></dt><dd>The name of the test method whose input parameter needs to be loaded. This name is used in a naming convention to identify the helper method to be called to load the input data.</dd><dt><i>scenarioName</i></dt><dd>The name of the test scenario for which test input data needs to be loaded. This name is passed to the helper method that returns input data.</dd><dt><i>testFixture</i></dt><dd>This is the object reference that contains the helper method that returns input data. Usually, this is a reference to the TestFixture itself.</dd></dl><h4 class="dtH4">Return Value</h4><p>Returns the loaded input data as returned from the helper method.</p><h4 class="dtH4">Implements</h4><p><a href="AndroMDA.ScenarioUnit.IDataProvider.GetData.html">IDataProvider.</a></p><h4 class="dtH4">Remarks</h4><p> If the <a href="AndroMDA.ScenarioUnit.CodeDataProviderAttribute.DataMethodName.html">DataMethodName</a>property is not specified, this data provider uses a naming convention to identify the helper method to be called. <p> The naming convention used is: </p> <pre class="code" escaped="true">[testMethodName]_[parameterName]_data() </pre> <p> The helper method must be a private instance method that has the following signature: </p> <pre class="code" escaped="true"><span class="lang">[c#] </span>private object [testMethodName]_[parameterName]_data(ParameterInfo pinfo, string methodName, string scenarioName) </pre> </p><h4 class="dtH4">See Also</h4><p><a href="AndroMDA.ScenarioUnit.CodeDataProviderAttribute.html">CodeDataProviderAttribute Class</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="GetData method"></param><param name="Keyword" value="GetData method, CodeDataProviderAttribute class"></param><param name="Keyword" value="CodeDataProviderAttribute.GetData method"></param></object><DIV CLASS="footer"><p><center><font color="red"><i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i></font></center></p></DIV></div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeDataProviderAttribute.html Index: AndroMDA.ScenarioUnit.CodeDataProviderAttribute.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>CodeDataProviderAttribute Class</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <INPUT class="userDataStyle" id="userDataCache" type="hidden" /> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeDataProviderAttribute Class</h1> </div> </div> <div id="nstext"> <p> This is a concrete implementation of the <a href="AndroMDA.ScenarioUnit.IDataProvider.html">IDataProvider</a> interface. This data provider uses helper methods written in the TestFixture class or a separate class to load input data for test cases. </p> <p>For a list of all members of this type, see <a href="AndroMDA.ScenarioUnit.CodeDataProviderAttributeMembers.html">CodeDataProviderAttribute Members</a>.</p> <p> <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Object.htm">System.Object</a> <br /> Attribute<br /> <b>CodeDataProviderAttribute</b></p> <PRE class="syntax"><SPAN class="lang">[Visual Basic] </SPAN><b>Public Class CodeDataProviderAttribute Inherits <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute.htm">Attribute</a> Implements <a href=".html"></a> </b><SPAN class="lang">[C#] </SPAN><b>public class CodeDataProviderAttribute : <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute.htm">Attribute</a>, <a href=".html"></a> </b><SPAN class="lang">[C++] </SPAN><b>public __gc class CodeDataProviderAttribute : public <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute.htm">Attribute</a>, <a href=".html"></a> </b><SPAN class="lang">[JScript] </SPAN><b>public class CodeDataProviderAttribute extends <a href="ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref2/html/T_System_Attribute.htm">Attribute</a>, <a href=".html"></a> </b></PRE><H4 class="dtH4">Thread Safety</H4><P>Public static (<b>Shared</b> in Visual Basic) members of this type are safe for multithreaded operations. Instance members are <b>not</b> guaranteed to be thread-safe.</P><h4 class="dtH4">Remarks</h4><p> This data provider uses reflection ot execute a helper method on an object reference to load the test data for a specific scenario. This method of loading test data is almost the same as the mechanism used in traditional unit testing where test data is separated out into helper methods. This data provider is useful when used in conjunction with the <b>XMLDataProvider</b> for input data types that cannot be serialized into XML and therefore cannot be loaded using <b>XMlDataProvider</b>. <p> This class derives from the <code>System.Attribute</code> class. This allows this class to be configured as a data provider for a test method parameter. </p> <p> The AttributeUsage attribute for this class: <code>[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Parameter)]</code> ensures that this attribute can be applied at a class, method or at a parameter level. </p> <p> When this attribute is specified at a <code>TestFixture</code> level, all the test method parameters in that <code>TestFixture</code> are loaded using this data provider unless, if a different data provider is specified at a test method or parameter level. When this data provider is specified as an attribute on the test method, it overrides any data provider configured at the test fixture level. Similarly, when specified at the parameter level, this data provider is used to load that parameter, irrespective of the data providers configured at the test method or test fixture levels. </p> </p><h4 class="dtH4">Requirements</h4><p><b>Namespace: </b><a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit</a></p><p><b>Assembly: </b>AndroMDA.ScenarioUnit (in AndroMDA.ScenarioUnit.dll) </p><h4 class="dtH4">See Also</h4><p><a href="AndroMDA.ScenarioUnit.CodeDataProviderAttributeMembers.html">CodeDataProviderAttribute Members</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="CodeDataProviderAttribute class, about CodeDataProviderAttribute class"></param></object><DIV CLASS="footer"><p><center><font color="red"><i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i></font></center></p></DIV></div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeDataProviderAttributeConstructor.html Index: AndroMDA.ScenarioUnit.CodeDataProviderAttributeConstructor.html =================================================================== <html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"> </meta> <meta name="generator" content="NDoc 1.3" /> <title>CodeDataProviderAttribute Constructor</title> <link rel="stylesheet" type="text/css" href="ndoc.css"> </link> <script src="ndoc.js" type="text/javascript"> </script> </head> <body id="bodyID" class="dtBODY"> <INPUT class="userDataStyle" id="userDataCache" type="hidden" /> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead" nowrap="true">AndroMDA.ScenarioUnit library</td> <td class="product" nowrap="true"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">CodeDataProviderAttribute Constructor </h1> </div> </div> <div id="nstext"> <p>Initializes a new instance of the <a href="AndroMDA.ScenarioUnit.CodeDataProviderAttribute.html">CodeDataProviderAttribute</a> class.</p> <PRE class="syntax"><SPAN class="lang">[Visual Basic] </SPAN><b>Public Sub New() </b><SPAN class="lang">[C#] </SPAN><b>public CodeDataProviderAttribute(); </b><SPAN class="lang">[C++] </SPAN><b>public: CodeDataProviderAttribute(); </b><SPAN class="lang">[JScript] </SPAN><b>public function CodeDataProviderAttribute(); </b></PRE><h4 class="dtH4">See Also</h4><p><a href="AndroMDA.ScenarioUnit.CodeDataProviderAttribute.html">CodeDataProviderAttribute Class</a> | <a href="AndroMDA.ScenarioUnit.html">AndroMDA.ScenarioUnit Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="CodeDataProviderAttribute class, constructor"></param></object><DIV CLASS="footer"><p><center><font color="red"><i> Syntax based on .NET Framework version 2.0.<br /> Documentation version 1.0.0.0. </i></font></center></p></DIV></div> </body> </html> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/AndroMDA.ScenarioUnit.CodeDataProviderAttributeMembers.html Index: AndroMDA.ScenarioUnit.CodeDataProviderAttributeMembers.html ===============================================... [truncated message content] |
From: Manish A. <mag...@us...> - 2007-02-19 06:46:39
|
User: magrawal Date: 07/02/18 22:46:38 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc/ndoc_msdn_temp - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:45:52
|
User: magrawal Date: 07/02/18 22:45:53 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/doc - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:44:51
|
User: magrawal Date: 07/02/18 22:44:52 Added: etc/andromda-dotnet/AndroMDA.ScenarioUnit AndroMDA.ScenarioUnit.ndoc Log: added ndoc documentation. Revision Changes Path 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/AndroMDA.ScenarioUnit.ndoc Index: AndroMDA.ScenarioUnit.ndoc =================================================================== <project SchemaVersion="1.3"> <assemblies> <assembly location=".\AndroMDA.ScenarioUnit\bin\debug\AndroMDA.ScenarioUnit.dll" documentation=".\AndroMDA.ScenarioUnit\bin\debug\AndroMDA.ScenarioUnit.xml" /> </assemblies> <documenters> <documenter name="VS.NET 2003"> <property name="OutputDirectory" value=".\doc\" /> <property name="HtmlHelpName" value="Documentation" /> <property name="Title" value="An NDoc documented library" /> </documenter> <documenter name="MSDN"> <property name="OutputDirectory" value=".\doc\" /> <property name="HtmlHelpName" value="Documentation" /> <property name="Title" value="AndroMDA.ScenarioUnit class library" /> <property name="SdkLinksOnWeb" value="True" /> <property name="ShowMissingSummaries" value="True" /> <property name="ShowMissingRemarks" value="True" /> <property name="ShowMissingParams" value="True" /> <property name="DocumentExplicitInterfaceImplementations" value="True" /> <property name="UseNamespaceDocSummaries" value="True" /> <property name="AutoPropertyBackerSummaries" value="True" /> <property name="DocumentAttributes" value="True" /> <property name="IncludeDefaultThreadSafety" value="False" /> </documenter> <documenter name="LaTeX"> <property name="OutputDirectory" value=".\doc\" /> <property name="TextFileFullName" value="Documentation.tex" /> <property name="TexFileBaseName" value="Documentation" /> <property name="LatexCompiler" value="latex" /> <property name="TexFileFullPath" value=".\doc\Documentation.tex" /> </documenter> <documenter name="MSDN 2003"> <property name="OutputDirectory" value=".\doc\" /> <property name="HtmlHelpName" value="AndroMDA.ScenarioUnit documentation" /> <property name="Title" value="AndroMDA.ScenarioUnit library" /> </documenter> <documenter name="Linear Html"> <property name="OutputDirectory" value=".\doc\" /> <property name="Title" value="An NDoc Documented Class Library" /> </documenter> <documenter name="Intellisense"> <property name="OutputDirectory" value=".\intellisense\" /> </documenter> <documenter name="JavaDoc"> <property name="OutputDirectory" value=".\doc\" /> </documenter> <documenter name="XML"> <property name="OutputFile" value=".\doc\doc.xml" /> </documenter> </documenters> </project> |
From: Manish A. <mag...@us...> - 2007-02-19 06:38:44
|
User: magrawal Date: 07/02/18 22:38:45 Added: etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/rules _placeholder.txt Log: added sample for using the testing framework. Revision Changes Path 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/rules/_placeholder.txt <<Binary file>> |
From: Manish A. <mag...@us...> - 2007-02-19 06:38:29
|
User: magrawal Date: 07/02/18 22:38:30 Added: etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/input/MoneyServiceTests Add_MultipleCurrencyAdd_m1.xml Add_MultipleCurrencyAdd_m2.xml Add_SimpleAdd_m1.xml Add_SimpleAdd_m2.xml Log: added sample for using the testing framework. Revision Changes Path 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/input/MoneyServiceTests/Add_MultipleCurrencyAdd_m1.xml Index: Add_MultipleCurrencyAdd_m1.xml =================================================================== <?xml version="1.0" encoding="utf-8"?> <Money xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <amount>14</amount> <currency>CHF</currency> </Money> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/input/MoneyServiceTests/Add_MultipleCurrencyAdd_m2.xml Index: Add_MultipleCurrencyAdd_m2.xml =================================================================== <?xml version="1.0" encoding="utf-8"?> <Money xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <amount>14</amount> <currency>USD</currency> </Money> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/input/MoneyServiceTests/Add_SimpleAdd_m1.xml Index: Add_SimpleAdd_m1.xml =================================================================== <?xml version="1.0" encoding="utf-8"?> <Money xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <amount>12</amount> <currency>CHF</currency> </Money> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/input/MoneyServiceTests/Add_SimpleAdd_m2.xml Index: Add_SimpleAdd_m2.xml =================================================================== <?xml version="1.0" encoding="utf-8"?> <Money xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <amount>14</amount> <currency>CHF</currency> </Money> |
User: magrawal Date: 07/02/18 22:38:14 Added: etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/expected_output/MoneyServiceTests Add_MultipleCurrencyAdd.xml Add_SimpleAdd.xml Log: added sample for using the testing framework. Revision Changes Path 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/expected_output/MoneyServiceTests/Add_MultipleCurrencyAdd.xml Index: Add_MultipleCurrencyAdd.xml =================================================================== <?xml version="1.0" encoding="utf-8"?> <Money xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <amount>48</amount> <currency>CHF</currency> </Money> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/expected_output/MoneyServiceTests/Add_SimpleAdd.xml Index: Add_SimpleAdd.xml =================================================================== <?xml version="1.0" encoding="utf-8"?> <Money xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <amount>26</amount> <currency>CHF</currency> </Money> |
From: Manish A. <mag...@us...> - 2007-02-19 06:37:54
|
User: magrawal Date: 07/02/18 22:37:55 Added: etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/actual_output/MoneyServiceTests _placeholder.txt Log: added sample for using the testing framework. Revision Changes Path 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/actual_output/MoneyServiceTests/_placeholder.txt <<Binary file>> |
From: Manish A. <mag...@us...> - 2007-02-19 06:37:43
|
User: magrawal Date: 07/02/18 22:37:44 Added: etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/Properties AssemblyInfo.cs Log: added sample for using the testing framework. Revision Changes Path 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/Properties/AssemblyInfo.cs Index: AssemblyInfo.cs =================================================================== using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MoneyServiceTests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Sapient FS690 XP Image v1.0")] [assembly: AssemblyProduct("MoneyServiceTests")] [assembly: AssemblyCopyright("Copyright © Sapient FS690 XP Image v1.0 2007")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("a7082260-840e-46da-958c-005ed45e43eb")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] |
From: Manish A. <mag...@us...> - 2007-02-19 06:37:34
|
User: magrawal Date: 07/02/18 22:37:33 Added: etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceSample/Properties AssemblyInfo.cs Log: added sample for using the testing framework. Revision Changes Path 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceSample/Properties/AssemblyInfo.cs Index: AssemblyInfo.cs =================================================================== using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MoneyServiceSample")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Sapient FS690 XP Image v1.0")] [assembly: AssemblyProduct("MoneyServiceSample")] [assembly: AssemblyCopyright("Copyright © Sapient FS690 XP Image v1.0 2007")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("f051dcfc-4219-4c4e-b18c-e67d61aba7fd")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] |
From: Manish A. <mag...@us...> - 2007-02-19 06:37:12
|
User: magrawal Date: 07/02/18 22:37:13 Added: etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceSample Money.cs MoneyService.cs MoneyServiceSample.csproj etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests App.config MoneyServiceTest.cs MoneyServiceTests.csproj Log: added sample for using the testing framework. Revision Changes Path 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceSample/Money.cs Index: Money.cs =================================================================== using System; namespace MoneyServiceSample { public class Money { public int amount; public string currency; public Money() { } public Money(int amt, string crncy) { amount = amt; currency = crncy; } } } 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceSample/MoneyService.cs Index: MoneyService.cs =================================================================== using System; namespace MoneyServiceSample { public class MoneyService { public static Money Add(Money m1, Money m2) { Money result = new Money(); result.currency = m1.currency; if (m1.currency == m2.currency) { result.amount = m1.amount + m2.amount; } else { //add a conversion factor to convert from m2.currency to m1.currency. //A constant is used here. In real life, this will be some complicated logic. result.amount = m1.amount + m2.amount + 20; } return result; } } } 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceSample/MoneyServiceSample.csproj Index: MoneyServiceSample.csproj =================================================================== <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>8.0.50727</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{9454A3E4-098B-4559-86E4-A6257887726E}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>MoneyServiceSample</RootNamespace> <AssemblyName>MoneyServiceSample</AssemblyName> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> <DefineConstants>TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> <Reference Include="System" /> <Reference Include="System.Data" /> <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> <Compile Include="Money.cs" /> <Compile Include="MoneyService.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> --> </Project> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/App.config Index: App.config =================================================================== <?xml version="1.0" encoding="utf-8" ?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="Neutral" /> <bindingRedirect oldVersion="2.0.6.0" newVersion="2.2.8.0" /> <bindingRedirect oldVersion="2.1.4.0" newVersion="2.2.8.0" /> <bindingRedirect oldVersion="2.2.0.0" newVersion="2.2.8.0" /> </dependentAssembly> </assemblyBinding> </runtime> <appSettings> <add key="TestDataInputDir" value="../../testdata/input" /> <add key="TestDataExpectedOutputDir" value="../../testdata/expected_output" /> <add key="TestDataActualOutputDir" value="../../testdata/actual_output" /> <add key="TestDataRulesDir" value="../../testdata/rules" /> </appSettings> </configuration> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/MoneyServiceTest.cs Index: MoneyServiceTest.cs =================================================================== using System; using System.IO; using System.Xml; using System.Xml.Serialization; using AndroMDA.ScenarioUnit; using NUnit.Framework; using MoneyServiceSample; namespace MoneyServiceTests { [TestFixture] [XMLDataProvider(InputDir = "MoneyServiceTests")] [XMLAsserter(ActualOutputDir = "MoneyServiceTests", ExpectedOutputDir = "MoneyServiceTests")] public class MoneyServiceTest { [Test] public void TestSimpleAdd() { TestScenarioHelper.Invoke("Add", "SimpleAdd", this); } [Test] public void TestMultipleCurrencyAdd() { //Money m1 = new Money(1, "CHF"); //XmlSerializer xs = new XmlSerializer(typeof(Money)); //using (StreamWriter sw = new StreamWriter(File.OpenWrite("money.xml"))) //{ // xs.Serialize(sw, m1); //} TestScenarioHelper.Invoke("Add", "MultipleCurrencyAdd", this); } private Money Add(Money m1, Money m2) { return MoneyService.Add(m1, m2); } } } 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/MoneyServiceTests.csproj Index: MoneyServiceTests.csproj =================================================================== <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>8.0.50727</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{9D05B523-5603-4300-BA05-EB01FA5EC85C}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>MoneyServiceTests</RootNamespace> <AssemblyName>MoneyServiceTests</AssemblyName> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> <DefineConstants>TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> <Reference Include="AndroMDA.ScenarioUnit, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\..\Lib\AndroMDA.ScenarioUnit.dll</HintPath> </Reference> <Reference Include="nunit.core, Version=2.2.9.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\..\Lib\nunit.core.dll</HintPath> </Reference> <Reference Include="nunit.framework, Version=2.2.9.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>..\..\Lib\nunit.framework.dll</HintPath> </Reference> <Reference Include="NXUnit.Framework, Version=1.0.0.19101, Culture=neutral"> <SpecificVersion>False</SpecificVersion> <HintPath>..\..\Lib\NXUnit.Framework.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.Data" /> <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> <Compile Include="MoneyServiceTest.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\MoneyServiceSample\MoneyServiceSample.csproj"> <Project>{9454A3E4-098B-4559-86E4-A6257887726E}</Project> <Name>MoneyServiceSample</Name> </ProjectReference> </ItemGroup> <ItemGroup> <None Include="App.config" /> </ItemGroup> <ItemGroup> <Folder Include="testdata\actual_output\MoneyServiceTests\" /> <Folder Include="testdata\expected_output\MoneyServiceTests\" /> <Folder Include="testdata\input\MoneyServiceTests\" /> <Folder Include="testdata\rules\" /> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> --> </Project> |
From: Manish A. <mag...@us...> - 2007-02-19 06:36:58
|
User: magrawal Date: 07/02/18 22:36:59 Added: etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/Lib AndroMDA.ScenarioUnit.dll nunit.core.dll nunit.framework.dll NXUnit.Framework.dll etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample MoneyServiceSample.sln Log: added sample for using the testing framework. Revision Changes Path 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/Lib/AndroMDA.ScenarioUnit.dll <<Binary file>> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/Lib/nunit.core.dll <<Binary file>> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/Lib/nunit.framework.dll <<Binary file>> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/Lib/NXUnit.Framework.dll <<Binary file>> 1.1 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceSample.sln Index: MoneyServiceSample.sln ===================================================================  Microsoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2005 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MoneyServiceSample", "MoneyServiceSample\MoneyServiceSample.csproj", "{9454A3E4-098B-4559-86E4-A6257887726E}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MoneyServiceTests", "MoneyServiceTests\MoneyServiceTests.csproj", "{9D05B523-5603-4300-BA05-EB01FA5EC85C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {9454A3E4-098B-4559-86E4-A6257887726E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9454A3E4-098B-4559-86E4-A6257887726E}.Debug|Any CPU.Build.0 = Debug|Any CPU {9454A3E4-098B-4559-86E4-A6257887726E}.Release|Any CPU.ActiveCfg = Release|Any CPU {9454A3E4-098B-4559-86E4-A6257887726E}.Release|Any CPU.Build.0 = Release|Any CPU {9D05B523-5603-4300-BA05-EB01FA5EC85C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9D05B523-5603-4300-BA05-EB01FA5EC85C}.Debug|Any CPU.Build.0 = Debug|Any CPU {9D05B523-5603-4300-BA05-EB01FA5EC85C}.Release|Any CPU.ActiveCfg = Release|Any CPU {9D05B523-5603-4300-BA05-EB01FA5EC85C}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal |
From: Manish A. <mag...@us...> - 2007-02-19 06:35:22
|
User: magrawal Date: 07/02/18 22:35:23 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/input/MoneyServiceTests - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:34:57
|
User: magrawal Date: 07/02/18 22:34:59 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/expected_output/MoneyServiceTests - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:34:18
|
User: magrawal Date: 07/02/18 22:34:19 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/actual_output/MoneyServiceTests - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:34:05
|
User: magrawal Date: 07/02/18 22:34:06 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/rules - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:34:05
|
User: magrawal Date: 07/02/18 22:34:06 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/actual_output - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:34:05
|
User: magrawal Date: 07/02/18 22:34:06 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/input - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:34:05
|
User: magrawal Date: 07/02/18 22:34:06 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata/expected_output - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:33:33
|
User: magrawal Date: 07/02/18 22:33:34 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/testdata - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:33:33
|
User: magrawal Date: 07/02/18 22:33:33 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests/Properties - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:32:57
|
User: magrawal Date: 07/02/18 22:32:58 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceSample/Properties - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:32:42
|
User: magrawal Date: 07/02/18 22:32:43 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceSample - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:32:42
|
User: magrawal Date: 07/02/18 22:32:43 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample/MoneyServiceTests - New directory |
From: Manish A. <mag...@us...> - 2007-02-19 06:32:11
|
User: magrawal Date: 07/02/18 22:32:12 plugins/etc/andromda-dotnet/AndroMDA.ScenarioUnit/samples/MoneyServiceSample - New directory |