Add test skeleton.

This commit is contained in:
2015-02-19 18:59:47 +00:00
parent 13f8ee6d73
commit 4c747653cf
6 changed files with 191 additions and 19 deletions

View File

@@ -1,3 +1,8 @@
2015-02-19 Natalia Portillo <claunia@claunia.com>
* plist-cil.sln:
Add test skeleton.
2015-02-19 Natalia Portillo <claunia@claunia.com>
* plist-cil.sln:

View File

@@ -3,23 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "plist-cil", "plist-cil\plist-cil.csproj", "{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test-files", "test-files", "{67533069-B704-481F-A0FA-7EDAA01C927E}"
ProjectSection(SolutionItems) = preProject
test-files\test1-ascii-gnustep.plist = test-files\test1-ascii-gnustep.plist
test-files\test1-ascii.plist = test-files\test1-ascii.plist
test-files\test1.plist = test-files\test1.plist
test-files\testNegative-bin.plist = test-files\testNegative-bin.plist
test-files\testNegative-xml.plist = test-files\testNegative-xml.plist
test-files\issue4.plist = test-files\issue4.plist
test-files\issue16.plist = test-files\issue16.plist
test-files\issue21.plist = test-files\issue21.plist
test-files\issue22-emoji-xml.plist = test-files\issue22-emoji-xml.plist
test-files\issue22-emoji.plist = test-files\issue22-emoji.plist
test-files\issue30.plist = test-files\issue30.plist
test-files\issue33.pbxproj = test-files\issue33.pbxproj
test-files\issue49.plist = test-files\issue49.plist
test-files\test-ascii.plist = test-files\test-ascii.plist
EndProjectSection
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "plist-cil.test", "plist-cil.test\plist-cil.test.csproj", "{36AD4394-6A31-465F-BE8E-E4806A89CC38}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -27,13 +11,15 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{36AD4394-6A31-465F-BE8E-E4806A89CC38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{36AD4394-6A31-465F-BE8E-E4806A89CC38}.Debug|Any CPU.Build.0 = Debug|Any CPU
{36AD4394-6A31-465F-BE8E-E4806A89CC38}.Release|Any CPU.ActiveCfg = Release|Any CPU
{36AD4394-6A31-465F-BE8E-E4806A89CC38}.Release|Any CPU.Build.0 = Release|Any CPU
{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
Policies = $0
$0.DotNetNamingPolicy = $1

7
plist-cil.test/ChangeLog Normal file
View File

@@ -0,0 +1,7 @@
2015-02-19 Natalia Portillo <claunia@claunia.com>
* packages.config:
* plist-cil.test.csproj:
* Properties/AssemblyInfo.cs:
Add test skeleton.

View File

@@ -0,0 +1,51 @@
// plist-cil - An open source library to parse and generate property lists for .NET
// Copyright (C) 2015 Natalia Portillo
//
// This code is based on:
// plist - An open source library to parse and generate property lists
// Copyright (C) 2014 Daniel Dreibrodt
//
// 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.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("plist-cil.test")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Claunia.com")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("© Claunia.com")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: AssemblyVersion("1.0.*")]
// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="2.6.4" targetFramework="net45" />
</packages>

View File

@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{36AD4394-6A31-465F-BE8E-E4806A89CC38}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>plistcil.test</RootNamespace>
<AssemblyName>plist-cil.test</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<None Include="packages.config" />
<None Include="..\test-files\test1-ascii-gnustep.plist">
<Link>test1-ascii-gnustep.plist</Link>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\test-files\test1-ascii.plist">
<Link>test1-ascii.plist</Link>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\test-files\test1.plist">
<Link>test1.plist</Link>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\test-files\testNegative-bin.plist">
<Link>testNegative-bin.plist</Link>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\test-files\testNegative-xml.plist">
<Link>testNegative-xml.plist</Link>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\test-files\issue4.plist">
<Link>issue4.plist</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
</None>
<None Include="..\test-files\issue16.plist">
<Link>issue16.plist</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
</None>
<None Include="..\test-files\issue21.plist">
<Link>issue21.plist</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
</None>
<None Include="..\test-files\issue22-emoji-xml.plist">
<Link>issue22-emoji-xml.plist</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
</None>
<None Include="..\test-files\issue22-emoji.plist">
<Link>issue22-emoji.plist</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
</None>
<None Include="..\test-files\issue30.plist">
<Link>issue30.plist</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
</None>
<None Include="..\test-files\issue33.pbxproj">
<Link>issue33.pbxproj</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
</None>
<None Include="..\test-files\issue49.plist">
<Link>issue49.plist</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
</None>
<None Include="..\test-files\test-ascii.plist">
<Link>test-ascii.plist</Link>
<Gettext-ScanForTranslations>False</Gettext-ScanForTranslations>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\plist-cil\plist-cil.csproj">
<Project>{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}</Project>
<Name>plist-cil</Name>
</ProjectReference>
</ItemGroup>
</Project>