I was trying to get the test suite running so I could add test coverage for my new commands.
was:
{}
expected:
{
}
was:
{}
expected:
{
}
was:
NavigationTests
expected:
ReplacingnTests
was:
{}
expected:
{
}
was:
{}
expected:
{
}
was:
aaaaaa
eeeeee
expected:
aaaaaa
dddddd
eeeeee
was:
aaaaa
bbbbb
ccccc
expected:
aaaaa
bbbbb
ccccc
Tests run: 105, Passed: 98, Errors: 0, Failures: 7, Inconclusive: 0
Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
Elapsed time: 00:00:00.4050000
Errors and Failures:
1) Change_tests("{\n\tint a$;\n\tint b;\n}","ci{","{\n\t$\n}") (JustEnoughViTests.ChangeTests.Change_tests("{\n\tint a$;\n\tint b;\n}","ci{","{\n\t$\n}"))
Expected string length 5 but was 2. Strings differ at index 1.
Expected: "{\n\t\n}"
But was: "{}"
------------^
at JustEnoughViTests.TextEditorTestBase.Check (JustEnoughVi.JustEnoughVi plugin, System.String content, System.Type expectedMode) [0x00065] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:110
at JustEnoughViTests.TextEditorTestBase.Test (System.String source, System.String keys, System.String expected, System.Type expectedMode) [0x00030] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:21
at JustEnoughViTests.ChangeTests.Change_tests (System.String source, System.String keys, System.String expected) [0x0000f] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/ChangeTests.cs:57
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Reflection/MonoMethod.cs:295
2) Change_tests("{ aksljd$f\n\t\taskldjf\n\t}","ci{","{$\n\t}") (JustEnoughViTests.ChangeTests.Change_tests("{ aksljd$f\n\t\taskldjf\n\t}","ci{","{$\n\t}"))
Expected string length 4 but was 2. Strings differ at index 1.
Expected: "{\n\t}"
But was: "{}"
------------^
at JustEnoughViTests.TextEditorTestBase.Check (JustEnoughVi.JustEnoughVi plugin, System.String content, System.Type expectedMode) [0x00065] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:110
at JustEnoughViTests.TextEditorTestBase.Test (System.String source, System.String keys, System.String expected, System.Type expectedMode) [0x00030] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:21
at JustEnoughViTests.ChangeTests.Change_tests (System.String source, System.String keys, System.String expected) [0x0000f] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/ChangeTests.cs:57
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Reflection/MonoMethod.cs:295
3) ReplaceModeTests("N$avigationTests","Rreplacing","Replacingn$Tests") (JustEnoughViTests.ChangeTests.ReplaceModeTests("N$avigationTests","Rreplacing","Replacingn$Tests"))
String lengths are both 15. Strings differ at index 0.
Expected: "ReplacingnTests"
But was: "NavigationTests"
-----------^
at JustEnoughViTests.TextEditorTestBase.Check (JustEnoughVi.JustEnoughVi plugin, System.String content, System.Type expectedMode) [0x00065] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:110
at JustEnoughViTests.TextEditorTestBase.Test (System.String source, System.String keys, System.String expected, System.Type expectedMode) [0x00030] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:21
at JustEnoughViTests.ChangeTests.ReplaceModeTests (System.String source, System.String keys, System.String expected) [0x0000f] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/ChangeTests.cs:125
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Reflection/MonoMethod.cs:295
4) D_tests("{\n\tint$ a;\n\tint b;\n}\n","di{","{\n}$\n") (JustEnoughViTests.DeleteTests.D_tests("{\n\tint$ a;\n\tint b;\n}\n","di{","{\n}$\n"))
Expected string length 4 but was 3. Strings differ at index 1.
Expected: "{\n}\n"
But was: "{}\n"
------------^
at JustEnoughViTests.TextEditorTestBase.Check (JustEnoughVi.JustEnoughVi plugin, System.String content, System.Type expectedMode) [0x00065] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:110
at JustEnoughViTests.TextEditorTestBase.Test (System.String source, System.String keys, System.String expected, System.Type expectedMode) [0x00030] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:21
at JustEnoughViTests.DeleteTests.D_tests (System.String source, System.String keys, System.String expected) [0x0000f] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/DeleteTests.cs:60
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Reflection/MonoMethod.cs:295
5) D_tests("{\n\tif$ (true)\n\t{\n\t\ta();{int a}\n\t}\n}\n","di{","{\n}$\n") (JustEnoughViTests.DeleteTests.D_tests("{\n\tif$ (true)\n\t{\n\t\ta();{int a}\n\t}\n}\n","di{","{\n}$\n"))
Expected string length 4 but was 3. Strings differ at index 1.
Expected: "{\n}\n"
But was: "{}\n"
------------^
at JustEnoughViTests.TextEditorTestBase.Check (JustEnoughVi.JustEnoughVi plugin, System.String content, System.Type expectedMode) [0x00065] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:110
at JustEnoughViTests.TextEditorTestBase.Test (System.String source, System.String keys, System.String expected, System.Type expectedMode) [0x00030] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:21
at JustEnoughViTests.DeleteTests.D_tests (System.String source, System.String keys, System.String expected) [0x0000f] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/DeleteTests.cs:60
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Reflection/MonoMethod.cs:295
6) Should_delete_two_end_of_line (JustEnoughViTests.DeleteTests.Should_delete_two_end_of_line)
Expected string length 56 but was 31. Strings differ at index 25.
Expected: "aaaaaa\n dddddd\n eeeeee"
But was: "aaaaaa\n eeeeee"
-------------------------------------^
at JustEnoughViTests.TextEditorTestBase.Check (JustEnoughVi.JustEnoughVi plugin, System.String content, System.Type expectedMode) [0x00065] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:110
at JustEnoughViTests.TextEditorTestBase.Test (System.String source, System.String keys, System.String expected, System.Type expectedMode) [0x00030] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:21
at JustEnoughViTests.DeleteTests.Should_delete_two_end_of_line () [0x0001f] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/DeleteTests.cs:24
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Reflection/MonoMethod.cs:295
7) Should_insert_new_line_above (JustEnoughViTests.InsertTests.Should_insert_new_line_above)
Expected string length 88 but was 72. Strings differ at index 6.
Expected: "aaaaa\n \n bbbbb\n ..."
But was: "aaaaa\n\n bbbbb\n ..."
------------------^
at JustEnoughViTests.TextEditorTestBase.Check (JustEnoughVi.JustEnoughVi plugin, System.String content, System.Type expectedMode) [0x00065] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:110
at JustEnoughViTests.TextEditorTestBase.Test (System.String source, System.String keys, System.String expected, System.Type expectedMode) [0x00030] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/TextEditorTestBase.cs:21
at JustEnoughViTests.InsertTests.Should_insert_new_line_above () [0x0001f] in /Users/eliot/Dev/xamarin/monodevelop-justenoughvi/JustEnoughViTests/InsertTests.cs:31
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /private/tmp/source-mono-4.4.0-c7sr0/bockbuild-mono-4.4.0-branch-c7sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.Reflection/MonoMethod.cs:295