Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit test for test coverage #722

Merged
merged 12 commits into from
Jan 15, 2025
Merged

Add unit test for test coverage #722

merged 12 commits into from
Jan 15, 2025

Conversation

v-fuquanli
Copy link
Contributor

No description provided.

@v-fuquanli
Copy link
Contributor Author

v-fuquanli commented Jan 9, 2025

@v-fuquanli
Copy link
Contributor Author

v-fuquanli commented Jan 9, 2025

@huangmin-ms huangmin-ms requested a review from Copilot January 10, 2025 06:07
@huangmin-ms huangmin-ms marked this pull request as ready for review January 10, 2025 06:07
@huangmin-ms huangmin-ms changed the title Fuquan/add ut Add unit test for test coverage Jan 10, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 20 changed files in this pull request and generated no comments.

Files not reviewed (14)
  • mdoc/mdoc.Test/SampleClasses/TestUpdate/frameworks.xml: Language not supported
  • mdoc/mdoc.Test/SampleClasses/testImportDoc2.xml: Language not supported
  • mdoc/mdoc.Test/mdoc.Test.csproj: Language not supported
  • mdoc/mdoc.Test/Enumeration/ExceptionTests.cs: Evaluated as low risk
  • mdoc/mdoc.Test/FrameworkIndexHelperTests.cs: Evaluated as low risk
  • mdoc/mdoc.Test/ValidationTests.cs: Evaluated as low risk
  • mdoc/mdoc.Test/MDocUpdaterTests.cs: Evaluated as low risk
  • mdoc/mdoc.Test/MDocFileSourceTests.cs: Evaluated as low risk
  • mdoc/mdoc.Test/MDocAssemblerTests.cs: Evaluated as low risk
  • mdoc/mdoc.Test/ObjectRocksTests.cs: Evaluated as low risk
  • mdoc/mdoc.Test/MdocFileTests.cs: Evaluated as low risk
  • mdoc/mdoc.Test/StreamRocksTests.cs: Evaluated as low risk
  • mdoc/mdoc.Test/FrameworkIndexTest.cs: Evaluated as low risk
  • mdoc/mdoc.Test/NormalizerTests.cs: Evaluated as low risk
Comments suppressed due to low confidence (3)

mdoc/mdoc.Test/DelegatingXmlWriterTests.cs:191

  • The Unicode characters should be \uD800 and \uDC00, not \uDC00 and \uD800. This is causing the surrogate pair to be incorrect.
delegatingWriter.WriteSurrogateCharEntity('�', '�');

mdoc/mdoc.Test/DelegatingXmlWriterTests.cs:35

  • [nitpick] The test method name TestWriteStartElement is not very descriptive. Consider renaming it to WriteStartElement_ShouldWriteCorrectly.
public void TestWriteStartElement()

mdoc/mdoc.Test/MsxdocDocumentationImporterTest.cs:16

  • The class name 'InternalEIICalss' contains a typo. It should be renamed to 'InternalEIIClass'.
var type = GetType(typeof(mdoc.Test2.InternalEIICalss));

@huangmin-ms
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xmdanni
Copy link
Collaborator

xmdanni commented Jan 10, 2025

@huangmin-ms
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xmdanni
Copy link
Collaborator

xmdanni commented Jan 13, 2025

@v-fuquanli
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xmdanni
Copy link
Collaborator

xmdanni commented Jan 13, 2025

@v-fuquanli v-fuquanli merged commit 94e41b7 into develop Jan 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants