Skip to content

Commit

Permalink
Move to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
koszeggy committed Apr 25, 2019
1 parent 8c2273d commit 1b9b69e
Show file tree
Hide file tree
Showing 315 changed files with 884 additions and 10,784 deletions.
213 changes: 213 additions & 0 deletions .gitignore
@@ -0,0 +1,213 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/

# Visual Studio 2015 cache/options directory
.vs/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# DNX
project.lock.json
artifacts/

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding add-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
## TODO: Comment the next line if you want to checkin your
## web deploy settings but do note that will include unencrypted
## passwords
#*.pubxml

*.publishproj

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config

# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/

# Others
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# Node.js Tools for Visual Studio
.ntvs_analysis.dat

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt

# LightSwitch generated files
GeneratedArtifacts/
_Pvt_Extensions/
ModelManifest.xml
HelpOut/
Expand Up @@ -10,8 +10,8 @@
<ProjectGuid>{251013CB-3F89-4B85-9311-4584773C394C}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>_PerformanceTest</RootNamespace>
<AssemblyName>_PerformanceTest</AssemblyName>
<RootNamespace>KGySoft.CoreLibraries</RootNamespace>
<AssemblyName>KGySoft.CoreLibraries.PerformanceTest</AssemblyName>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ErrorReport>prompt</ErrorReport>
Expand Down Expand Up @@ -96,40 +96,38 @@
</ItemGroup>
<ItemGroup>
<Compile Include="PerformanceTest.cs" />
<Compile Include="Tests\Collections\ObjectModel\FastBindingListPerformanceTest.cs" />
<Compile Include="Tests\Collections\ObjectModel\FastLookupCollectionPerformanceTest.cs" />
<Compile Include="Tests\Diagnostics\ProfilerPerformanceTest.cs" />
<Compile Include="Tests\Resources\ResXResourceManagerPerformanceTest.cs" />
<Compile Include="Tests\Serialization\BinarySerializerPerformanceTest.cs" />
<Compile Include="Tests\Collections\CachePerformanceTest.cs" />
<Compile Include="Tests\Collections\CircularListPerformanceTest.cs" />
<Compile Include="Tests\Collections\CircularSortedListPerformanceTest.cs" />
<Compile Include="Tests\Libraries\EnumPerformanceTest.cs" />
<Compile Include="PerformanceTests\Collections\CachePerformanceTest.cs" />
<Compile Include="PerformanceTests\Collections\CircularListPerformanceTest.cs" />
<Compile Include="PerformanceTests\Collections\CircularSortedListPerformanceTest.cs" />
<Compile Include="PerformanceTests\Collections\ObjectModel\FastBindingListPerformanceTest.cs" />
<Compile Include="PerformanceTests\Collections\ObjectModel\FastLookupCollectionPerformanceTest.cs" />
<Compile Include="PerformanceTests\Diagnostics\ProfilerPerformanceTest.cs" />
<Compile Include="PerformanceTests\Libraries\EnumPerformanceTest.cs" />
<Compile Include="PerformanceTests\Reflection\ReflectorPerformanceTest.cs" />
<Compile Include="PerformanceTests\Resources\ResXResourceManagerPerformanceTest.cs" />
<Compile Include="PerformanceTests\Serialization\BinarySerializerPerformanceTest.cs" />
<Compile Include="PerformanceTests\Serialization\XmlSerializerPerformanceTest.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Tests\Reflection\ReflectorPerformanceTest.cs" />
<Compile Include="Tests\Serialization\XmlSerializerPerformanceTest.cs" />
<Compile Include="UnitTest1.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Libraries\KGySoft.CoreLibraries.csproj">
<ProjectReference Include="..\KGySoft.CoreLibraries\KGySoft.CoreLibraries.csproj">
<Project>{D14B4B4A-86C4-45AD-B6F8-86CD878199E0}</Project>
<Name>KGySoft.CoreLibraries</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="..\_LibrariesTest\Resources\TestResourceResX.resx">
<Link>Resources\TestResourceResX.resx</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="..\KGySoft.snk">
<Link>KGySoft.snk</Link>
</None>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<EmbeddedResource Include="..\KGySoft.CoreLibraries.UnitTest\Resources\TestResourceResX.resx">
<Link>Resources\TestResourceResX.resx</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
Expand Down
Expand Up @@ -17,12 +17,11 @@
#region Usings

using System;

using NUnit.Framework;

#endregion

namespace _PerformanceTest
namespace KGySoft.CoreLibraries
{
internal class PerformanceTest : KGySoft.Diagnostics.PerformanceTest
{
Expand Down Expand Up @@ -58,4 +57,18 @@ protected override void OnInitialize()

#endregion
}

internal class PerformanceTest<TResult> : KGySoft.Diagnostics.PerformanceTest<TResult>
{
#region Methods

protected override void OnInitialize()
{
base.OnInitialize();
PerformanceTest.CheckTestingFramework();
}

#endregion
}

}
@@ -1,10 +1,10 @@
using System;
using System.Diagnostics;
using KGySoft.Collections;
using KGySoft.CoreLibraries.PerformanceTests.Reflection;
using NUnit.Framework;
using _PerformanceTest.Tests.Reflection;

namespace _PerformanceTest.Tests.Collections
namespace KGySoft.CoreLibraries.PerformanceTests.Collections
{
/// <summary>
/// In this test out-of-cache retrieval is fast to demonstrate that RemoveLeastRecentUsed behavior is just a little bit slower than RemoveOldest.
Expand Down
Expand Up @@ -2,11 +2,10 @@
using System.Collections.Generic;
using System.Diagnostics;
using KGySoft.Collections;
using KGySoft.CoreLibraries;
using KGySoft.Reflection;
using NUnit.Framework;

namespace _PerformanceTest.Tests.Collections
namespace KGySoft.CoreLibraries.PerformanceTests.Collections
{
[TestFixture]
public class CircularListPerformanceTest
Expand Down
Expand Up @@ -2,11 +2,10 @@
using System.Collections.Generic;
using System.Diagnostics;
using KGySoft.Collections;
using KGySoft.CoreLibraries;
using KGySoft.Reflection;
using NUnit.Framework;

namespace _PerformanceTest.Tests.Collections
namespace KGySoft.CoreLibraries.PerformanceTests.Collections
{
[TestFixture]
public class CircularSortedListPerformanceTest
Expand Down
Expand Up @@ -5,7 +5,7 @@
using KGySoft.ComponentModel;
using NUnit.Framework;

namespace _PerformanceTest.Tests.Collections.ObjectModel
namespace KGySoft.CoreLibraries.PerformanceTests.Collections.ObjectModel
{
[TestFixture]
public class FastBindingListPerformanceTest
Expand Down
Expand Up @@ -4,7 +4,7 @@
using KGySoft.Collections.ObjectModel;
using NUnit.Framework;

namespace _PerformanceTest.Tests.Collections.ObjectModel
namespace KGySoft.CoreLibraries.PerformanceTests.Collections.ObjectModel
{
[TestFixture]
public class FastLookupCollectionPerformanceTest
Expand Down
Expand Up @@ -5,7 +5,7 @@
using KGySoft.Reflection;
using NUnit.Framework;

namespace _PerformanceTest.Tests.Diagnostics
namespace KGySoft.CoreLibraries.PerformanceTests.Diagnostics
{
[TestFixture]
public class ProfilerPerformanceTest
Expand Down

0 comments on commit 1b9b69e

Please sign in to comment.