You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2014/04/07 22:24:09 UTC
[03/19] nuget package restore
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleFixtureExtension/Tests/SampleFixtureExtensionTests.csproj
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleFixtureExtension/Tests/SampleFixtureExtensionTests.csproj b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleFixtureExtension/Tests/SampleFixtureExtensionTests.csproj
deleted file mode 100644
index cc082b9..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleFixtureExtension/Tests/SampleFixtureExtensionTests.csproj
+++ /dev/null
@@ -1,94 +0,0 @@
-<VisualStudioProject>
- <CSHARP
- ProjectType = "Local"
- ProductVersion = "7.10.3077"
- SchemaVersion = "2.0"
- ProjectGuid = "{0DE6C90F-BB74-4BC8-887A-2222DB56D2EB}"
- >
- <Build>
- <Settings
- ApplicationIcon = ""
- AssemblyKeyContainerName = ""
- AssemblyName = "SampleFixtureExtensionTests"
- AssemblyOriginatorKeyFile = ""
- DefaultClientScript = "JScript"
- DefaultHTMLPageLayout = "Grid"
- DefaultTargetSchema = "IE50"
- DelaySign = "false"
- OutputType = "Library"
- PreBuildEvent = ""
- PostBuildEvent = ""
- RootNamespace = "Tests"
- RunPostBuildEvent = "OnBuildSuccess"
- StartupObject = ""
- >
- <Config
- Name = "Debug"
- AllowUnsafeBlocks = "false"
- BaseAddress = "285212672"
- CheckForOverflowUnderflow = "false"
- ConfigurationOverrideFile = ""
- DefineConstants = "DEBUG;TRACE"
- DocumentationFile = ""
- DebugSymbols = "true"
- FileAlignment = "4096"
- IncrementalBuild = "false"
- NoStdLib = "false"
- NoWarn = ""
- Optimize = "false"
- OutputPath = "bin\Debug\"
- RegisterForComInterop = "false"
- RemoveIntegerChecks = "false"
- TreatWarningsAsErrors = "false"
- WarningLevel = "4"
- />
- <Config
- Name = "Release"
- AllowUnsafeBlocks = "false"
- BaseAddress = "285212672"
- CheckForOverflowUnderflow = "false"
- ConfigurationOverrideFile = ""
- DefineConstants = "TRACE"
- DocumentationFile = ""
- DebugSymbols = "false"
- FileAlignment = "4096"
- IncrementalBuild = "false"
- NoStdLib = "false"
- NoWarn = ""
- Optimize = "true"
- OutputPath = "bin\Release\"
- RegisterForComInterop = "false"
- RemoveIntegerChecks = "false"
- TreatWarningsAsErrors = "false"
- WarningLevel = "4"
- />
- </Settings>
- <References>
- <Reference
- Name = "System"
- AssemblyName = "System"
- />
- <Reference
- Name = "SampleFixtureExtension"
- Project = "{ED281A23-9579-4A70-B608-1B86DCDEB78C}"
- Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
- />
- <Reference
- Name = "nunit.framework"
- AssemblyName = "nunit.framework"
- HintPath = "..\..\..\bin\nunit.framework.dll"
- />
- </References>
- </Build>
- <Files>
- <Include>
- <File
- RelPath = "SampleFixtureExtensionTests.cs"
- SubType = "Code"
- BuildAction = "Compile"
- />
- </Include>
- </Files>
- </CSHARP>
-</VisualStudioProject>
-
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Addin.cs
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Addin.cs b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Addin.cs
deleted file mode 100644
index 20a359a..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Addin.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-// ****************************************************************
-// Copyright 2007, Charlie Poole
-// This is free software licensed under the NUnit license. You may
-// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
-// ****************************************************************
-
-using System;
-using NUnit.Core.Extensibility;
-
-namespace NUnit.Core.Extensions
-{
- /// <summary>
- /// Summary description for Addin.
- /// </summary>
- [NUnitAddin(Name="SampleSuiteExtension", Description = "Recognizes Tests starting with SampleTest...")]
- public class Addin : IAddin
- {
- #region IAddin Members
- public bool Install(IExtensionHost host)
- {
- IExtensionPoint builders = host.GetExtensionPoint( "SuiteBuilders" );
- if ( builders == null )
- return false;
-
- builders.Install( new SampleSuiteExtensionBuilder() );
- return true;
- }
- #endregion
- }
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/AssemblyInfo.cs
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/AssemblyInfo.cs b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/AssemblyInfo.cs
deleted file mode 100644
index 9f89a32..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/AssemblyInfo.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-//
-// 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("")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-//
-// 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.*")]
-
-//
-// In order to sign your assembly you must specify a key to use. Refer to the
-// Microsoft .NET Framework documentation for more information on assembly signing.
-//
-// Use the attributes below to control which key is used for signing.
-//
-// Notes:
-// (*) If no key is specified, the assembly is not signed.
-// (*) KeyName refers to a key that has been installed in the Crypto Service
-// Provider (CSP) on your machine. KeyFile refers to a file which contains
-// a key.
-// (*) If the KeyFile and the KeyName values are both specified, the
-// following processing occurs:
-// (1) If the KeyName can be found in the CSP, that key is used.
-// (2) If the KeyName does not exist and the KeyFile does exist, the key
-// in the KeyFile is installed into the CSP and used.
-// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
-// When specifying the KeyFile, the location of the KeyFile should be
-// relative to the project output directory which is
-// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
-// located in the project directory, you would specify the AssemblyKeyFile
-// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
-// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
-// documentation for more information on this.
-//
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
-[assembly: AssemblyKeyName("")]
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/ReadMe.txt
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/ReadMe.txt b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/ReadMe.txt
deleted file mode 100644
index 11fb204..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/ReadMe.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-SampleSuiteExtension Example
-
-This is a minimal example of a SuiteBuilder extension. It extends
-NUnit.Core.TestSuite test suite and creates a fixture that runs every
-test starting with "SampleTest..." It packages both the core extension
-and the attribute used in the tests in the same assembly.
-
-SampleSuiteExtension Class
-
-This class derives from NUnit.Framework.TestSuite and represents the
-extended suite within NUnit. Because it inherits from TestSuite,
-rather than TestFixture, it has to construct its own fixture object and
-find its own tests. Everything is done in the constructor for simplicity.
-
-SampleSuiteExtensionBuilder
-
-This class is the actual SuiteBuilder loaded by NUnit as an add-in.
-It recognizes the SampleSuiteExtensionAttribute and invokes the
-SampleSuiteExtension constructor to build the suite.
-
-SampleSuiteExtensionAttribute
-
-This is the special attribute used to mark tests to be constructed
-using this add-in. It is the only class referenced from the user tests.
-
-Note on Building this Extension
-
-If you use the Visual Studio solution, the NUnit references in both
-included projects must be changed so that they refer to the copy of
-NUnit in which you want to install the extension. The post-build step
-for the SampleSuiteExtension project must be changed to copy the
-extension into the addins directory for your NUnit install.
-
-NOTE:
-
-The references to nunit.core and nunit.common in the
-SampleSuiteExtension project have their Copy Local property set to
-false, rather than the Visual Studio default of true. In developing
-extensions, it is essential there be no extra copies of these assemblies
-be created. Once the extension is complete, those who install it in
-binary form will not need to deal with this issue.
-
-
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.build
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.build b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.build
deleted file mode 100644
index 0dda8cc..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.build
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0"?>
-<project name="SampleSuiteExtension" default="build" basedir=".">
-
- <include buildfile="../../../samples.common" />
-
- <patternset id="source-files">
- <include name="Addin.cs" />
- <include name="AssemblyInfo.cs" />
- <include name="SampleSuiteExtension.cs" />
- <include name="SampleSuiteExtensionAttribute.cs" />
- <include name="SampleSuiteExtensionBuilder.cs" />
- </patternset>
-
- <patternset id="test-files">
- <include name="SampleSuiteExtensionTests.cs" />
- </patternset>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.cs
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.cs b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.cs
deleted file mode 100644
index 7abfa2c..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-// ****************************************************************
-// Copyright 2007, Charlie Poole
-// This is free software licensed under the NUnit license. You may
-// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
-// ****************************************************************
-
-using System;
-using System.Reflection;
-
-namespace NUnit.Core.Extensions
-{
- /// <summary>
- /// SampleSuiteExtension is a minimal example of a suite extension. It
- /// extends test suite and creates a fixture that runs every test starting
- /// with "SampleTest..." Because it inherits from TestSuite, rather than
- /// TestFixture, it has to construct its own fixture object and find its
- /// own tests. Everything is done in the constructor for simplicity.
- /// </summary>
- class SampleSuiteExtension : TestSuite
- {
- public SampleSuiteExtension( Type fixtureType )
- : base( fixtureType )
- {
- // Create the fixture object. We could wait to do this when
- // it is needed, but we do it here for simplicity.
- this.Fixture = Reflect.Construct( fixtureType );
-
- // Locate our test methods and add them to the suite using
- // the Add method of TestSuite. Note that we don't do a simple
- // Tests.Add, because that wouldn't set the parent of the tests.
- foreach( MethodInfo method in fixtureType.GetMethods(
- BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly ) )
- {
- if ( method.Name.StartsWith( "SampleTest" ) )
- this.Add( new NUnitTestMethod( method ) );
- }
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.csproj
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.csproj b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.csproj
deleted file mode 100644
index c7d0a70..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.csproj
+++ /dev/null
@@ -1,114 +0,0 @@
-<VisualStudioProject>
- <CSHARP
- ProjectType = "Local"
- ProductVersion = "7.10.3077"
- SchemaVersion = "2.0"
- ProjectGuid = "{0C4269EE-3266-45DD-9062-E356C067FBEF}"
- >
- <Build>
- <Settings
- ApplicationIcon = ""
- AssemblyKeyContainerName = ""
- AssemblyName = "SampleSuiteExtension"
- AssemblyOriginatorKeyFile = ""
- DefaultClientScript = "JScript"
- DefaultHTMLPageLayout = "Grid"
- DefaultTargetSchema = "IE50"
- DelaySign = "false"
- OutputType = "Library"
- PreBuildEvent = ""
- PostBuildEvent = ""
- RootNamespace = "SampleSuiteExtension"
- RunPostBuildEvent = "OnBuildSuccess"
- StartupObject = ""
- >
- <Config
- Name = "Debug"
- AllowUnsafeBlocks = "false"
- BaseAddress = "285212672"
- CheckForOverflowUnderflow = "false"
- ConfigurationOverrideFile = ""
- DefineConstants = "DEBUG;TRACE"
- DocumentationFile = ""
- DebugSymbols = "true"
- FileAlignment = "4096"
- IncrementalBuild = "false"
- NoStdLib = "false"
- NoWarn = ""
- Optimize = "false"
- OutputPath = "bin\Debug\"
- RegisterForComInterop = "false"
- RemoveIntegerChecks = "false"
- TreatWarningsAsErrors = "false"
- WarningLevel = "4"
- />
- <Config
- Name = "Release"
- AllowUnsafeBlocks = "false"
- BaseAddress = "285212672"
- CheckForOverflowUnderflow = "false"
- ConfigurationOverrideFile = ""
- DefineConstants = "TRACE"
- DocumentationFile = ""
- DebugSymbols = "false"
- FileAlignment = "4096"
- IncrementalBuild = "false"
- NoStdLib = "false"
- NoWarn = ""
- Optimize = "true"
- OutputPath = "bin\Release\"
- RegisterForComInterop = "false"
- RemoveIntegerChecks = "false"
- TreatWarningsAsErrors = "false"
- WarningLevel = "4"
- />
- </Settings>
- <References>
- <Reference
- Name = "System"
- AssemblyName = "System"
- />
- <Reference
- Name = "nunit.core.interfaces"
- AssemblyName = "nunit.core.interfaces"
- HintPath = "..\..\..\bin\nunit.core.interfaces.dll"
- />
- <Reference
- Name = "nunit.core"
- AssemblyName = "nunit.core"
- HintPath = "..\..\..\bin\nunit.core.dll"
- />
- </References>
- </Build>
- <Files>
- <Include>
- <File
- RelPath = "Addin.cs"
- SubType = "Code"
- BuildAction = "Compile"
- />
- <File
- RelPath = "AssemblyInfo.cs"
- SubType = "Code"
- BuildAction = "Compile"
- />
- <File
- RelPath = "SampleSuiteExtension.cs"
- SubType = "Code"
- BuildAction = "Compile"
- />
- <File
- RelPath = "SampleSuiteExtensionAttribute.cs"
- SubType = "Code"
- BuildAction = "Compile"
- />
- <File
- RelPath = "SampleSuiteExtensionBuilder.cs"
- SubType = "Code"
- BuildAction = "Compile"
- />
- </Include>
- </Files>
- </CSHARP>
-</VisualStudioProject>
-
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtensionAttribute.cs
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtensionAttribute.cs b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtensionAttribute.cs
deleted file mode 100644
index 7194ea5..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtensionAttribute.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-// ****************************************************************
-// Copyright 2007, Charlie Poole
-// This is free software licensed under the NUnit license. You may
-// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
-// ****************************************************************
-
-using System;
-
-namespace NUnit.Core.Extensions
-{
- /// <summary>
- /// SampleSuiteExtensionAttribute is used to identify a SampleSuiteExtension fixture
- /// </summary>
- [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)]
- public sealed class SampleSuiteExtensionAttribute : Attribute
- {
- }
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtensionBuilder.cs
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtensionBuilder.cs b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtensionBuilder.cs
deleted file mode 100644
index 39b7b49..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtensionBuilder.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-// ****************************************************************
-// Copyright 2007, Charlie Poole
-// This is free software licensed under the NUnit license. You may
-// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
-// ****************************************************************
-
-using System;
-using NUnit.Core.Extensibility;
-
-namespace NUnit.Core.Extensions
-{
- /// <summary>
- /// SampleSuiteExtensionBuilder knows how to build a SampleSuiteExtension
- /// </summary>
- public class SampleSuiteExtensionBuilder : ISuiteBuilder
- {
- #region ISuiteBuilder Members
-
- // This builder delegates all the work to the constructor of the
- // extension suite. Many builders will need to do more work,
- // looking for other attributes, setting properties on the
- // suite and locating methods for tests, setup and teardown.
- public Test BuildFrom(Type type)
- {
- if ( CanBuildFrom( type ) )
- return new SampleSuiteExtension( type );
- return null;
- }
-
- // The builder recognizes the types that it can use by the presense
- // of SampleSuiteExtensionAttribute. Note that an attribute does not
- // have to be used. You can use any arbitrary set of rules that can be
- // implemented using reflection on the type.
- public bool CanBuildFrom(Type type)
- {
- return Reflect.HasAttribute( type, "NUnit.Core.Extensions.SampleSuiteExtensionAttribute", false );
- }
-
- #endregion
- }
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Tests/SampleSuiteExtensionTests.cs
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Tests/SampleSuiteExtensionTests.cs b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Tests/SampleSuiteExtensionTests.cs
deleted file mode 100644
index d1a7660..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Tests/SampleSuiteExtensionTests.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-// ****************************************************************
-// Copyright 2007, Charlie Poole
-// This is free software licensed under the NUnit license. You may
-// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
-// ****************************************************************
-
-using System;
-using System.Reflection;
-
-namespace NUnit.Core.Extensions.Tests
-{
- /// <summary>
- /// Test class that demonstrates SampleSuiteExtension
- /// </summary>
- [SampleSuiteExtension]
- public class SampleSuiteExtensionTests
- {
- public void SampleTest1()
- {
- Console.WriteLine( "Hello from sample test 1" );
- }
-
- public void SampleTest2()
- {
- Console.WriteLine( "Hello from sample test 2" );
- }
-
- public void NotATest()
- {
- Console.WriteLine( "I shouldn't be called!" );
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Tests/SampleSuiteExtensionTests.csproj
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Tests/SampleSuiteExtensionTests.csproj b/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Tests/SampleSuiteExtensionTests.csproj
deleted file mode 100644
index 339d89b..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/Extensibility/Core/SampleSuiteExtension/Tests/SampleSuiteExtensionTests.csproj
+++ /dev/null
@@ -1,94 +0,0 @@
-<VisualStudioProject>
- <CSHARP
- ProjectType = "Local"
- ProductVersion = "7.10.3077"
- SchemaVersion = "2.0"
- ProjectGuid = "{9F609A0D-FF7E-4F0C-B2DF-417EBC557CFF}"
- >
- <Build>
- <Settings
- ApplicationIcon = ""
- AssemblyKeyContainerName = ""
- AssemblyName = "SampleSuiteExtensionTests"
- AssemblyOriginatorKeyFile = ""
- DefaultClientScript = "JScript"
- DefaultHTMLPageLayout = "Grid"
- DefaultTargetSchema = "IE50"
- DelaySign = "false"
- OutputType = "Library"
- PreBuildEvent = ""
- PostBuildEvent = ""
- RootNamespace = "Tests"
- RunPostBuildEvent = "OnBuildSuccess"
- StartupObject = ""
- >
- <Config
- Name = "Debug"
- AllowUnsafeBlocks = "false"
- BaseAddress = "285212672"
- CheckForOverflowUnderflow = "false"
- ConfigurationOverrideFile = ""
- DefineConstants = "DEBUG;TRACE"
- DocumentationFile = ""
- DebugSymbols = "true"
- FileAlignment = "4096"
- IncrementalBuild = "false"
- NoStdLib = "false"
- NoWarn = ""
- Optimize = "false"
- OutputPath = "bin\Debug\"
- RegisterForComInterop = "false"
- RemoveIntegerChecks = "false"
- TreatWarningsAsErrors = "false"
- WarningLevel = "4"
- />
- <Config
- Name = "Release"
- AllowUnsafeBlocks = "false"
- BaseAddress = "285212672"
- CheckForOverflowUnderflow = "false"
- ConfigurationOverrideFile = ""
- DefineConstants = "TRACE"
- DocumentationFile = ""
- DebugSymbols = "false"
- FileAlignment = "4096"
- IncrementalBuild = "false"
- NoStdLib = "false"
- NoWarn = ""
- Optimize = "true"
- OutputPath = "bin\Release\"
- RegisterForComInterop = "false"
- RemoveIntegerChecks = "false"
- TreatWarningsAsErrors = "false"
- WarningLevel = "4"
- />
- </Settings>
- <References>
- <Reference
- Name = "System"
- AssemblyName = "System"
- />
- <Reference
- Name = "SampleSuiteExtension"
- Project = "{0C4269EE-3266-45DD-9062-E356C067FBEF}"
- Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
- />
- <Reference
- Name = "nunit.framework"
- AssemblyName = "nunit.framework"
- HintPath = "..\..\..\..\bin\nunit.framework.dll"
- />
- </References>
- </Build>
- <Files>
- <Include>
- <File
- RelPath = "SampleSuiteExtensionTests.cs"
- SubType = "Code"
- BuildAction = "Compile"
- />
- </Include>
- </Files>
- </CSHARP>
-</VisualStudioProject>
-
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/ReadMe.txt
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/ReadMe.txt b/lib/NUnit.org/NUnit/2.5.9/samples/ReadMe.txt
deleted file mode 100644
index 71e0ee7..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/ReadMe.txt
+++ /dev/null
@@ -1,69 +0,0 @@
-NUnit Samples
-
-This directory contains sample applications demonstrating the use of NUnit and organized as follows...
-
- CSharp: Samples in C#
-
- Failures: Demonstrates 4 failing tests and one that is not run.
-
- Money: This is a C# version of the money example which is found in most xUnit implementations. Thanks to Kent Beck.
-
- Money-Port: This shows how the Money example can be ported from Version 1 of NUnit with minimal changes.
-
- Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax.
-
- JSharp: Samples in J#
-
- Failures: Demonstrates 4 failing tests and one that is not run.
-
- CPP: C++ Samples
-
- MANAGED: Managed C++ Samples (VS 2003 compatible)
-
- Failures: Demonstrates 4 failing tests and one that is not run.
-
- CPP-CLI: C++/CLI Samples (VS 2005 only)
-
- Failures: Demonstrates 4 failing tests and one that is not run.
-
- Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax.
-
- VB: Samples in VB.NET
-
- Failures: Demonstrates 4 failing tests and one that is not run.
-
- Money: This is a VB.NET version of the money example found in most xUnit implementations. Thanks to Kent Beck.
-
- Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax.
-
- Extensibility: Examples of extending NUnit
-
- Framework:
-
- Core:
-
- TestSuiteExtension
-
- TestFixtureExtension
-
-
-Building the Samples
-
-A Visual Studio 2003 project is included for most samples.
-Visual Studio 2005 will convert the format automatically upon
-opening it. The C++/CLI samples, as well as other samples that
-depend on .NET 2.0 features, include Visual Studio 2005 projects.
-
-In most cases, you will need to remove the reference to the
-nunit.framework assembly and replace it with a reference to
-your installed copy of NUnit.
-
-To build using the Microsoft compiler, use a command similar
-to the following:
-
- csc /target:library /r:<path-to-NUnit>/nunit.framework.dll example.cs
-
-To build using the mono compiler, use a command like this:
-
- msc /target:library /r:<path-to-NUNit>/nunit.framework.dll example.cs
-
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/cpp-cli.sln
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/cpp-cli.sln b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/cpp-cli.sln
deleted file mode 100644
index a30cf36..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/cpp-cli.sln
+++ /dev/null
@@ -1,41 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-cli-failures", "failures\cpp-cli-failures.vcproj", "{A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-cli-syntax", "syntax\cpp-cli-syntax.vcproj", "{72448C2D-17C9-419E-B28D-3B533E7E0CD5}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|Mixed Platforms = Debug|Mixed Platforms
- Debug|Win32 = Debug|Win32
- Release|Any CPU = Release|Any CPU
- Release|Mixed Platforms = Release|Mixed Platforms
- Release|Win32 = Release|Win32
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Debug|Win32.ActiveCfg = Debug|Win32
- {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Debug|Win32.Build.0 = Debug|Win32
- {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Release|Any CPU.ActiveCfg = Release|Win32
- {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Release|Mixed Platforms.Build.0 = Release|Win32
- {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Release|Win32.ActiveCfg = Release|Win32
- {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Release|Win32.Build.0 = Release|Win32
- {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Debug|Any CPU.ActiveCfg = Debug|Win32
- {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
- {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Debug|Mixed Platforms.Build.0 = Debug|Win32
- {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Debug|Win32.ActiveCfg = Debug|Win32
- {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Debug|Win32.Build.0 = Debug|Win32
- {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Release|Any CPU.ActiveCfg = Release|Win32
- {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Release|Mixed Platforms.ActiveCfg = Release|Win32
- {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Release|Mixed Platforms.Build.0 = Release|Win32
- {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Release|Win32.ActiveCfg = Release|Win32
- {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Release|Win32.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/AssemblyInfo.cpp
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/AssemblyInfo.cpp b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/AssemblyInfo.cpp
deleted file mode 100644
index e64d6ee..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/AssemblyInfo.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-using namespace System::Reflection;
-using namespace System::Runtime::CompilerServices;
-
-//
-// 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:AssemblyTitleAttribute("")];
-[assembly:AssemblyDescriptionAttribute("")];
-[assembly:AssemblyConfigurationAttribute("")];
-[assembly:AssemblyCompanyAttribute("")];
-[assembly:AssemblyProductAttribute("")];
-[assembly:AssemblyCopyrightAttribute("")];
-[assembly:AssemblyTrademarkAttribute("")];
-[assembly:AssemblyCultureAttribute("")];
-
-//
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the value or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly:AssemblyVersionAttribute("2.2.0.0")];
-
-//
-// In order to sign your assembly you must specify a key to use. Refer to the
-// Microsoft .NET Framework documentation for more information on assembly signing.
-//
-// Use the attributes below to control which key is used for signing.
-//
-// Notes:
-// (*) If no key is specified, the assembly is not signed.
-// (*) KeyName refers to a key that has been installed in the Crypto Service
-// Provider (CSP) on your machine. KeyFile refers to a file which contains
-// a key.
-// (*) If the KeyFile and the KeyName values are both specified, the
-// following processing occurs:
-// (1) If the KeyName can be found in the CSP, that key is used.
-// (2) If the KeyName does not exist and the KeyFile does exist, the key
-// in the KeyFile is installed into the CSP and used.
-// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
-// When specifying the KeyFile, the location of the KeyFile should be
-// relative to the project directory.
-// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
-// documentation for more information on this.
-//
-[assembly:AssemblyDelaySignAttribute(false)];
-[assembly:AssemblyKeyFileAttribute("")];
-[assembly:AssemblyKeyNameAttribute("")];
-
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cpp-cli-failures.build
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cpp-cli-failures.build b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cpp-cli-failures.build
deleted file mode 100644
index 8cf139e..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cpp-cli-failures.build
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<project name="cpp-cli-failures" default="build">
-
- <include buildfile="../../../samples.common"/>
-
- <patternset id="source-files">
- <include name="AssemblyInfo.cpp" />
- <include name="cppsample.cpp" />
- <include name="cppsample.h" />
- </patternset>
-
- <target name="packagex">
- <copy todir="${package.samples.dir}/cpp/cpp-cli/failures">
- <fileset basedir=".">
- <include name="cpp-cli-failures.vcproj" />
- <include name="cpp-cli-failures.build" />
- <include name="AssemblyInfo.cpp" />
- <include name="cppsample.cpp" />
- <include name="cppsample.h" />
- </fileset>
- </copy>
- </target>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cpp-cli-failures.vcproj
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cpp-cli-failures.vcproj b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cpp-cli-failures.vcproj
deleted file mode 100644
index 364a6be..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cpp-cli-failures.vcproj
+++ /dev/null
@@ -1,208 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="cpp-cli-failures"
- ProjectGUID="{A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}"
- RootNamespace="cpp-failures"
- Keyword="ManagedCProj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="Debug"
- IntermediateDirectory="Debug"
- ConfigurationType="2"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- CharacterSet="2"
- ManagedExtensions="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalUsingDirectories=""
- PreprocessorDefinitions="WIN32;_DEBUG"
- MinimalRebuild="false"
- BasicRuntimeChecks="0"
- RuntimeLibrary="3"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(OutDir)/cpp-cli-failures.dll"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- AssemblyDebug="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="Release"
- IntermediateDirectory="Release"
- ConfigurationType="2"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
- CharacterSet="2"
- ManagedExtensions="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalUsingDirectories=""
- PreprocessorDefinitions="WIN32;NDEBUG"
- MinimalRebuild="false"
- RuntimeLibrary="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(OutDir)/cpp-cli-failures.dll"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- <AssemblyReference
- RelativePath="..\..\..\..\solutions\vs2005\NUnitFramework\framework\bin\Debug\nunit.framework.dll"
- AssemblyName="nunit.framework, Version=2.5.0.0, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"
- />
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
- >
- <File
- RelativePath="AssemblyInfo.cpp"
- >
- </File>
- <File
- RelativePath="cppsample.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc"
- >
- <File
- RelativePath="cppsample.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;r"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cppsample.cpp
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cppsample.cpp b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cppsample.cpp
deleted file mode 100644
index f5aea7c..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cppsample.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-// ****************************************************************
-// This is free software licensed under the NUnit license. You
-// may obtain a copy of the license as well as information regarding
-// copyright ownership at http://nunit.org/?p=license&r=2.4.
-// ****************************************************************
-
-#include "cppsample.h"
-
-namespace NUnitSamples {
-
- void SimpleCPPSample::Init() {
- fValue1 = 2;
- fValue2 = 3;
- }
-
- void SimpleCPPSample::Add() {
- int result = fValue1 + fValue2;
- Assert::AreEqual(6,result);
- }
-
- void SimpleCPPSample::DivideByZero()
- {
- int zero= 0;
- int result= 8/zero;
- }
-
- void SimpleCPPSample::Equals() {
- Assert::AreEqual(12, 12, "Integer");
- Assert::AreEqual(12L, 12L, "Long");
- Assert::AreEqual('a', 'a', "Char");
-
-
- Assert::AreEqual(12, 13, "Expected Failure (Integer)");
- Assert::AreEqual(12.0, 11.99, 0.0, "Expected Failure (Double)");
- }
-
- void SimpleCPPSample::IgnoredTest()
- {
- throw gcnew InvalidCastException();
- }
-
- void SimpleCPPSample::ExpectAnException()
- {
- throw gcnew InvalidCastException();
- }
-
-}
-
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cppsample.h
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cppsample.h b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cppsample.h
deleted file mode 100644
index 863feb5..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/failures/cppsample.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// ****************************************************************
-// This is free software licensed under the NUnit license. You
-// may obtain a copy of the license as well as information regarding
-// copyright ownership at http://nunit.org/?p=license&r=2.4.
-// ****************************************************************
-
-#pragma once
-
-using namespace System;
-using namespace NUnit::Framework;
-
-namespace NUnitSamples
-{
- [TestFixture]
- public ref class SimpleCPPSample
- {
- int fValue1;
- int fValue2;
- public:
- [SetUp] void Init();
-
- [Test] void Add();
- [Test] void DivideByZero();
- [Test] void Equals();
- [Test] [Ignore("ignored test")] void IgnoredTest();
- [Test] [ExpectedException(InvalidOperationException::typeid)] void ExpectAnException();
- };
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/AssemblyInfo.cpp
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/AssemblyInfo.cpp b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/AssemblyInfo.cpp
deleted file mode 100644
index b18cdfa..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/AssemblyInfo.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-#include "stdafx.h"
-
-using namespace System;
-using namespace System::Reflection;
-using namespace System::Runtime::CompilerServices;
-using namespace System::Runtime::InteropServices;
-using namespace System::Security::Permissions;
-
-//
-// 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:AssemblyTitleAttribute("cppclisyntax")];
-[assembly:AssemblyDescriptionAttribute("")];
-[assembly:AssemblyConfigurationAttribute("")];
-[assembly:AssemblyCompanyAttribute("")];
-[assembly:AssemblyProductAttribute("cppclisyntax")];
-[assembly:AssemblyCopyrightAttribute("Copyright (c) 2007")];
-[assembly:AssemblyTrademarkAttribute("")];
-[assembly:AssemblyCultureAttribute("")];
-
-//
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the value or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly:AssemblyVersionAttribute("1.0.*")];
-
-[assembly:ComVisible(false)];
-
-[assembly:CLSCompliantAttribute(true)];
-
-[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.build
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.build b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.build
deleted file mode 100644
index f3b6328..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.build
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<project name="cpp-cli-syntax" default="build">
-
- <include buildfile="../../../samples.common"/>
-
- <patternset id="source-files">
- <include name="AssemblyInfo.cpp" />
- <include name="cpp-cli-syntax.cpp" />
- </patternset>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.cpp
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.cpp b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.cpp
deleted file mode 100644
index a554e95..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.cpp
+++ /dev/null
@@ -1,641 +0,0 @@
-// ****************************************************************
-// This is free software licensed under the NUnit license. You
-// may obtain a copy of the license as well as information regarding
-// copyright ownership at http://nunit.org/?p=license&r=2.4.
-// ****************************************************************
-
-using namespace NUnit::Framework;
-using NUnit::Framework::Is;
-using NUnit::Framework::Text;
-using NUnit::Framework::List;
-using NUnit::Framework::Has;
-using System::String;
-
-namespace NUnitSamples
-{
- [TestFixture]
- public ref class AssertSyntaxTests : AssertionHelper
- {
- public:
- [Test]
- void IsNull()
- {
- Object ^nada = nullptr;
-
- // Classic syntax
- Assert::IsNull(nada);
-
- // Helper syntax
- Assert::That(nada, Is::Null);
-
- // Inherited syntax
- Expect(nada, Null);
- }
-
- [Test]
- void IsNotNull()
- {
- // Classic syntax
- Assert::IsNotNull(42);
-
- // Helper syntax
- Assert::That(42, Is::Not->Null);
-
- // Inherited syntax
- Expect( 42, Not->Null );
- }
-
- [Test]
- void IsTrue()
- {
- // Classic syntax
- Assert::IsTrue(2+2==4);
-
- // Helper syntax
- Assert::That(2+2==4, Is::True);
- Assert::That(2+2==4);
-
- // Inherited syntax
- Expect(2+2==4, True);
- Expect(2+2==4);
- }
-
- [Test]
- void IsFalse()
- {
- // Classic syntax
- Assert::IsFalse(2+2==5);
-
- // Helper syntax
- Assert::That(2+2==5, Is::False);
-
- // Inherited syntax
- Expect(2+2==5, False);
- }
-
- [Test]
- void IsNaN()
- {
- double d = double::NaN;
- float f = float::NaN;
-
- // Classic syntax
- Assert::IsNaN(d);
- Assert::IsNaN(f);
-
- // Helper syntax
- Assert::That(d, Is::NaN);
- Assert::That(f, Is::NaN);
-
- // Inherited syntax
- Expect(d, NaN);
- Expect(f, NaN);
- }
-
- [Test]
- void EmptyStringTests()
- {
- // Classic syntax
- Assert::IsEmpty("");
- Assert::IsNotEmpty("Hello!");
-
- // Helper syntax
- Assert::That("", Is::Empty);
- Assert::That("Hello!", Is::Not->Empty);
-
- // Inherited syntax
- Expect("", Empty);
- Expect("Hello!", Not->Empty);
- }
-
- [Test]
- void EmptyCollectionTests()
- {
- // Classic syntax
- Assert::IsEmpty(gcnew array<bool>(0));
- Assert::IsNotEmpty(gcnew array<int>(3));
-
- // Helper syntax
- Assert::That(gcnew array<bool>(0), Is::Empty);
- Assert::That(gcnew array<int>(3), Is::Not->Empty);
-
- // Inherited syntax
- Expect(gcnew array<bool>(0), Empty);
- Expect(gcnew array<int>(3), Not->Empty);
- }
-
- [Test]
- void ExactTypeTests()
- {
- // Classic syntax workarounds)
- String^ greeting = "Hello";
- Assert::AreEqual(String::typeid, greeting->GetType());
- Assert::AreEqual("System.String", greeting->GetType()->FullName);
- Assert::AreNotEqual(int::typeid, greeting->GetType());
- Assert::AreNotEqual("System.Int32", greeting->GetType()->FullName);
-
- // Helper syntax
- Assert::That(greeting, Is::TypeOf(String::typeid));
- Assert::That(greeting, Is::Not->TypeOf(int::typeid));
-
- // Inherited syntax
- Expect( "Hello", TypeOf(String::typeid));
- Expect( "Hello", Not->TypeOf(int::typeid));
- }
-
- [Test]
- void InstanceOfTypeTests()
- {
- // Classic syntax
- Assert::IsInstanceOfType(String::typeid, "Hello");
- Assert::IsNotInstanceOfType(String::typeid, 5);
-
- // Helper syntax
- Assert::That("Hello", Is::InstanceOfType(String::typeid));
- Assert::That(5, Is::Not->InstanceOfType(String::typeid));
-
- // Inherited syntax
- Expect("Hello", InstanceOfType(String::typeid));
- Expect(5, Not->InstanceOfType(String::typeid));
- }
-
- [Test]
- void AssignableFromTypeTests()
- {
- // Classic syntax
- Assert::IsAssignableFrom(String::typeid, "Hello");
- Assert::IsNotAssignableFrom(String::typeid, 5);
-
- // Helper syntax
- Assert::That( "Hello", Is::AssignableFrom(String::typeid));
- Assert::That( 5, Is::Not->AssignableFrom(String::typeid));
-
- // Inherited syntax
- Expect( "Hello", AssignableFrom(String::typeid));
- Expect( 5, Not->AssignableFrom(String::typeid));
- }
-
- [Test]
- void SubstringTests()
- {
- String^ phrase = "Hello World!";
- array<String^>^ strings = {"abc", "bad", "dba" };
-
- // Classic Syntax
- StringAssert::Contains("World", phrase);
-
- // Helper syntax
- Assert::That(phrase, Contains("World"));
- // Only available using new syntax
- Assert::That(phrase, Text::DoesNotContain("goodbye"));
- Assert::That(phrase, Text::Contains("WORLD")->IgnoreCase);
- Assert::That(phrase, Text::DoesNotContain("BYE")->IgnoreCase);
- Assert::That(strings, Text::All->Contains( "b" ) );
-
- // Inherited syntax
- Expect(phrase, Contains("World"));
- // Only available using new syntax
- Expect(phrase, Not->Contains("goodbye"));
- Expect(phrase, Contains("WORLD")->IgnoreCase);
- Expect(phrase, Not->Contains("BYE")->IgnoreCase);
- Expect(strings, All->Contains("b"));
- }
-
- [Test]
- void StartsWithTests()
- {
- String^ phrase = "Hello World!";
- array<String^>^ greetings = { "Hello!", "Hi!", "Hola!" };
-
- // Classic syntax
- StringAssert::StartsWith("Hello", phrase);
-
- // Helper syntax
- Assert::That(phrase, Text::StartsWith("Hello"));
- // Only available using new syntax
- Assert::That(phrase, Text::DoesNotStartWith("Hi!"));
- Assert::That(phrase, Text::StartsWith("HeLLo")->IgnoreCase);
- Assert::That(phrase, Text::DoesNotStartWith("HI")->IgnoreCase);
- Assert::That(greetings, Text::All->StartsWith("h")->IgnoreCase);
-
- // Inherited syntax
- Expect(phrase, StartsWith("Hello"));
- // Only available using new syntax
- Expect(phrase, Not->StartsWith("Hi!"));
- Expect(phrase, StartsWith("HeLLo")->IgnoreCase);
- Expect(phrase, Not->StartsWith("HI")->IgnoreCase);
- Expect(greetings, All->StartsWith("h")->IgnoreCase);
- }
-
- [Test]
- void EndsWithTests()
- {
- String^ phrase = "Hello World!";
- array<String^>^ greetings = { "Hello!", "Hi!", "Hola!" };
-
- // Classic Syntax
- StringAssert::EndsWith("!", phrase);
-
- // Helper syntax
- Assert::That(phrase, Text::EndsWith("!"));
- // Only available using new syntax
- Assert::That(phrase, Text::DoesNotEndWith("?"));
- Assert::That(phrase, Text::EndsWith("WORLD!")->IgnoreCase);
- Assert::That(greetings, Text::All->EndsWith("!"));
-
- // Inherited syntax
- Expect(phrase, EndsWith("!"));
- // Only available using new syntax
- Expect(phrase, Not->EndsWith("?"));
- Expect(phrase, EndsWith("WORLD!")->IgnoreCase);
- Expect(greetings, All->EndsWith("!") );
- }
-
- [Test]
- void EqualIgnoringCaseTests()
- {
- String^ phrase = "Hello World!";
-
- // Classic syntax
- StringAssert::AreEqualIgnoringCase("hello world!",phrase);
-
- // Helper syntax
- Assert::That(phrase, Is::EqualTo("hello world!")->IgnoreCase);
- //Only available using new syntax
- Assert::That(phrase, Is::Not->EqualTo("goodbye world!")->IgnoreCase);
- Assert::That(gcnew array<String^> { "Hello", "World" },
- Is::EqualTo(gcnew array<Object^> { "HELLO", "WORLD" })->IgnoreCase);
- Assert::That(gcnew array<String^> {"HELLO", "Hello", "hello" },
- Is::All->EqualTo( "hello" )->IgnoreCase);
-
- // Inherited syntax
- Expect(phrase, EqualTo("hello world!")->IgnoreCase);
- //Only available using new syntax
- Expect(phrase, Not->EqualTo("goodbye world!")->IgnoreCase);
- Expect(gcnew array<String^> { "Hello", "World" },
- EqualTo(gcnew array<Object^> { "HELLO", "WORLD" })->IgnoreCase);
- Expect(gcnew array<String^> {"HELLO", "Hello", "hello" },
- All->EqualTo( "hello" )->IgnoreCase);
- }
-
- [Test]
- void RegularExpressionTests()
- {
- String^ phrase = "Now is the time for all good men to come to the aid of their country.";
- array<String^>^ quotes = { "Never say never", "It's never too late", "Nevermore!" };
-
- // Classic syntax
- StringAssert::IsMatch( "all good men", phrase );
- StringAssert::IsMatch( "Now.*come", phrase );
-
- // Helper syntax
- Assert::That( phrase, Text::Matches( "all good men" ) );
- Assert::That( phrase, Text::Matches( "Now.*come" ) );
- // Only available using new syntax
- Assert::That(phrase, Text::DoesNotMatch("all.*men.*good"));
- Assert::That(phrase, Text::Matches("ALL")->IgnoreCase);
- Assert::That(quotes, Text::All->Matches("never")->IgnoreCase);
-
- // Inherited syntax
- Expect( phrase, Matches( "all good men" ) );
- Expect( phrase, Matches( "Now.*come" ) );
- // Only available using new syntax
- Expect(phrase, Not->Matches("all.*men.*good"));
- Expect(phrase, Matches("ALL")->IgnoreCase);
- Expect(quotes, All->Matches("never")->IgnoreCase);
- }
-
- [Test]
- void EqualityTests()
- {
- array<int>^ i3 = { 1, 2, 3 };
- array<double>^ d3 = { 1.0, 2.0, 3.0 };
- array<int>^ iunequal = { 1, 3, 2 };
-
- // Classic Syntax
- Assert::AreEqual(4, 2 + 2);
- Assert::AreEqual(i3, d3);
- Assert::AreNotEqual(5, 2 + 2);
- Assert::AreNotEqual(i3, iunequal);
-
- // Helper syntax
- Assert::That(2 + 2, Is::EqualTo(4));
- Assert::That(2 + 2 == 4);
- Assert::That(i3, Is::EqualTo(d3));
- Assert::That(2 + 2, Is::Not->EqualTo(5));
- Assert::That(i3, Is::Not->EqualTo(iunequal));
-
- // Inherited syntax
- Expect(2 + 2, EqualTo(4));
- Expect(2 + 2 == 4);
- Expect(i3, EqualTo(d3));
- Expect(2 + 2, Not->EqualTo(5));
- Expect(i3, Not->EqualTo(iunequal));
- }
-
- [Test]
- void EqualityTestsWithTolerance()
- {
- // CLassic syntax
- Assert::AreEqual(5.0, 4.99, 0.05);
- Assert::AreEqual(5.0F, 4.99F, 0.05F);
-
- // Helper syntax
- Assert::That(4.99L, Is::EqualTo(5.0L)->Within(0.05L));
- Assert::That(4.99f, Is::EqualTo(5.0f)->Within(0.05f));
-
- // Inherited syntax
- Expect(4.99L, EqualTo(5.0L)->Within(0.05L));
- Expect(4.99f, EqualTo(5.0f)->Within(0.05f));
- }
-
- [Test]
- void ComparisonTests()
- {
- // Classic Syntax
- Assert::Greater(7, 3);
- Assert::GreaterOrEqual(7, 3);
- Assert::GreaterOrEqual(7, 7);
-
- // Helper syntax
- Assert::That(7, Is::GreaterThan(3));
- Assert::That(7, Is::GreaterThanOrEqualTo(3));
- Assert::That(7, Is::AtLeast(3));
- Assert::That(7, Is::GreaterThanOrEqualTo(7));
- Assert::That(7, Is::AtLeast(7));
-
- // Inherited syntax
- Expect(7, GreaterThan(3));
- Expect(7, GreaterThanOrEqualTo(3));
- Expect(7, AtLeast(3));
- Expect(7, GreaterThanOrEqualTo(7));
- Expect(7, AtLeast(7));
-
- // Classic syntax
- Assert::Less(3, 7);
- Assert::LessOrEqual(3, 7);
- Assert::LessOrEqual(3, 3);
-
- // Helper syntax
- Assert::That(3, Is::LessThan(7));
- Assert::That(3, Is::LessThanOrEqualTo(7));
- Assert::That(3, Is::AtMost(7));
- Assert::That(3, Is::LessThanOrEqualTo(3));
- Assert::That(3, Is::AtMost(3));
-
- // Inherited syntax
- Expect(3, LessThan(7));
- Expect(3, LessThanOrEqualTo(7));
- Expect(3, AtMost(7));
- Expect(3, LessThanOrEqualTo(3));
- Expect(3, AtMost(3));
- }
-
- [Test]
- void AllItemsTests()
- {
- array<Object^>^ ints = { 1, 2, 3, 4 };
- array<Object^>^ strings = { "abc", "bad", "cab", "bad", "dad" };
-
- // Classic syntax
- CollectionAssert::AllItemsAreNotNull(ints);
- CollectionAssert::AllItemsAreInstancesOfType(ints, int::typeid);
- CollectionAssert::AllItemsAreInstancesOfType(strings, String::typeid);
- CollectionAssert::AllItemsAreUnique(ints);
-
- // Helper syntax
- Assert::That(ints, Is::All->Not->Null);
- Assert::That(ints, Is::All->InstanceOfType(int::typeid));
- Assert::That(strings, Is::All->InstanceOfType(String::typeid));
- Assert::That(ints, Is::Unique);
- // Only available using new syntax
- Assert::That(strings, Is::Not->Unique);
- Assert::That(ints, Is::All->GreaterThan(0));
- Assert::That(strings, Text::All->Contains( "a" ) );
- Assert::That(strings, Has::Some->StartsWith( "ba" ) );
-
- // Inherited syntax
- Expect(ints, All->Not->Null);
- Expect(ints, All->InstanceOfType(int::typeid));
- Expect(strings, All->InstanceOfType(String::typeid));
- Expect(ints, Unique);
- // Only available using new syntax
- Expect(strings, Not->Unique);
- Expect(ints, All->GreaterThan(0));
- Expect(strings, All->Contains( "a" ) );
- Expect(strings, Some->StartsWith( "ba" ) );
- }
-
- [Test]
- void SomeItemsTests()
- {
- array<Object^>^ mixed = { 1, 2, "3", nullptr, "four", 100 };
- array<Object^>^ strings = { "abc", "bad", "cab", "bad", "dad" };
-
- // Not available using the classic syntax
-
- // Helper syntax
- Assert::That(mixed, Has::Some->Null);
- Assert::That(mixed, Has::Some->InstanceOfType(int::typeid));
- Assert::That(mixed, Has::Some->InstanceOfType(String::typeid));
- Assert::That(strings, Has::Some->StartsWith( "ba" ) );
- Assert::That(strings, Has::Some->Not->StartsWith( "ba" ) );
-
- // Inherited syntax
- Expect(mixed, Some->Null);
- Expect(mixed, Some->InstanceOfType(int::typeid));
- Expect(mixed, Some->InstanceOfType(String::typeid));
- Expect(strings, Some->StartsWith( "ba" ) );
- Expect(strings, Some->Not->StartsWith( "ba" ) );
- }
-
- [Test]
- void NoItemsTests()
- {
- array<Object^>^ ints = { 1, 2, 3, 4, 5 };
- array<Object^>^ strings = { "abc", "bad", "cab", "bad", "dad" };
-
- // Not available using the classic syntax
-
- // Helper syntax
- Assert::That(ints, Has::None->Null);
- Assert::That(ints, Has::None->InstanceOfType(String::typeid));
- Assert::That(ints, Has::None->GreaterThan(99));
- Assert::That(strings, Has::None->StartsWith( "qu" ) );
-
- // Inherited syntax
- Expect(ints, None->Null);
- Expect(ints, None->InstanceOfType(String::typeid));
- Expect(ints, None->GreaterThan(99));
- Expect(strings, None->StartsWith( "qu" ) );
- }
-
- [Test]
- void CollectionContainsTests()
- {
- array<int>^ iarray = { 1, 2, 3 };
- array<String^>^ sarray = { "a", "b", "c" };
-
- // Classic syntax
- Assert::Contains(3, iarray);
- Assert::Contains("b", sarray);
- CollectionAssert::Contains(iarray, 3);
- CollectionAssert::Contains(sarray, "b");
- CollectionAssert::DoesNotContain(sarray, "x");
-
- // Helper syntax
- Assert::That(iarray, Has::Member(3));
- Assert::That(sarray, Has::Member("b"));
- Assert::That(sarray, Has::No->Member("x")); // Yuck!
- Assert::That(sarray, !Has::Member("x"));
-
- // Inherited syntax
- Expect(iarray, Contains(3));
- Expect(sarray, Contains("b"));
- Expect(sarray, Not->Contains("x"));
- Expect(sarray, !Contains("x"));
- }
-
- [Test]
- void CollectionEquivalenceTests()
- {
- array<int>^ ints1to5 = { 1, 2, 3, 4, 5 };
-
- // Classic syntax
- CollectionAssert::AreEquivalent(gcnew array<int> { 2, 1, 4, 3, 5 }, ints1to5);
- CollectionAssert::AreNotEquivalent(gcnew array<int> { 2, 2, 4, 3, 5 }, ints1to5);
- CollectionAssert::AreNotEquivalent(gcnew array<int> { 2, 4, 3, 5 }, ints1to5);
- CollectionAssert::AreNotEquivalent(gcnew array<int> { 2, 2, 1, 1, 4, 3, 5 }, ints1to5);
-
- // Helper syntax
- Assert::That(gcnew array<int> { 2, 1, 4, 3, 5 }, Is::EquivalentTo(ints1to5));
- Assert::That(gcnew array<int> { 2, 2, 4, 3, 5 }, Is::Not->EquivalentTo(ints1to5));
- Assert::That(gcnew array<int> { 2, 4, 3, 5 }, Is::Not->EquivalentTo(ints1to5));
- Assert::That(gcnew array<int> { 2, 2, 1, 1, 4, 3, 5 }, Is::Not->EquivalentTo(ints1to5));
-
- // Inherited syntax
- Expect(gcnew array<int> { 2, 1, 4, 3, 5 }, EquivalentTo(ints1to5));
- Expect(gcnew array<int> { 2, 2, 4, 3, 5 }, Not->EquivalentTo(ints1to5));
- Expect(gcnew array<int> { 2, 4, 3, 5 }, Not->EquivalentTo(ints1to5));
- Expect(gcnew array<int> { 2, 2, 1, 1, 4, 3, 5 }, Not->EquivalentTo(ints1to5));
- }
-
- [Test]
- void SubsetTests()
- {
- array<int>^ ints1to5 = { 1, 2, 3, 4, 5 };
-
- // Classic syntax
- CollectionAssert::IsSubsetOf(gcnew array<int> { 1, 3, 5 }, ints1to5);
- CollectionAssert::IsSubsetOf(gcnew array<int> { 1, 2, 3, 4, 5 }, ints1to5);
- CollectionAssert::IsNotSubsetOf(gcnew array<int> { 2, 4, 6 }, ints1to5);
- CollectionAssert::IsNotSubsetOf(gcnew array<int> { 1, 2, 2, 2, 5 }, ints1to5);
-
- // Helper syntax
- Assert::That(gcnew array<int> { 1, 3, 5 }, Is::SubsetOf(ints1to5));
- Assert::That(gcnew array<int> { 1, 2, 3, 4, 5 }, Is::SubsetOf(ints1to5));
- Assert::That(gcnew array<int> { 2, 4, 6 }, Is::Not->SubsetOf(ints1to5));
- Assert::That(gcnew array<int> { 1, 2, 2, 2, 5 }, Is::Not->SubsetOf(ints1to5));
-
- // Inherited syntax
- Expect(gcnew array<int> { 1, 3, 5 }, SubsetOf(ints1to5));
- Expect(gcnew array<int> { 1, 2, 3, 4, 5 }, SubsetOf(ints1to5));
- Expect(gcnew array<int> { 2, 4, 6 }, Not->SubsetOf(ints1to5));
- Expect(gcnew array<int> { 1, 2, 2, 2, 5 }, Not->SubsetOf(ints1to5));
- }
-
- [Test]
- void PropertyTests()
- {
- array<String^>^ strings = { "abc", "bca", "xyz" };
-
- // Helper syntax
- Assert::That( "Hello", Has::Property("Length")->EqualTo(5) );
- Assert::That( "Hello", Has::Length->EqualTo( 5 ) );
- Assert::That( strings , Has::All->Property( "Length")->EqualTo(3) );
- Assert::That( strings, Has::All->Length->EqualTo( 3 ) );
-
- // Inherited syntax
- Expect( "Hello", Property("Length")->EqualTo(5) );
- Expect( "Hello", Length->EqualTo( 5 ) );
- Expect( strings, All->Property("Length")->EqualTo(3) );
- Expect( strings, All->Length->EqualTo( 3 ) );
- }
-
- [Test]
- void NotTests()
- {
- // Not available using the classic syntax
-
- // Helper syntax
- Assert::That(42, Is::Not->Null);
- Assert::That(42, Is::Not->True);
- Assert::That(42, Is::Not->False);
- Assert::That(2.5, Is::Not->NaN);
- Assert::That(2 + 2, Is::Not->EqualTo(3));
- Assert::That(2 + 2, Is::Not->Not->EqualTo(4));
- Assert::That(2 + 2, Is::Not->Not->Not->EqualTo(5));
-
- // Inherited syntax
- Expect(42, Not->Null);
- Expect(42, Not->True);
- Expect(42, Not->False);
- Expect(2.5, Not->NaN);
- Expect(2 + 2, Not->EqualTo(3));
- Expect(2 + 2, Not->Not->EqualTo(4));
- Expect(2 + 2, Not->Not->Not->EqualTo(5));
- }
-
- [Test]
- void NotOperator()
- {
- // The ! operator is only available in the new syntax
- Assert::That(42, !Is::Null);
- // Inherited syntax
- Expect( 42, !Null );
- }
-
- [Test]
- void AndOperator()
- {
- // The & operator is only available in the new syntax
- Assert::That(7, Is::GreaterThan(5) & Is::LessThan(10));
- // Inherited syntax
- Expect( 7, GreaterThan(5) & LessThan(10));
- }
-
- [Test]
- void OrOperator()
- {
- // The | operator is only available in the new syntax
- Assert::That(3, Is::LessThan(5) | Is::GreaterThan(10));
- Expect( 3, LessThan(5) | GreaterThan(10));
- }
-
- [Test]
- void ComplexTests()
- {
- Assert::That(7, Is::Not->Null & Is::Not->LessThan(5) & Is::Not->GreaterThan(10));
- Expect(7, Not->Null & Not->LessThan(5) & Not->GreaterThan(10));
-
- Assert::That(7, !Is::Null & !Is::LessThan(5) & !Is::GreaterThan(10));
- Expect(7, !Null & !LessThan(5) & !GreaterThan(10));
- }
-
- // This method contains assertions that should not compile
- // You can check by uncommenting it.
- //void WillNotCompile()
- //{
- // Assert::That(42, Is::Not);
- // Assert::That(42, Is::All);
- // Assert::That(42, Is::Null->Not);
- // Assert::That(42, Is::Not->Null->GreaterThan(10));
- // Assert::That(42, Is::GreaterThan(10)->LessThan(99));
-
- // object[] c = new object[0];
- // Assert::That(c, Is::Null->All);
- // Assert::That(c, Is::Not->All);
- // Assert::That(c, Is::All->Not);
- //}
- };
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.vcproj
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.vcproj b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.vcproj
deleted file mode 100644
index ff1efe8..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.vcproj
+++ /dev/null
@@ -1,200 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="cpp-cli-syntax"
- ProjectGUID="{72448C2D-17C9-419E-B28D-3B533E7E0CD5}"
- RootNamespace="cppclisyntax"
- Keyword="ManagedCProj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- ManagedExtensions="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG"
- RuntimeLibrary="3"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="$(NoInherit)"
- LinkIncremental="2"
- GenerateDebugInformation="true"
- AssemblyDebug="1"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)"
- IntermediateDirectory="$(ConfigurationName)"
- ConfigurationType="2"
- CharacterSet="1"
- ManagedExtensions="1"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="WIN32;NDEBUG"
- RuntimeLibrary="2"
- WarningLevel="3"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="$(NoInherit)"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCWebDeploymentTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- <AssemblyReference
- RelativePath="System.dll"
- AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
- />
- <AssemblyReference
- RelativePath="..\..\..\..\solutions\vs2005\NUnitFramework\framework\bin\Debug\nunit.framework.dll"
- AssemblyName="nunit.framework, Version=2.5.0.0, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"
- />
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\cpp-cli-syntax.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/AssemblyInfo.cpp
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/AssemblyInfo.cpp b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/AssemblyInfo.cpp
deleted file mode 100644
index e64d6ee..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/AssemblyInfo.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-using namespace System::Reflection;
-using namespace System::Runtime::CompilerServices;
-
-//
-// 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:AssemblyTitleAttribute("")];
-[assembly:AssemblyDescriptionAttribute("")];
-[assembly:AssemblyConfigurationAttribute("")];
-[assembly:AssemblyCompanyAttribute("")];
-[assembly:AssemblyProductAttribute("")];
-[assembly:AssemblyCopyrightAttribute("")];
-[assembly:AssemblyTrademarkAttribute("")];
-[assembly:AssemblyCultureAttribute("")];
-
-//
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the value or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly:AssemblyVersionAttribute("2.2.0.0")];
-
-//
-// In order to sign your assembly you must specify a key to use. Refer to the
-// Microsoft .NET Framework documentation for more information on assembly signing.
-//
-// Use the attributes below to control which key is used for signing.
-//
-// Notes:
-// (*) If no key is specified, the assembly is not signed.
-// (*) KeyName refers to a key that has been installed in the Crypto Service
-// Provider (CSP) on your machine. KeyFile refers to a file which contains
-// a key.
-// (*) If the KeyFile and the KeyName values are both specified, the
-// following processing occurs:
-// (1) If the KeyName can be found in the CSP, that key is used.
-// (2) If the KeyName does not exist and the KeyFile does exist, the key
-// in the KeyFile is installed into the CSP and used.
-// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
-// When specifying the KeyFile, the location of the KeyFile should be
-// relative to the project directory.
-// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
-// documentation for more information on this.
-//
-[assembly:AssemblyDelaySignAttribute(false)];
-[assembly:AssemblyKeyFileAttribute("")];
-[assembly:AssemblyKeyNameAttribute("")];
-
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cpp-managed-failures.build
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cpp-managed-failures.build b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cpp-managed-failures.build
deleted file mode 100644
index 5bf96a1..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cpp-managed-failures.build
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<project name="cpp-managed-failures" default="build">
-
- <include buildfile="../../../samples.common" />
-
- <patternset id="source-files">
- <include name="AssemblyInfo.cpp" />
- <include name="cppsample.cpp" />
- <include name="cppsample.h" />
- </patternset>
-
- <target name="packagex">
- <copy todir="${package.samples.dir}/cpp/managed/failures">
- <fileset basedir=".">
- <include name="cpp-managed-failures.build" />
- <include name="AssemblyInfo.cpp" />
- <include name="cppsample.cpp" />
- <include name="cppsample.h" />
- </fileset>
- </copy>
-
- <copy todir="${package.samples.dir}/cpp/managed/failures"
- file="./cpp-managed-failures.vcproj">
- <filterchain>
- <replacestring from="$(SolutionDir)..\..\..\src\NUnitFramework\framework\bin\Debug\nunit.framework.dll"
- to="..\..\..\..\bin\nunit.framework.dll"/>
- </filterchain>
- </copy>
- </target>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cpp-managed-failures.vcproj
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cpp-managed-failures.vcproj b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cpp-managed-failures.vcproj
deleted file mode 100644
index ec3e599..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cpp-managed-failures.vcproj
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="7.10"
- Name="cpp-managed-failures"
- ProjectGUID="{7E5849C7-0469-4AD2-91B9-C87203934254}"
- Keyword="ManagedCProj">
- <Platforms>
- <Platform
- Name="Win32"/>
- </Platforms>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="Debug"
- IntermediateDirectory="Debug"
- ConfigurationType="2"
- CharacterSet="2"
- ManagedExtensions="TRUE"
- ReferencesPath=""D:\Dev\NUnit\nunit-2.5\solutions\vs2005\NUnitFramework\framework\bin\Release"">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalUsingDirectories=""
- PreprocessorDefinitions="WIN32;_DEBUG"
- MinimalRebuild="FALSE"
- BasicRuntimeChecks="0"
- RuntimeLibrary="1"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- DebugInformationFormat="3"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(OutDir)/managed-cpp-failures.dll"
- LinkIncremental="2"
- GenerateDebugInformation="TRUE"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="Release"
- IntermediateDirectory="Release"
- ConfigurationType="2"
- CharacterSet="2"
- ManagedExtensions="TRUE"
- ReferencesPath=""D:\Dev\NUnit\nunit-2.5\solutions\vs2005\NUnitFramework\framework\bin\Release"">
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalUsingDirectories="..\..\src\NUnitFramework\framework\bin\Release;..\..\src\NUnitFramework\framework\bin\Debug"
- PreprocessorDefinitions="WIN32;NDEBUG"
- MinimalRebuild="FALSE"
- UsePrecompiledHeader="0"
- WarningLevel="3"/>
- <Tool
- Name="VCCustomBuildTool"/>
- <Tool
- Name="VCLinkerTool"
- OutputFile="$(OutDir)/managed-cpp-failures.dll"
- LinkIncremental="1"
- GenerateDebugInformation="TRUE"/>
- <Tool
- Name="VCMIDLTool"/>
- <Tool
- Name="VCPostBuildEventTool"/>
- <Tool
- Name="VCPreBuildEventTool"/>
- <Tool
- Name="VCPreLinkEventTool"/>
- <Tool
- Name="VCResourceCompilerTool"/>
- <Tool
- Name="VCWebServiceProxyGeneratorTool"/>
- <Tool
- Name="VCXMLDataGeneratorTool"/>
- <Tool
- Name="VCWebDeploymentTool"/>
- <Tool
- Name="VCManagedWrapperGeneratorTool"/>
- <Tool
- Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
- </Configuration>
- </Configurations>
- <References>
- <AssemblyReference
- RelativePath="mscorlib.dll"/>
- <AssemblyReference
- RelativePath="$(SolutionDir)..\..\bin\nunit.framework.dll"/>
- <AssemblyReference
- RelativePath="System.dll"/>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
- <File
- RelativePath="AssemblyInfo.cpp">
- </File>
- <File
- RelativePath="cppsample.cpp">
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc">
- <File
- RelativePath="cppsample.h">
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;r">
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cppsample.cpp
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cppsample.cpp b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cppsample.cpp
deleted file mode 100644
index dac7156..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cppsample.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-// ****************************************************************
-// This is free software licensed under the NUnit license. You
-// may obtain a copy of the license as well as information regarding
-// copyright ownership at http://nunit.org/?p=license&r=2.4.
-// ****************************************************************
-
-#include "cppsample.h"
-
-namespace NUnitSamples {
-
- void SimpleCPPSample::Init() {
- fValue1 = 2;
- fValue2 = 3;
- }
-
- void SimpleCPPSample::Add() {
- int result = fValue1 + fValue2;
- Assert::AreEqual(6,result);
- }
-
- void SimpleCPPSample::DivideByZero()
- {
- int zero= 0;
- int result= 8/zero;
- }
-
- void SimpleCPPSample::Equals() {
- Assert::AreEqual(12, 12, "Integer");
- Assert::AreEqual(12L, 12L, "Long");
- Assert::AreEqual('a', 'a', "Char");
-
-
- Assert::AreEqual(12, 13, "Expected Failure (Integer)");
- Assert::AreEqual(12.0, 11.99, 0.0, "Expected Failure (Double)");
- }
-
- void SimpleCPPSample::IgnoredTest()
- {
- throw new InvalidCastException();
- }
-
- void SimpleCPPSample::ExpectAnException()
- {
- throw new InvalidCastException();
- }
-
-}
-
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cppsample.h
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cppsample.h b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cppsample.h
deleted file mode 100644
index 4e47439..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/failures/cppsample.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// ****************************************************************
-// This is free software licensed under the NUnit license. You
-// may obtain a copy of the license as well as information regarding
-// copyright ownership at http://nunit.org/?p=license&r=2.4.
-// ****************************************************************
-
-#pragma once
-
-using namespace System;
-using namespace NUnit::Framework;
-
-namespace NUnitSamples
-{
- [TestFixture]
- public __gc class SimpleCPPSample
- {
- int fValue1;
- int fValue2;
- public:
- [SetUp] void Init();
-
- [Test] void Add();
- [Test] void DivideByZero();
- [Test] void Equals();
- [Test] [Ignore("ignored test")] void IgnoredTest();
- [Test] [ExpectedException(__typeof(InvalidOperationException))] void ExpectAnException();
- };
-}
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/managed-cpp.sln
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/managed-cpp.sln b/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/managed-cpp.sln
deleted file mode 100644
index 4462fb0..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/cpp/managed/managed-cpp.sln
+++ /dev/null
@@ -1,21 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 8.00
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-managed-failures", "failures\cpp-managed-failures.vcproj", "{7E5849C7-0469-4AD2-91B9-C87203934254}"
- ProjectSection(ProjectDependencies) = postProject
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfiguration) = preSolution
- Debug = Debug
- Release = Release
- EndGlobalSection
- GlobalSection(ProjectConfiguration) = postSolution
- {7E5849C7-0469-4AD2-91B9-C87203934254}.Debug.ActiveCfg = Debug|Win32
- {7E5849C7-0469-4AD2-91B9-C87203934254}.Debug.Build.0 = Debug|Win32
- {7E5849C7-0469-4AD2-91B9-C87203934254}.Release.ActiveCfg = Release|Win32
- {7E5849C7-0469-4AD2-91B9-C87203934254}.Release.Build.0 = Release|Win32
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- EndGlobalSection
- GlobalSection(ExtensibilityAddIns) = postSolution
- EndGlobalSection
-EndGlobal
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/samples/csharp/CSharp.sln
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/samples/csharp/CSharp.sln b/lib/NUnit.org/NUnit/2.5.9/samples/csharp/CSharp.sln
deleted file mode 100644
index ed95f8a..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/samples/csharp/CSharp.sln
+++ /dev/null
@@ -1,37 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 8.00
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cs-failures", "failures\cs-failures.csproj", "{15D66EEE-A852-4A52-89C2-83E74ECF3770}"
- ProjectSection(ProjectDependencies) = postProject
- EndProjectSection
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cs-money", "money\cs-money.csproj", "{11EDF872-A04D-4F75-A1BF-71168DC86AF3}"
- ProjectSection(ProjectDependencies) = postProject
- EndProjectSection
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cs-syntax", "syntax\cs-syntax.csproj", "{06F46FA2-687B-4B46-A912-C1B0B4CC1B20}"
- ProjectSection(ProjectDependencies) = postProject
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfiguration) = preSolution
- Debug = Debug
- Release = Release
- EndGlobalSection
- GlobalSection(ProjectConfiguration) = postSolution
- {15D66EEE-A852-4A52-89C2-83E74ECF3770}.Debug.ActiveCfg = Debug|.NET
- {15D66EEE-A852-4A52-89C2-83E74ECF3770}.Debug.Build.0 = Debug|.NET
- {15D66EEE-A852-4A52-89C2-83E74ECF3770}.Release.ActiveCfg = Release|.NET
- {15D66EEE-A852-4A52-89C2-83E74ECF3770}.Release.Build.0 = Release|.NET
- {11EDF872-A04D-4F75-A1BF-71168DC86AF3}.Debug.ActiveCfg = Debug|.NET
- {11EDF872-A04D-4F75-A1BF-71168DC86AF3}.Debug.Build.0 = Debug|.NET
- {11EDF872-A04D-4F75-A1BF-71168DC86AF3}.Release.ActiveCfg = Release|.NET
- {11EDF872-A04D-4F75-A1BF-71168DC86AF3}.Release.Build.0 = Release|.NET
- {06F46FA2-687B-4B46-A912-C1B0B4CC1B20}.Debug.ActiveCfg = Debug|.NET
- {06F46FA2-687B-4B46-A912-C1B0B4CC1B20}.Debug.Build.0 = Debug|.NET
- {06F46FA2-687B-4B46-A912-C1B0B4CC1B20}.Release.ActiveCfg = Release|.NET
- {06F46FA2-687B-4B46-A912-C1B0B4CC1B20}.Release.Build.0 = Release|.NET
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- EndGlobalSection
- GlobalSection(ExtensibilityAddIns) = postSolution
- EndGlobalSection
-EndGlobal