Skip to content

Commit de75c6b

Browse files
Add some stuff
1 parent 888a9d1 commit de75c6b

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

CoreLibrary.sln.DotSettings.user

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<TestId>MSTest::D2D1B7B6-0C94-45F8-BD4E-1FB9A318AC21::net5.0-windows7.0::CommonLibraryTests.MemoryVaultTests.AddMetadata_ShouldStoreMetadataCorrectly</TestId>
1414
<TestId>MSTest::B5D5FFD4-0B21-4C0B-9B77-2E6DE5D3FFAF::net5.0::CommonLibrarySqlLiteTests.SqlLiteInternals.TestCreateDatabaseBigInternals</TestId>
1515
<TestId>MSTest::18981E7D-2AB9-48B2-8181-9E9DF3263B23::net5.0-windows7.0::InterpreteTests.InterpreterCompleteTests.ConsoleInterpreterShouldHandleNamespaceSwitchFullTest</TestId>
16+
<TestId>MSTest::18981E7D-2AB9-48B2-8181-9E9DF3263B23::net5.0-windows7.0::InterpreteTests.FeedbackTests.FeedbackExtensionExternal</TestId>
1617
</TestAncestor>
1718
<Project Location="C:\Users\Wayfarer\Documents\Projects\CoreLibrary\CommonLibraryGuiTests" Presentation="<CommonLibraryGuiTests>" />
1819
<Project Location="C:\Users\Wayfarer\Documents\Projects\CoreLibrary\CommonLibraryTests" Presentation="<CommonLibraryTests>" />

InterpreteTests/FeedbackTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ public void FeedbackExtensionExternal()
114114
// Arrange
115115
var dctCommandOne = new Dictionary<int, InCommand>
116116
{
117-
{ 0, new InCommand { Command = "com1", ParameterCount = 2, Description = "Help com1" } },
117+
{ 0, new InCommand { Command = "com1", ParameterCount = 1, Description = "Help com1" } },
118118
{
119119
1,
120-
new InCommand { Command = "com2", ParameterCount = 0, Description = "com2 Command Namespace 1" }
120+
new InCommand { Command = "com2", ParameterCount = 2, Description = "com2 Command Namespace 1" }
121121
},
122122
{
123123
2,
@@ -147,7 +147,7 @@ public void FeedbackExtensionExternal()
147147
prompt.SendLogs += SendLogs;
148148
prompt.SendCommands += SendCommands;
149149
prompt.Initiate(dctCommandOne, "UserSpace 1", extensionCommands, Feedback);
150-
prompt.ConsoleInput("coM1(1,2).Dryrun()");
150+
prompt.ConsoleInput("coM2(1,2).Dryrun()");
151151
prompt.ConsoleInput("");
152152

153153

Interpreter/Prompt.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,10 @@ public void Callback(string message)
204204
SendLogs?.Invoke(nameof(Callback), message);
205205
}
206206

207-
// Event to handle feedback, using EventHandler for proper event pattern
207+
/// <summary>
208+
/// Event to handle feedback, using EventHandler for proper event pattern
209+
/// Occurs when [handle feedback].
210+
/// </summary>
208211
internal event EventHandler<IrtFeedbackInputEventArgs> HandleFeedback;
209212

210213
/// <summary>Switches the name spaces.</summary>

0 commit comments

Comments
 (0)