generated from exercism/generic-test-runner
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
231 additions
and
90 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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
tests/example-all-fail/Leap.vbproj → tests/all-fail/AllFail.vbproj
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,13 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<PropertyGroup> | ||
<TargetFramework>net9.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" /> | ||
<PackageReference Include="xunit" Version="2.4.2" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" /> | ||
<PackageReference Include="xunit" Version="2.8.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.1" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"status": "fail", | ||
"message": "[xUnit.net 00:00:00.11] AllFail.LeapTests.Year_divisible_by_400_but_not_by_125_is_still_a_leap_year [FAIL]\n[xUnit.net 00:00:00.12] AllFail.LeapTests.Year_divisible_by_4_not_divisible_by_100_in_leap_year [FAIL]\n[xUnit.net 00:00:00.12] AllFail.LeapTests.Year_divisible_by_400_in_leap_year [FAIL]\n[xUnit.net 00:00:00.12] AllFail.LeapTests.Year_divisible_by_4_and_5_is_still_a_leap_year [FAIL]\n[xUnit.net 00:00:00.12] AllFail.LeapTests.Year_not_divisible_by_4_in_common_year [FAIL]\n Failed AllFail.LeapTests.Year_divisible_by_400_but_not_by_125_is_still_a_leap_year [3 ms]\n Error Message:\n Assert.True() Failure\nExpected: True\nActual: False\n Stack Trace:\n at AllFail.LeapTests.Year_divisible_by_400_but_not_by_125_is_still_a_leap_year() in /solution/AllFailTests.vb:line 41\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)\n Failed AllFail.LeapTests.Year_divisible_by_4_not_divisible_by_100_in_leap_year [< 1 ms]\n Error Message:\n Assert.True() Failure\nExpected: True\nActual: False\n Stack Trace:\n at AllFail.LeapTests.Year_divisible_by_4_not_divisible_by_100_in_leap_year() in /solution/AllFailTests.vb:line 16\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)\n Failed AllFail.LeapTests.Year_divisible_by_400_in_leap_year [< 1 ms]\n Error Message:\n Assert.True() Failure\nExpected: True\nActual: False\n Stack Trace:\n at AllFail.LeapTests.Year_divisible_by_400_in_leap_year() in /solution/AllFailTests.vb:line 36\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)\n Failed AllFail.LeapTests.Year_divisible_by_4_and_5_is_still_a_leap_year [< 1 ms]\n Error Message:\n Assert.True() Failure\nExpected: True\nActual: False\n Stack Trace:\n at AllFail.LeapTests.Year_divisible_by_4_and_5_is_still_a_leap_year() in /solution/AllFailTests.vb:line 21\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)\n Failed AllFail.LeapTests.Year_not_divisible_by_4_in_common_year [< 1 ms]\n Error Message:\n Assert.False() Failure\nExpected: False\nActual: True\n Stack Trace:\n at AllFail.LeapTests.Year_not_divisible_by_4_in_common_year() in /solution/AllFailTests.vb:line 6\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)\n\nFailed! - Failed: 5, Passed: 4, Skipped: 0, Total: 9, - AllFail.dll (net9.0)" | ||
} |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
tests/example-partial-fail/Leap.vbproj → tests/empty-file/EmptyFile.vbproj
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,13 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<PropertyGroup> | ||
<TargetFramework>net9.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" /> | ||
<PackageReference Include="xunit" Version="2.4.2" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" /> | ||
<PackageReference Include="xunit" Version="2.8.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.1" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"status": "fail", | ||
"message": "/solution/EmptyFileTests.vb(6,24): error BC30451: 'Leap' is not declared. It may be inaccessible due to its protection level. [/solution/EmptyFile.vbproj]\n/solution/EmptyFileTests.vb(11,24): error BC30451: 'Leap' is not declared. It may be inaccessible due to its protection level. [/solution/EmptyFile.vbproj]\n/solution/EmptyFileTests.vb(16,23): error BC30451: 'Leap' is not declared. It may be inaccessible due to its protection level. [/solution/EmptyFile.vbproj]\n/solution/EmptyFileTests.vb(21,23): error BC30451: 'Leap' is not declared. It may be inaccessible due to its protection level. [/solution/EmptyFile.vbproj]\n/solution/EmptyFileTests.vb(26,24): error BC30451: 'Leap' is not declared. It may be inaccessible due to its protection level. [/solution/EmptyFile.vbproj]\n/solution/EmptyFileTests.vb(31,24): error BC30451: 'Leap' is not declared. It may be inaccessible due to its protection level. [/solution/EmptyFile.vbproj]\n/solution/EmptyFileTests.vb(36,23): error BC30451: 'Leap' is not declared. It may be inaccessible due to its protection level. [/solution/EmptyFile.vbproj]\n/solution/EmptyFileTests.vb(41,23): error BC30451: 'Leap' is not declared. It may be inaccessible due to its protection level. [/solution/EmptyFile.vbproj]\n/solution/EmptyFileTests.vb(46,24): error BC30451: 'Leap' is not declared. It may be inaccessible due to its protection level. [/solution/EmptyFile.vbproj]" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
tests/example-empty-file/Leap.vbproj → tests/net7/Net7.vbproj
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"blurb": "Given a year, report if it is a leap year.", | ||
"authors": [ | ||
"ch020" | ||
], | ||
"contributors": [ | ||
"axtens" | ||
], | ||
"files": { | ||
"solution": [ | ||
"PartialFail.vb" | ||
], | ||
"test": [ | ||
"PartialFailTests.vb" | ||
], | ||
"example": [ | ||
".meta/Example.vb" | ||
] | ||
}, | ||
"source": "JavaRanch Cattle Drive, exercise 3", | ||
"source_url": "http://www.javaranch.com/leap.jsp" | ||
} |
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
tests/example-success/Leap.vbproj → tests/partial-fail/PartialFail.vbproj
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,13 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<PropertyGroup> | ||
<TargetFramework>net9.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" /> | ||
<PackageReference Include="xunit" Version="2.4.2" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" /> | ||
<PackageReference Include="xunit" Version="2.8.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.1" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"status": "fail", | ||
"message": "[xUnit.net 00:00:00.11] PartialFail.LeapTests.Year_divisible_by_4_and_5_is_still_a_leap_year [FAIL]\n[xUnit.net 00:00:00.11] PartialFail.LeapTests.Year_divisible_by_4_not_divisible_by_100_in_leap_year [FAIL]\n Failed PartialFail.LeapTests.Year_divisible_by_4_and_5_is_still_a_leap_year [1 ms]\n Error Message:\n Assert.True() Failure\nExpected: True\nActual: False\n Stack Trace:\n at PartialFail.LeapTests.Year_divisible_by_4_and_5_is_still_a_leap_year() in /solution/PartialFailTests.vb:line 21\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)\n Failed PartialFail.LeapTests.Year_divisible_by_4_not_divisible_by_100_in_leap_year [< 1 ms]\n Error Message:\n Assert.True() Failure\nExpected: True\nActual: False\n Stack Trace:\n at PartialFail.LeapTests.Year_divisible_by_4_not_divisible_by_100_in_leap_year() in /solution/PartialFailTests.vb:line 16\n at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)\n at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)\n\nFailed! - Failed: 2, Passed: 7, Skipped: 0, Total: 9, - PartialFail.dll (net9.0)" | ||
} |
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Public Module Leap | ||
Public Function IsLeapYear(ByVal year As Integer) As Boolean | ||
Return year Mod 400 = 0 OrElse (year Mod 100 <> 0 AndAlso year Mod 4 = 0) | ||
End Function | ||
End Module |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net9.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" /> | ||
<PackageReference Include="xunit" Version="2.8.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.1" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"version": 1, | ||
"status": "pass" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Public Module Leap | ||
Public Function IsLeapYear(ByVal year As Integer) As Boolean | ||
Return year Mod 400 = 0 OrElse (year Mod 100 <> 0 AndAlso year Mod 4 = 0) | ||
End Function | ||
End Module |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"blurb": "Given a year, report if it is a leap year.", | ||
"authors": [ | ||
"ch020" | ||
], | ||
"contributors": [ | ||
"axtens" | ||
], | ||
"files": { | ||
"solution": [ | ||
"SyntaxError.vb" | ||
], | ||
"test": [ | ||
"SyntaxErrorTests.vb" | ||
], | ||
"example": [ | ||
".meta/Example.vb" | ||
] | ||
}, | ||
"source": "JavaRanch Cattle Drive, exercise 3", | ||
"source_url": "http://www.javaranch.com/leap.jsp" | ||
} |
Oops, something went wrong.