Commit cdc22119 authored by An Ionescu's avatar An Ionescu

Renaming namespace to something shorter.

parent 9c6a18ca
......@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28010.2046
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maps", "src\Maps\Maps.csproj", "{CA98F1BE-E77B-4B55-9B87-4F4F6F7BF412}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maps", "src\Anvoker.Maps\Maps.csproj", "{CA98F1BE-E77B-4B55-9B87-4F4F6F7BF412}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.Maps", "src\Tests\Maps\Tests.Maps.csproj", "{32303BA1-931C-459C-B90D-CF950F4C786B}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.Maps", "src\Anvoker.Maps.Tests\Tests.csproj", "{32303BA1-931C-459C-B90D-CF950F4C786B}"
ProjectSection(ProjectDependencies) = postProject
{CA98F1BE-E77B-4B55-9B87-4F4F6F7BF412} = {CA98F1BE-E77B-4B55-9B87-4F4F6F7BF412}
EndProjectSection
......@@ -15,7 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
Anvoker.Collections.sln.vsspell = Anvoker.Collections.sln.vsspell
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.Common", "src\Tests\Common\Tests.Common.csproj", "{BEAB10EF-BD0D-4144-9AD0-D3BD1C052246}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.Common", "src\Anvoker.Maps.Tests.Common\Tests.Common.csproj", "{BEAB10EF-BD0D-4144-9AD0-D3BD1C052246}"
ProjectSection(ProjectDependencies) = postProject
{CA98F1BE-E77B-4B55-9B87-4F4F6F7BF412} = {CA98F1BE-E77B-4B55-9B87-4F4F6F7BF412}
EndProjectSection
......
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework.Interfaces;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
// TODO: Break this static class into less nondescript static classes once
// there are enough methods to justify their existence. Having "misc"
......
using System;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.FixtureDependent;
using NUnit.Framework;
using NUnit.Framework.Internal;
using static Anvoker.Collections.Tests.Common.HelperMethods;
using static Anvoker.Maps.Tests.Common.HelperMethods;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IBiMapTester<TK, TV, TBiMap>
where TBiMap : IBiMap<TK, TV>
......
using System;
using System.Collections.Generic;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.Framework;
using NUnit.Framework.Internal;
using static Anvoker.Collections.Tests.Common.HelperMethods;
using static Anvoker.Maps.Tests.Common.HelperMethods;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class ICollectionTester<T, TCollection>
where TCollection : ICollection<T>
......
using System;
using System.Collections.Generic;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.Framework;
using NUnit.Framework.Internal;
using static Anvoker.Collections.Tests.Common.HelperMethods;
using static Anvoker.Maps.Tests.Common.HelperMethods;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IDictionaryTester<TK, TV, TDictionary>
where TDictionary : IDictionary<TK, TV>
......
using System.Collections.Generic;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IEnumerableTester<T, TEnumerable>
where TEnumerable : IEnumerable<T>
......
using System;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IFixedKeysBiMapTester<TK, TV, TFKBiMap>
where TFKBiMap : IFixedKeysBiMap<TK, TV>
......
using System;
using System.Collections.Generic;
using System.Linq;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.Framework;
using NUnit.Framework.Internal;
using static Anvoker.Collections.Tests.Common.HelperMethods;
using static Anvoker.Maps.Tests.Common.HelperMethods;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IFixedKeysMultiMapTester<TK, TV, TFKMMap, TVCol>
where TFKMMap : IFixedKeysMultiMap<TK, TV>
......
using System;
using System.Collections.Generic;
using System.Linq;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.Framework;
using NUnit.Framework.Internal;
using static Anvoker.Collections.Tests.Common.HelperMethods;
using static Anvoker.Maps.Tests.Common.HelperMethods;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IMultiMapTester<TK, TV, TMMap, TVCol>
where TMMap : IMultiMap<TK, TV>
......
using System.Linq;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.FixtureDependent;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IReadOnlyBiMapTester<TK, TV, TROBiMap>
where TROBiMap : IReadOnlyBiMap<TK, TV>
......
using System.Collections.Generic;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IReadOnlyCollectionTester<T, TROCollection>
where TROCollection : IReadOnlyCollection<T>
......
using System;
using System.Collections.Generic;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.FixtureDependent;
using NUnit.Framework;
using NUnit.Framework.Internal;
using static Anvoker.Collections.Tests.Common.HelperMethods;
using static Anvoker.Maps.Tests.Common.HelperMethods;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IReadOnlyDictionaryTester<TK, TV, TRODictionary>
where TRODictionary : IReadOnlyDictionary<TK, TV>
......
using System;
using System.Collections.Generic;
using System.Linq;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.FixtureDependent;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IReadOnlyMultiBiMapTester<TK, TV, TROMBiMap, TVCol>
where TROMBiMap : IReadOnlyMultiBiMap<TK, TV>
......
using System.Collections.Generic;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
using NUnit.FixtureDependent;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public class IReadOnlyMultiMapTester<TK, TV, TROMMap, TVCol>
where TROMMap : IReadOnlyMultiMap<TK, TV>
......
using System;
using System.Collections.Generic;
namespace Anvoker.Collections.Tests.Common.Interfaces
namespace Anvoker.Maps.Tests.Common.Interfaces
{
public interface IData
{
/// <summary>
/// Gets the name of this test data case.
/// Gets the name of this test data.
/// </summary>
string TestDataName { get; }
}
......
using System.Collections.Generic;
namespace Anvoker.Collections.Tests.Common.Interfaces
namespace Anvoker.Maps.Tests.Common.Interfaces
{
public interface IKeyValueData<TK, TV, TCollection> :
IValueData<KeyValuePair<TK, TV>, TCollection>
......
using System.Collections.Generic;
namespace Anvoker.Collections.Tests.Common.Interfaces
namespace Anvoker.Maps.Tests.Common.Interfaces
{
public interface IKeyValuesData<TK, TV, TCollection, TVCol>
: IKeyValueData<TK, TVCol, TCollection>
......
using System;
namespace Anvoker.Collections.Tests.Common.Interfaces
namespace Anvoker.Maps.Tests.Common.Interfaces
{
public interface IValueData<TV, TCollection> : IData
{
......
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
/// <summary>
/// Provides key, values and comparers appropriate for testing maps.
......
using System;
using System.Collections.Generic;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
/// <summary>
/// Provides key, values and comparers appropriate for testing a map of
......
......@@ -3,7 +3,7 @@ using NUnit.FixtureDependent;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public static class MapFixtureParamConstructor<TK, TV, TCollection>
{
......
using System;
using System.Collections.Generic;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
/// <summary>
/// Provides key, values and comparers appropriate for testing maps.
......
using System;
using System.Collections.Generic;
using System.Linq;
using Anvoker.Collections.Tests.Common.Interfaces;
using Anvoker.Maps.Tests.Common.Interfaces;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
/// <summary>
/// Provides key, values and comparers appropriate for testing a map of
......
......@@ -4,7 +4,7 @@ using NUnit.FixtureDependent;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
namespace Anvoker.Collections.Tests.Common
namespace Anvoker.Maps.Tests.Common
{
public static class MultiMapFixtureParamConstructor<TK, TV, TVCol, TCollection>
{
......
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\..\Assets\NuGetPackages\NUnit.3.11.0\build\NUnit.props" Condition="Exists('..\..\..\..\Assets\NuGetPackages\NUnit.3.11.0\build\NUnit.props')" />
<Import Project="..\..\..\Assets\NuGetPackages\NUnit.3.11.0\build\NUnit.props" Condition="Exists('..\..\..\Assets\NuGetPackages\NUnit.3.11.0\build\NUnit.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
......@@ -8,8 +8,8 @@
<ProjectGuid>{BEAB10EF-BD0D-4144-9AD0-D3BD1C052246}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Anvoker.Collections.Tests.Common</RootNamespace>
<AssemblyName>Anvoker.Collections.Tests.Common</AssemblyName>
<RootNamespace>Anvoker.Maps.Tests.Common</RootNamespace>
<AssemblyName>Anvoker.Maps.Tests.Common</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
......@@ -24,7 +24,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\bin\Debug\</OutputPath>
<OutputPath>..\..\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
......@@ -32,7 +32,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\bin\Release\</OutputPath>
<OutputPath>..\..\bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
......@@ -49,7 +49,7 @@
<HintPath>..\..\..\packages\NUnit.FixtureDependent.1.0.0\lib\net461\NUnit.FixtureDependent.dll</HintPath>
</Reference>
<Reference Include="nunit.framework, Version=3.11.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
<HintPath>..\..\..\..\Assets\NuGetPackages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath>..\..\..\Assets\NuGetPackages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
</ItemGroup>
......@@ -79,7 +79,7 @@
<Compile Include="MultiMapData.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Maps\Maps.csproj">
<ProjectReference Include="..\Anvoker.Maps\Maps.csproj">
<Project>{ca98f1be-e77b-4b55-9b87-4f4f6f7bf412}</Project>
<Name>Maps</Name>
</ProjectReference>
......@@ -93,6 +93,6 @@
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\..\..\Assets\NuGetPackages\NUnit.3.11.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\Assets\NuGetPackages\NUnit.3.11.0\build\NUnit.props'))" />
<Error Condition="!Exists('..\..\..\Assets\NuGetPackages\NUnit.3.11.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\Assets\NuGetPackages\NUnit.3.11.0\build\NUnit.props'))" />
</Target>
</Project>
\ No newline at end of file
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common;
using Anvoker.Maps.Tests.Common;
namespace Anvoker.Collections.Tests.Maps.BiMap
namespace Anvoker.Maps.Tests.BiMap
{
public static class BiMapHelpers
{
......
using System;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common;
using Anvoker.Maps.Tests.Common;
using NUnit.Framework.Interfaces;
using static Anvoker.Collections.Tests.Maps.BiMap.BiMapHelpers;
using static Anvoker.Collections.Tests.Maps.MapDataSource;
using static Anvoker.Maps.Tests.BiMap.BiMapHelpers;
using static Anvoker.Maps.Tests.MapDataSource;
namespace Anvoker.Collections.Tests.Maps.BiMap
namespace Anvoker.Maps.Tests.BiMap
{
public static class FixtureSource_IBiMap
{
......
using System;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common;
using Anvoker.Maps.Tests.Common;
using NUnit.Framework.Interfaces;
using static Anvoker.Collections.Tests.Maps.BiMap.BiMapHelpers;
using static Anvoker.Collections.Tests.Maps.MapDataSource;
using static Anvoker.Maps.Tests.BiMap.BiMapHelpers;
using static Anvoker.Maps.Tests.MapDataSource;
namespace Anvoker.Collections.Tests.Maps.BiMap
namespace Anvoker.Maps.Tests.BiMap
{
public static class FixtureSource_ICollection
{
......
using System;
using System.Collections.Generic;
using Anvoker.Collections.Tests.Common;
using Anvoker.Maps.Tests.Common;
using NUnit.Framework.Interfaces;
using static Anvoker.Collections.Tests.Maps.BiMap.BiMapHelpers;
using static Anvoker.Collections.Tests.Maps.MapDataSource;
using static Anvoker.Maps.Tests.BiMap.BiMapHelpers;
using static Anvoker.Maps.Tests.MapDataSource;
namespace Anvoker.Collections.Tests.Maps.BiMap
namespace Anvoker.Maps.Tests.BiMap
{
public static class FixtureSource_IDictionary
{
......
using System;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common;
using Anvoker.Maps.Tests.Common;
using NUnit.Framework.Interfaces;
using static Anvoker.Collections.Tests.Maps.BiMap.BiMapHelpers;
using static Anvoker.Collections.Tests.Maps.MapDataSource;
using static Anvoker.Maps.Tests.BiMap.BiMapHelpers;
using static Anvoker.Maps.Tests.MapDataSource;
namespace Anvoker.Collections.Tests.Maps.BiMap
namespace Anvoker.Maps.Tests.BiMap
{
public static class FixtureSource_IEnumerable
{
......
using System;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common;
using Anvoker.Maps.Tests.Common;
using NUnit.Framework.Interfaces;
using static Anvoker.Collections.Tests.Maps.BiMap.BiMapHelpers;
using static Anvoker.Collections.Tests.Maps.MapDataSource;
using static Anvoker.Maps.Tests.BiMap.BiMapHelpers;
using static Anvoker.Maps.Tests.MapDataSource;
namespace Anvoker.Collections.Tests.Maps.BiMap
namespace Anvoker.Maps.Tests.BiMap
{
public static class FixtureSource_IFixedKeysBiMap
{
......
using System;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common;
using Anvoker.Maps.Tests.Common;
using NUnit.Framework.Interfaces;
using static Anvoker.Collections.Tests.Maps.BiMap.BiMapHelpers;
using static Anvoker.Collections.Tests.Maps.MapDataSource;
using static Anvoker.Maps.Tests.BiMap.BiMapHelpers;
using static Anvoker.Maps.Tests.MapDataSource;
namespace Anvoker.Collections.Tests.Maps.BiMap
namespace Anvoker.Maps.Tests.BiMap
{
public static class FixtureSource_IReadOnlyBiMap
{
......
using System;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common;
using Anvoker.Maps.Tests.Common;
using NUnit.Framework.Interfaces;
using static Anvoker.Collections.Tests.Maps.BiMap.BiMapHelpers;
using static Anvoker.Collections.Tests.Maps.MapDataSource;
using static Anvoker.Maps.Tests.BiMap.BiMapHelpers;
using static Anvoker.Maps.Tests.MapDataSource;
namespace Anvoker.Collections.Tests.Maps.BiMap
namespace Anvoker.Maps.Tests.BiMap
{
public static class FixtureSource_IReadOnlyCollection
{
......
using System;
using System.Collections.Generic;
using Anvoker.Collections.Maps;
using Anvoker.Collections.Tests.Common;
using Anvoker.Maps.Tests.Common;
using NUnit.Framework.Interfaces;
using static Anvoker.Collections.Tests.Maps.BiMap.BiMapHelpers;
using static Anvoker.Collections.Tests.Maps.MapDataSource;
using static Anvoker.Maps.Tests.BiMap.BiMapHelpers;
using static Anvoker.Maps.Tests.MapDataSource;
namespace Anvoker.Collections.Tests.Maps.BiMap
namespace Anvoker.Maps.Tests.BiMap
{
public static class FixtureSource_IReadOnlyDictionary
{
......