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

User/shasnayak/port object lifetime tests #847

Merged
merged 9 commits into from
Jun 30, 2021

Conversation

ShashankNay
Copy link
Collaborator

This change introduces a series of Object Lifetime tests that detect memory leaks using MSTest.

src/build.cmd Outdated Show resolved Hide resolved
public App()
{
this.InitializeComponent();
this.Suspending += OnSuspending;
Copy link
Member

Choose a reason for hiding this comment

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

the suspending event is experimental - should remove it (and handler)


<Identity
Name="2cbb106a-c4fb-4dc8-8e72-f0727f24f544"
Publisher="CN=mikeh"
Copy link
Member

Choose a reason for hiding this comment

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

mikeh

<mp:PhoneIdentity PhoneProductId="2cbb106a-c4fb-4dc8-8e72-f0727f24f544" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

<Properties>
<DisplayName>ObjectLifetimeTests0325</DisplayName>
Copy link
Member

Choose a reason for hiding this comment

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

what is the 0325 suffix?

src/build.cmd Outdated
@@ -121,6 +121,8 @@ if not exist %nuget_dir%\nuget.exe powershell -Command "Invoke-WebRequest https:
rem Note: packages.config-based (vcxproj) projects do not support msbuild /t:restore
call %this_dir%get_testwinrt.cmd
call :exec %nuget_dir%\nuget.exe restore %nuget_params% %this_dir%cswinrt.sln
rem: Calling nuget restore again on ObjectLifetimeTests.Lifted.csproj to prevent .props from \microsoft.testplatform.testhost\build\netcoreapp2.1 from being included. Nuget.exe erroneously imports props files.

Choose a reason for hiding this comment

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

Would also add a link to the bug causing this, NuGet/Home#9672

@ShashankNay ShashankNay force-pushed the user/shasnayak/port_object_lifetime_tests branch from b837a6b to c4985c8 Compare June 24, 2021 18:22
src/VsTestResults.trx Outdated Show resolved Hide resolved
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.

6 participants