Skip to content

Commit

Permalink
Tested across frameworks.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathtone committed Jun 20, 2016
1 parent ba62795 commit 897d3fd
Show file tree
Hide file tree
Showing 21 changed files with 12 additions and 19 deletions.
1 change: 0 additions & 1 deletion Mathtone.MIST.Builder/Exceptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mathtone.MIST {
[Serializable]
Expand Down
2 changes: 1 addition & 1 deletion Mathtone.MIST.Builder/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Mathtone.MIST {
public static class Extensions {
Expand Down
1 change: 0 additions & 1 deletion Mathtone.MIST.Builder/NotificationWeaver.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Mathtone.MIST.Processors;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Mono.Cecil;
using Mono.Cecil.Cil;
using System;
Expand Down
2 changes: 1 addition & 1 deletion Mathtone.MIST.Builder/Processors/AssemblyProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Mathtone.MIST.Processors {

Expand Down
1 change: 0 additions & 1 deletion Mathtone.MIST.Builder/Processors/IDefinitionProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mathtone.MIST.Processors {
public interface IDefinitionProcessor<T> {
Expand Down
2 changes: 1 addition & 1 deletion Mathtone.MIST.Builder/Processors/ImplementationStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Mathtone.MIST.Processors {

Expand Down
2 changes: 1 addition & 1 deletion Mathtone.MIST.Builder/Processors/ModuleProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Mathtone.MIST.Processors {

Expand Down
2 changes: 1 addition & 1 deletion Mathtone.MIST.Builder/Processors/PropertyProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Mathtone.MIST;
using Mono.Cecil.Cil;
using System.Reflection;
Expand Down
2 changes: 1 addition & 1 deletion Mathtone.MIST.Builder/Processors/PropertyStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Mathtone.MIST.Processors {
class PropertyStrategy : ImplementationStrategy {
Expand Down
2 changes: 1 addition & 1 deletion Mathtone.MIST.Builder/Processors/TypeProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Mathtone.MIST.Processors {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
1 change: 0 additions & 1 deletion Tests/Mathtone.MIST.Tests.NugetScriptTest/TestClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mathtone.MIST.Tests.NugetScriptTest {

Expand Down
3 changes: 3 additions & 0 deletions Tests/Mathtone.MIST.Tests.NugetScriptTest/app.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/></startup></configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mathtone.MIST.TestNotifier.Cases {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mathtone.MIST.TestNotifier.Cases {
[Notifier(NotificationMode.Implicit)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mathtone.MIST.TestNotifier.Cases {
[Notifier]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mathtone.MIST.TestNotifier.Cases
{
Expand Down
1 change: 0 additions & 1 deletion Tests/Mathtone.MIST.Tests.TestNotifier/ITestNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mathtone.MIST.TestNotifier {
public interface IChangeTracker {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mathtone.MIST.TestNotifier.Patterns {

Expand Down
1 change: 0 additions & 1 deletion Tests/Mathtone.MIST.Tests.TestNotifier/TestNotifierBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mathtone.MIST.TestNotifier {

Expand Down
2 changes: 1 addition & 1 deletion Tests/Mathtone.MIST.Tests.UnitTests/UnitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void InitializeStandardAssembly() {
public void Misted_Assembly_Attribute() {
//Assembly.GetAssembly()
var assembly = Assembly.LoadFile(TestNotifierPath);
var attribute = assembly.CustomAttributes.FirstOrDefault(a => a.AttributeType == typeof(MistedAssemblyAttribute));
var attribute = assembly.GetCustomAttributes(typeof(MistedAssemblyAttribute),false).SingleOrDefault();
Assert.IsNotNull(attribute, "MistedAssemblyAttribute Not found");
}
#endregion
Expand Down

0 comments on commit 897d3fd

Please sign in to comment.