Skip to content

Commit

Permalink
added reference to Wiki and made WasLastCallAsync a static property
Browse files Browse the repository at this point in the history
  • Loading branch information
smsohan committed Feb 28, 2011
1 parent 512efc5 commit cc00d09
Show file tree
Hide file tree
Showing 59 changed files with 45 additions and 860 deletions.
1 change: 0 additions & 1 deletion Mvc.Mailer.Test/MailerBaseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,5 @@ private string GetContent(AlternateView alternateView)
return System.Text.Encoding.ASCII.GetString(byteBuffer, 0, dataStream.Read(byteBuffer, 0, byteBuffer.Length));
}


}
}
5 changes: 3 additions & 2 deletions Mvc.Mailer.Test/TestSmtpClientTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void Send_should_set_async_to_false()
_testSmtpClient.Send(messageA);

Assert.AreEqual(1, TestSmtpClient.SentMails.Count);
Assert.IsFalse(_testSmtpClient.WasLastCallAsync);
Assert.IsFalse(TestSmtpClient.WasLastCallAsync);
}

[Test]
Expand Down Expand Up @@ -77,7 +77,7 @@ public void SendAsync_should_set_async_to_false()
_testSmtpClient.SendAsync(messageA);

Assert.AreEqual(1, TestSmtpClient.SentMails.Count);
Assert.IsTrue(_testSmtpClient.WasLastCallAsync);
Assert.IsTrue(TestSmtpClient.WasLastCallAsync);
}

[Test]
Expand All @@ -96,6 +96,7 @@ public void TearDown()
{
MailerBase.IsTestModeEnabled = false;
TestSmtpClient.SentMails.Clear();
TestSmtpClient.WasLastCallAsync = false;
}

}
Expand Down
Binary file modified Mvc.Mailer.Test/bin/Release/Mvc.Mailer.Test.dll
Binary file not shown.
Binary file modified Mvc.Mailer.Test/bin/Release/Mvc.Mailer.Test.pdb
Binary file not shown.
Binary file modified Mvc.Mailer.Test/bin/Release/Mvc.Mailer.dll
Binary file not shown.
Binary file modified Mvc.Mailer.Test/bin/Release/Mvc.Mailer.pdb
Binary file not shown.
78 changes: 39 additions & 39 deletions Mvc.Mailer.Test/bin/Release/TestResult.xml

Large diffs are not rendered by default.

14 changes: 0 additions & 14 deletions Mvc.Mailer.Test/bin/Release/content/Mailers/INotifier.cs.pp

This file was deleted.

46 changes: 0 additions & 46 deletions Mvc.Mailer.Test/bin/Release/content/Mailers/Notifier.cs.pp

This file was deleted.

This file was deleted.

This file was deleted.

28 changes: 0 additions & 28 deletions Mvc.Mailer.Test/bin/Release/content/Views/Notifier/_Layout.cshtml

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\obj\Release\ResolveAssemblyReference.cache
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\content\Views\Notifier\WelcomeMessage.cshtml
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\content\Views\Notifier\_Layout.cshtml
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\content\Mailers\Notifier.cs.pp
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\content\web.config.transform
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\Mvc.Mailer.Test.dll
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\Mvc.Mailer.Test.pdb
Expand All @@ -15,6 +12,3 @@ C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\Moq.dll
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\Moq.pdb
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\Moq.xml
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\content\Views\web.config.transform
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\content\Mailers\INotifier.cs.pp
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\content\Views\Notifier\WelcomeMessage.text.cshtml
C:\Users\S M Sohan\MvcMailer\Mvc.Mailer.Test\bin\Release\content\Views\Notifier\_Layout.text.cshtml
Binary file modified Mvc.Mailer.Test/obj/Release/Mvc.Mailer.Test.dll
Binary file not shown.
Binary file modified Mvc.Mailer.Test/obj/Release/Mvc.Mailer.Test.pdb
Binary file not shown.
Binary file modified Mvc.Mailer.Test/obj/Release/ResolveAssemblyReference.cache
Binary file not shown.
2 changes: 1 addition & 1 deletion Mvc.Mailer/MailerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public virtual HttpContextBase CurrentHttpContext
}


public virtual static bool IsTestModeEnabled
public static bool IsTestModeEnabled
{
get;
set;
Expand Down
20 changes: 0 additions & 20 deletions Mvc.Mailer/Mvc.Mailer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,6 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="content\Mailers\INotifier.cs.pp">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="content\Mailers\Notifier.cs.pp">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<Content Include="content\Views\Notifier\WelcomeMessage.cshtml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="content\Views\Notifier\_Layout.cshtml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<SubType>Designer</SubType>
</Content>
<Content Include="content\Views\Notifier\WelcomeMessage.text.cshtml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="content\Views\Notifier\_Layout.text.cshtml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="content\Views\web.config.transform">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand Down
14 changes: 0 additions & 14 deletions Mvc.Mailer/NuGet/input/content/Mailers/INotifier.cs.pp

This file was deleted.

46 changes: 0 additions & 46 deletions Mvc.Mailer/NuGet/input/content/Mailers/Notifier.cs.pp

This file was deleted.

This file was deleted.

This file was deleted.

28 changes: 0 additions & 28 deletions Mvc.Mailer/NuGet/input/content/Views/Notifier/_Layout.cshtml

This file was deleted.

This file was deleted.

Binary file modified Mvc.Mailer/NuGet/input/lib/40/Mvc.Mailer.dll
Binary file not shown.
Binary file modified Mvc.Mailer/NuGet/output/MvcMailer.0.9.nupkg
Binary file not shown.
2 changes: 1 addition & 1 deletion Mvc.Mailer/TestSmtpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static List<MailMessage> SentMails
}
}

public bool WasLastCallAsync
public static bool WasLastCallAsync
{
get;
set;
Expand Down
Binary file removed Mvc.Mailer/bin/Debug/Mvc.Mailer.dll
Binary file not shown.
Binary file removed Mvc.Mailer/bin/Debug/Mvc.Mailer.pdb
Binary file not shown.
46 changes: 0 additions & 46 deletions Mvc.Mailer/bin/Debug/content/Mailers/Notifier.cs.pp

This file was deleted.

This file was deleted.

Loading

0 comments on commit cc00d09

Please sign in to comment.