Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/BuildErrorEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path.
/// </summary>
private class BuildErrorEventArgs2 : BuildErrorEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/BuildFinishedEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class BuildFinishedEventArgs2 : BuildFinishedEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/BuildMessageEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class BuildMessageEventArgs2 : BuildMessageEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/BuildStartedEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void TestGetHashCode()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class BuildStartedEventArgs2 : BuildStartedEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/BuildWarningEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void TestGetHashCode()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class BuildWarningEventArgs2 : BuildWarningEventArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class CriticalBuildMessageEventArgs2 : CriticalBuildMessageEventArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class ExternalProjectFinishedEventArgs2 : ExternalProjectFinishedEventArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class ExternalProjectStartedEventArgs2 : ExternalProjectStartedEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/ProjectFinishedEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class ProjectFinishedEventArgs2 : ProjectFinishedEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/ProjectStartedEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void ItemsAndPropertiesDifferentEquals()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class ProjectStartedEventArgs2 : ProjectStartedEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/TargetFinishedEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class TargetFinishedEventArgs2 : TargetFinishedEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/TargetStartedEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class TargetStartedEventArgs2 : TargetStartedEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/TaskCommandLineEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class TaskCommandLineEventArgs2 : TaskCommandLineEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/TaskFinishedEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class TaskFinishedEventArgs2 : TaskFinishedEventArgs
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/UnitTests/TaskStartedEventArgs_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void EventArgsCtors()
}

/// <summary>
/// Create a derrived class so that we can test the default constructor in order to increase code coverage and
/// Create a derived class so that we can test the default constructor in order to increase code coverage and
/// verify this code path does not cause any exceptions.
/// </summary>
private class TaskStartedEventArgs2 : TaskStartedEventArgs
Expand Down
3 changes: 1 addition & 2 deletions src/Shared/UnitTests/ObjectModelHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,6 @@ internal static T GetLast<T>(IEnumerable<T> enumerable)

/// <summary>
/// Makes a temporary dictionary out of an enumerable of keyvaluepairs.
/// Throws
/// </summary>
internal static Dictionary<string, V> MakeDictionary<V>(IEnumerable<KeyValuePair<string, V>> enumerable)
{
Expand Down Expand Up @@ -1078,7 +1077,7 @@ internal static MockLogger BuildProjectWithNewOMExpectFailure(string content, bo

/// <summary>
/// Compare the expected project XML to actual project XML, after doing a little normalization
/// of
/// of quotations/whitespace.
/// </summary>
/// <param name="newExpectedProjectContents"></param>
/// <param name="newActualProjectContents"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void LoggerExceptionInEventHandler()
}

/// <summary>
/// Verify raising a generic event derrived from BuildEventArgs rather than CustomBuildEventArgs causes an internalErrorException
/// Verify raising a generic event derived from BuildEventArgs rather than CustomBuildEventArgs causes an internalErrorException
/// </summary>
[TestMethod]
[ExpectedException(typeof(InternalErrorException))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ private void LogandVerifyBuildEvent(BuildEventArgs expectedBuildEvent, ProcessBu

#region Helper Classes
/// <summary>
/// Create a derrived class which overrides ProcessLoggingEvent so
/// Create a derived class which overrides ProcessLoggingEvent so
/// we can test most of the logging methods without relying on the
/// exact implementation of process logging events.
/// </summary>
Expand Down
16 changes: 8 additions & 8 deletions src/XMakeBuildEngine/UnitTests/BackEnd/TaskRegistry_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1461,16 +1461,16 @@ public void GoodScalarTypeArrayInputOnInputParameter()

/// <summary>
/// Verify when a class which derives from ITask is attempted to be registered that we get an InvalidProjectFileException.
/// We only support ITaskItems and not their derrived types as input parameters.
/// We only support ITaskItems and not their derived types as input parameters.
/// </summary>
[TestMethod]
[ExpectedException(typeof(InvalidProjectFileException))]
public void BadScalarInputOnInputParameterDerrivedFromITask()
public void BadScalarInputOnInputParameterDerivedFromITask()
{
// Note output is false so these are only input parameters
string output = bool.FalseString;
string required = bool.TrueString;
string type = type = typeof(DerrivedFromITaskItem).FullName + "," + typeof(DerrivedFromITaskItem).Assembly.FullName;
string type = type = typeof(DerivedFromITaskItem).FullName + "," + typeof(DerivedFromITaskItem).Assembly.FullName;

List<ProjectUsingTaskElement> elementList = CreateParameterElementWithAttributes(output, required, type);
TaskRegistry registry = TaskRegistryHelperMethods<ProjectPropertyInstance, ProjectItemInstance>.CreateTaskRegistryAndRegisterTasks(elementList);
Expand Down Expand Up @@ -1520,7 +1520,7 @@ public void GoodOutPutParameters()
type = typeof(ITaskItem).FullName;
VerifyTypeParameter(output, required, type);

type = typeof(DerrivedFromITaskItem).FullName + "," + typeof(DerrivedFromITaskItem).Assembly.FullName;
type = typeof(DerivedFromITaskItem).FullName + "," + typeof(DerivedFromITaskItem).Assembly.FullName;
VerifyTypeParameter(output, required, type);

type = typeof(ITaskItem[]).FullName;
Expand All @@ -1535,12 +1535,12 @@ public void GoodOutPutParameters()
type = typeof(DateTime[]).FullName;
VerifyTypeParameter(output, required, type);

type = typeof(DerrivedFromITaskItem[]).FullName + "," + typeof(DerrivedFromITaskItem).Assembly.FullName;
type = typeof(DerivedFromITaskItem[]).FullName + "," + typeof(DerivedFromITaskItem).Assembly.FullName;
VerifyTypeParameter(output, required, type);
}

/// <summary>
/// Verify that an arbitrary output type class which is not derrived from ITaskItem is not allowed
/// Verify that an arbitrary output type class which is not derived from ITaskItem is not allowed
/// </summary>
[TestMethod]
[ExpectedException(typeof(InvalidProjectFileException))]
Expand Down Expand Up @@ -2065,9 +2065,9 @@ public override bool Execute()
}

/// <summary>
/// Create a custom class derrived from ITaskItem to test input and output parameters work using this item.
/// Create a custom class derived from ITaskItem to test input and output parameters work using this item.
/// </summary>
internal class DerrivedFromITaskItem : ITaskItem
internal class DerivedFromITaskItem : ITaskItem
{
/// <summary>
/// The ItemSpec of the item
Expand Down
2 changes: 1 addition & 1 deletion src/XMakeTasks/CreateManifestResourceName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ CreateFileStream createFileStream
binaryStream = createFileStream(pathToDependent, FileMode.Open, FileAccess.Read);
}

// Put the task item into a dictionary so we can access it from a derrived class quickly.
// Put the task item into a dictionary so we can access it from a derived class quickly.
itemSpecToTaskitem[resourceFile.ItemSpec] = resourceFile;

// This "using" statement ensures that the "binaryStream" will be disposed once
Expand Down