-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test frameworks consolidated (#12672)
- Loading branch information
1 parent
c3a51f9
commit e96c0da
Showing
53 changed files
with
1,018 additions
and
924 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
// Copyright (c) Brice Lambson | ||
// Copyright (c) Brice Lambson | ||
// The Brice Lambson licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. Code forked from Brice Lambson's https://github.com/bricelam/ImageResizer/ | ||
|
||
using ImageResizer.Properties; | ||
using Xunit; | ||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
|
||
namespace ImageResizer.Models | ||
{ | ||
[TestClass] | ||
public class CustomSizeTests | ||
{ | ||
[Fact] | ||
[TestMethod] | ||
public void NameWorks() | ||
{ | ||
var size = new CustomSize | ||
{ | ||
Name = "Ignored", | ||
}; | ||
|
||
Assert.Equal(Resources.Input_Custom, size.Name); | ||
Assert.AreEqual(Resources.Input_Custom, size.Name); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.