mirror of
https://github.com/claunia/plist-cil.git
synced 2025-12-16 19:14:26 +00:00
Add test skeleton.
This commit is contained in:
@@ -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>
|
2015-02-19 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
* plist-cil.sln:
|
* plist-cil.sln:
|
||||||
|
|||||||
@@ -3,23 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio 2012
|
# Visual Studio 2012
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "plist-cil", "plist-cil\plist-cil.csproj", "{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "plist-cil", "plist-cil\plist-cil.csproj", "{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test-files", "test-files", "{67533069-B704-481F-A0FA-7EDAA01C927E}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "plist-cil.test", "plist-cil.test\plist-cil.test.csproj", "{36AD4394-6A31-465F-BE8E-E4806A89CC38}"
|
||||||
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
|
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@@ -27,13 +11,15 @@ Global
|
|||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
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.ActiveCfg = Debug|Any CPU
|
||||||
{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}.Debug|Any CPU.Build.0 = 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.ActiveCfg = Release|Any CPU
|
||||||
{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}.Release|Any CPU.Build.0 = Release|Any CPU
|
{5EA40CD5-CB98-4FD5-8628-3B399EACB38B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(NestedProjects) = preSolution
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(MonoDevelopProperties) = preSolution
|
GlobalSection(MonoDevelopProperties) = preSolution
|
||||||
Policies = $0
|
Policies = $0
|
||||||
$0.DotNetNamingPolicy = $1
|
$0.DotNetNamingPolicy = $1
|
||||||
|
|||||||
7
plist-cil.test/ChangeLog
Normal file
7
plist-cil.test/ChangeLog
Normal 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.
|
||||||
|
|
||||||
51
plist-cil.test/Properties/AssemblyInfo.cs
Normal file
51
plist-cil.test/Properties/AssemblyInfo.cs
Normal 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("")]
|
||||||
|
|
||||||
4
plist-cil.test/packages.config
Normal file
4
plist-cil.test/packages.config
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="NUnit" version="2.6.4" targetFramework="net45" />
|
||||||
|
</packages>
|
||||||
119
plist-cil.test/plist-cil.test.csproj
Normal file
119
plist-cil.test/plist-cil.test.csproj
Normal 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>
|
||||||
Reference in New Issue
Block a user