Author: jbevain
Date: 2007-05-11 08:47:50 -0400 (Fri, 11 May 2007)
New Revision: 77236

Added:
   trunk/cecil/tests/
   trunk/cecil/tests/ChangeLog
   trunk/cecil/tests/Mono.Cecil.Tests.csproj
   trunk/cecil/tests/Mono.Cecil.Tests/
   trunk/cecil/tests/Mono.Cecil.Tests/AssemblyInfo.cs
   trunk/cecil/tests/Mono.Cecil.Tests/RegressionTestFixture.cs
   trunk/cecil/tests/TestCases/
   trunk/cecil/tests/TestCases/Regression/
   trunk/cecil/tests/TestCases/Regression/SimpleAssembly.boo
   trunk/cecil/tests/TestCases/Regression/SimpleAssembly.dll
Log:
2007-05-11  Jb Evain  <[EMAIL PROTECTED]>

        * first check-in of the new Cecil
                unit test infrastructure.


Added: trunk/cecil/tests/ChangeLog
===================================================================
--- trunk/cecil/tests/ChangeLog 2007-05-11 12:39:26 UTC (rev 77235)
+++ trunk/cecil/tests/ChangeLog 2007-05-11 12:47:50 UTC (rev 77236)
@@ -0,0 +1,4 @@
+2007-05-11  Jb Evain  <[EMAIL PROTECTED]>
+
+       * first check-in of the new Cecil
+               unit test infrastructure.


Property changes on: trunk/cecil/tests/ChangeLog
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/cecil/tests/Mono.Cecil.Tests/AssemblyInfo.cs
===================================================================
--- trunk/cecil/tests/Mono.Cecil.Tests/AssemblyInfo.cs  2007-05-11 12:39:26 UTC 
(rev 77235)
+++ trunk/cecil/tests/Mono.Cecil.Tests/AssemblyInfo.cs  2007-05-11 12:47:50 UTC 
(rev 77236)
@@ -0,0 +1,45 @@
+//
+// AssemblyInfo.cs
+//
+// Author:
+//   Jb Evain ([EMAIL PROTECTED])
+//
+// (C) 2007 Jb Evain
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle ("Mono.Cecil.Tests")]
+[assembly: AssemblyDescription ("")]
+[assembly: AssemblyConfiguration ("")]
+[assembly: AssemblyCompany ("")]
+[assembly: AssemblyProduct ("Mono.Cecil.Tests")]
+[assembly: AssemblyCopyright ("Copyright © 2007 Jb Evain")]
+[assembly: AssemblyTrademark ("")]
+[assembly: AssemblyCulture ("")]
+
+[assembly: ComVisible (false)]
+
+[assembly: Guid ("ce5be552-4c1e-4d04-8888-95a919d3fb1b")]
+
+[assembly: AssemblyVersion ("1.0.0.0")]


Property changes on: trunk/cecil/tests/Mono.Cecil.Tests/AssemblyInfo.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/cecil/tests/Mono.Cecil.Tests/RegressionTestFixture.cs
===================================================================
--- trunk/cecil/tests/Mono.Cecil.Tests/RegressionTestFixture.cs 2007-05-11 
12:39:26 UTC (rev 77235)
+++ trunk/cecil/tests/Mono.Cecil.Tests/RegressionTestFixture.cs 2007-05-11 
12:47:50 UTC (rev 77236)
@@ -0,0 +1,49 @@
+//
+// RegressionTestFixture.cs
+//
+// Author:
+//   Jb Evain ([EMAIL PROTECTED])
+//
+// (C) 2007 Jb Evain
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.IO;
+using Mono.Bat;
+using NUnit.Framework;
+
+namespace Mono.Cecil.Tests {
+
+       [TestFixture]
+       public class RegressionTestFixture : AbstractAssemblyTestFixture {
+
+               [Test]
+               public void TestSimpleAssembly ()
+               {
+                       RunReadAssemblyTestCase ("SimpleAssembly");
+               }
+
+               protected override string GetTestCasePath (string file)
+               {
+                       return base.GetTestCasePath (Path.Combine 
("Regression", file));
+               }
+       }
+}


Property changes on: trunk/cecil/tests/Mono.Cecil.Tests/RegressionTestFixture.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/cecil/tests/Mono.Cecil.Tests.csproj
===================================================================
--- trunk/cecil/tests/Mono.Cecil.Tests.csproj   2007-05-11 12:39:26 UTC (rev 
77235)
+++ trunk/cecil/tests/Mono.Cecil.Tests.csproj   2007-05-11 12:47:50 UTC (rev 
77236)
@@ -0,0 +1,61 @@
+<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>{CF719F3C-BF82-4892-8982-AB0539377CD2}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>Mono.Cecil.Tests</RootNamespace>
+    <AssemblyName>Mono.Cecil.Tests</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>
+    <Compile Include="Mono.Cecil.Tests\AssemblyInfo.cs" />
+    <Compile Include="Mono.Cecil.Tests\RegressionTestFixture.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\bat\Mono.Bat.csproj">
+      <Project>{B2A9085A-7808-4682-8ED2-AB5FD2239146}</Project>
+      <Name>Mono.Bat</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\lib\Mono.Cecil.csproj">
+      <Project>{D8F63DFF-5230-43E4-9AB2-DA6E721A1FAE}</Project>
+      <Name>Mono.Cecil</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="TestCases\Regression\SimpleAssembly.boo" />
+  </ItemGroup>
+  <ItemGroup>
+    <Reference Include="nunit.framework, Version=2.4.0.2, Culture=neutral, 
PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
+  </ItemGroup>
+  <ItemGroup>
+    <Folder Include="Properties\" />
+  </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>
\ No newline at end of file


Property changes on: trunk/cecil/tests/Mono.Cecil.Tests.csproj
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/cecil/tests/TestCases/Regression/SimpleAssembly.boo
===================================================================
--- trunk/cecil/tests/TestCases/Regression/SimpleAssembly.boo   2007-05-11 
12:39:26 UTC (rev 77235)
+++ trunk/cecil/tests/TestCases/Regression/SimpleAssembly.boo   2007-05-11 
12:47:50 UTC (rev 77236)
@@ -0,0 +1,7 @@
+"""
+<Module>
+A
+"""
+
+for t in ASM.MainModule.Types:
+       print t


Property changes on: trunk/cecil/tests/TestCases/Regression/SimpleAssembly.boo
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/cecil/tests/TestCases/Regression/SimpleAssembly.dll
===================================================================
(Binary files differ)


Property changes on: trunk/cecil/tests/TestCases/Regression/SimpleAssembly.dll
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to