Skip to content

Commit

Permalink
Merge pull request nhibernate#712 from ngbrown/NH-4092
Browse files Browse the repository at this point in the history
NH-4092 - AsyncGenerator creates unused private static event handler in SQLite20Driver
  • Loading branch information
hazzik authored Oct 12, 2017
2 parents c2c93d9 + 8e23846 commit 8bc7067
Show file tree
Hide file tree
Showing 17 changed files with 11 additions and 294 deletions.
2 changes: 1 addition & 1 deletion Tools/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<package id="NUnit.Extension.NUnitV2ResultWriter" version="3.6.0" targetFramework="net461" />
<package id="NUnit.Extension.TeamCityEventListener" version="1.0.2" targetFramework="net461" />
<package id="NUnit.Extension.VSProjectLoader" version="3.6.0" targetFramework="net461" />
<package id="CSharpAsyncGenerator.CommandLine" version="0.5.0" targetFramework="net461" />
<package id="CSharpAsyncGenerator.CommandLine" version="0.5.1" targetFramework="net461" />
<package id="vswhere" version="2.1.4" targetFramework="net461" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public Task OnPostUpdateAsync(PostUpdateEvent @event, CancellationToken cancella
}

[TestFixture]
public partial class DisposableListenersTestAsync
public class DisposableListenersTestAsync
{
[Test]
public async Task WhenCloseSessionFactoryThenCallDisposeOfListenerAsync()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using System.Data.Common;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NHibernate.AdoNet;
using NHibernate.Cfg;
using NHibernate.Dialect;
Expand Down
70 changes: 0 additions & 70 deletions src/NHibernate.Test/Async/Linq/CharComparisonTests.cs

This file was deleted.

41 changes: 0 additions & 41 deletions src/NHibernate.Test/Async/NHSpecificTest/NH1864/Fixture.cs

This file was deleted.

78 changes: 0 additions & 78 deletions src/NHibernate.Test/Async/NHSpecificTest/NH1927/Fixture.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace NHibernate.Test.Tools.hbm2ddl.SchemaExportTests
{
using System.Threading.Tasks;
[TestFixture]
public partial class ExportToFileFixtureAsync
public class ExportToFileFixtureAsync
{
[Test]
public async Task ExportToFileUsingSetOutputFileAndCreateAsync()
Expand Down
2 changes: 1 addition & 1 deletion src/NHibernate.Test/Events/DisposableListenersTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void Dispose()
}

[TestFixture]
public partial class DisposableListenersTest
public class DisposableListenersTest
{
[Test]
public void WhenCloseSessionFactoryThenCallDisposeOfListener()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Data.Common;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NHibernate.AdoNet;
using NHibernate.Cfg;
using NHibernate.Dialect;
Expand Down
4 changes: 1 addition & 3 deletions src/NHibernate.Test/NHSpecificTest/NH1159/Contact.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace NHibernate.Test.NHSpecificTest.NH1159
{
[Serializable]
public partial class Contact
public class Contact
{

private bool isChanged;
Expand Down
4 changes: 1 addition & 3 deletions src/NHibernate.Test/NHSpecificTest/NH1159/ContactTitle.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace NHibernate.Test.NHSpecificTest.NH1159
{
/// <summary>
/// Generated by MyGeneration using the NHibernate Object Mapping template
/// </summary>
[Serializable]
public partial class ContactTitle
public class ContactTitle
{

#region Private Members
Expand Down
2 changes: 1 addition & 1 deletion src/NHibernate.Test/NHSpecificTest/NH3985/Entity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace NHibernate.Test.NHSpecificTest.NH3985
{
public partial class Process
public class Process
{
public virtual Guid ProcessID { get; set; }
public virtual string Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace NHibernate.Test.Tools.hbm2ddl.SchemaExportTests
{
[TestFixture]
public partial class ExportToFileFixture
public class ExportToFileFixture
{
[Test]
public void ExportToFileUsingSetOutputFileAndCreate()
Expand Down
38 changes: 0 additions & 38 deletions src/NHibernate/Async/Driver/SQLite20Driver.cs

This file was deleted.

49 changes: 0 additions & 49 deletions src/NHibernate/Async/Tool/hbm2ddl/DatabaseMetadata.cs

This file was deleted.

Loading

0 comments on commit 8bc7067

Please sign in to comment.