File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ Microsoft Visual Studio Solution File, Format Version 12.00
3+ # Visual Studio 14
4+ VisualStudioVersion = 14.0.25123.0
5+ MinimumVisualStudioVersion = 10.0.40219.1
6+ Project ("{2150E333-8FDC-42A3-9474-1A3956D46DE8}" ) = "src" , "src" , "{D8DEB2DD-9E0B-4A51-8382-BF1BE12C9927}"
7+ EndProject
8+ Project ("{2150E333-8FDC-42A3-9474-1A3956D46DE8}" ) = "Solution Items" , "Solution Items" , "{AA861EC4-F571-485E-BF6C-AD32569363C6}"
9+ Project Section (SolutionItems ) = preProject
10+ global .json = global .json
11+ EndProject Section
12+ EndProject
13+ Project ("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}" ) = "NETCoreTests" , "src\NETCoreTests\NETCoreTests.xproj" , "{5E1F4593-16B7-4F5F-8F3C-512537E7820D}"
14+ EndProject
15+ Global
16+ GlobalSection (SolutionConfigurationPlatforms ) = preSolution
17+ Debug| Any CPU = Debug| Any CPU
18+ Release| Any CPU = Release| Any CPU
19+ EndGlobalSection
20+ GlobalSection (ProjectConfigurationPlatforms ) = postSolution
21+ {5E1F4593-16B7-4F5F-8F3C-512537E7820D} .Debug| Any CPU .ActiveCfg = Debug| Any CPU
22+ {5E1F4593-16B7-4F5F-8F3C-512537E7820D} .Debug| Any CPU .Build .0 = Debug| Any CPU
23+ {5E1F4593-16B7-4F5F-8F3C-512537E7820D} .Release| Any CPU .ActiveCfg = Release| Any CPU
24+ {5E1F4593-16B7-4F5F-8F3C-512537E7820D} .Release| Any CPU .Build .0 = Release| Any CPU
25+ EndGlobalSection
26+ GlobalSection (SolutionProperties ) = preSolution
27+ HideSolutionNode = FALSE
28+ EndGlobalSection
29+ GlobalSection (NestedProjects ) = preSolution
30+ {5E1F4593-16B7-4F5F-8F3C-512537E7820D} = {D8DEB2DD-9E0B-4A51-8382-BF1BE12C9927}
31+ EndGlobalSection
32+ EndGlobal
Original file line number Diff line number Diff line change 1+ {
2+ "projects" : [ " src" , " test" ],
3+ "sdk" : {
4+ "version" : " 1.0.0-preview1-002702"
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project ToolsVersion =" 14.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <PropertyGroup >
4+ <VisualStudioVersion Condition =" '$(VisualStudioVersion)' == ''" >14.0</VisualStudioVersion >
5+ <VSToolsPath Condition =" '$(VSToolsPath)' == ''" >$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath >
6+ </PropertyGroup >
7+ <Import Project =" $(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition =" '$(VSToolsPath)' != ''" />
8+ <PropertyGroup Label =" Globals" >
9+ <ProjectGuid >5e1f4593-16b7-4f5f-8f3c-512537e7820d</ProjectGuid >
10+ <RootNamespace >NETCoreTests</RootNamespace >
11+ <BaseIntermediateOutputPath Condition =" '$(BaseIntermediateOutputPath)'=='' " >.\obj</BaseIntermediateOutputPath >
12+ <OutputPath Condition =" '$(OutputPath)'=='' " >.\bin\</OutputPath >
13+ <TargetFrameworkVersion >v4.5.2</TargetFrameworkVersion >
14+ </PropertyGroup >
15+ <PropertyGroup >
16+ <SchemaVersion >2.0</SchemaVersion >
17+ </PropertyGroup >
18+ <ItemGroup >
19+ <Service Include =" {82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
20+ </ItemGroup >
21+ <Import Project =" $(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition =" '$(VSToolsPath)' != ''" />
22+ </Project >
Original file line number Diff line number Diff line change 1+ using System . Reflection ;
2+ using System . Runtime . CompilerServices ;
3+ using System . Runtime . InteropServices ;
4+
5+ // General Information about an assembly is controlled through the following
6+ // set of attributes. Change these attribute values to modify the information
7+ // associated with an assembly.
8+ [ assembly: AssemblyConfiguration ( "" ) ]
9+ [ assembly: AssemblyCompany ( "" ) ]
10+ [ assembly: AssemblyProduct ( "NETCoreTests" ) ]
11+ [ assembly: AssemblyTrademark ( "" ) ]
12+
13+ // Setting ComVisible to false makes the types in this assembly not visible
14+ // to COM components. If you need to access a type in this assembly from
15+ // COM, set the ComVisible attribute to true on that type.
16+ [ assembly: ComVisible ( false ) ]
17+
18+ // The following GUID is for the ID of the typelib if this project is exposed to COM
19+ [ assembly: Guid ( "5e1f4593-16b7-4f5f-8f3c-512537e7820d" ) ]
Original file line number Diff line number Diff line change 1+ using Microsoft . VisualStudio . TestTools . UnitTesting ;
2+
3+ namespace NETCoreTests
4+ {
5+ // This project can output the Class library as a NuGet Package.
6+ // To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "Produce outputs on build".
7+ [ TestClass ]
8+ public class TestClass
9+ {
10+ [ TestMethod ]
11+ public void TestMethodPassing ( )
12+ {
13+ Assert . IsTrue ( true ) ;
14+ }
15+
16+ [ TestMethod ]
17+ public void TestMethodFailing ( )
18+ {
19+ Assert . IsTrue ( false ) ;
20+ }
21+
22+ [ TestMethod ]
23+ public void TestStringEqual ( )
24+ {
25+ var blogname = "linezero" ;
26+ Assert . AreEqual ( blogname , "LineZero" ) ;
27+ }
28+ }
29+ }
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 1.0.0-*" ,
3+
4+ "testRunner" : " mstest" ,
5+
6+ "dependencies" : {
7+ "dotnet-test-mstest" : " 1.0.0-preview" ,
8+ "MSTest.TestFramework" : " 1.0.0-preview"
9+ },
10+
11+ "frameworks" : {
12+ "netcoreapp1.0" : {
13+ "imports" : [
14+ " dnxcore50" ,
15+ " portable-net45+win8"
16+ ],
17+
18+ "dependencies" : {
19+ "Microsoft.NETCore.App" : {
20+ "version" : " 1.0.0-rc2-3002702" ,
21+ "type" : " platform"
22+ }
23+ }
24+ }
25+ }
26+ }
You can’t perform that action at this time.
0 commit comments