-
Notifications
You must be signed in to change notification settings - Fork 106
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
User/shasnayak/port object lifetime tests #847
Conversation
src/Tests/ObjectLifetimeTests/ObjectLifetimeTests.Lifted/ObjectLifetimeTests.Lifted/UnitTest.cs
Outdated
Show resolved
Hide resolved
...ests/ObjectLifetimeTests.Lifted/ObjectLifetimeTests.Lifted/ObjectLifetimeTests.Lifted.csproj
Outdated
Show resolved
Hide resolved
src/Tests/ObjectLifetimeTests/ObjectLifetimeTests.Tests/ObjectLifetimeTests.Tests.csproj
Outdated
Show resolved
Hide resolved
...sts.Lifted/ObjectLifetimeTests.Lifted (Package)/ObjectLifetimeTests.Lifted (Package).wapproj
Outdated
Show resolved
Hide resolved
...ests/ObjectLifetimeTests.Lifted/ObjectLifetimeTests.Lifted/ObjectLifetimeTests.Lifted.csproj
Outdated
Show resolved
Hide resolved
src/Tests/ObjectLifetimeTests/ObjectLifetimeTests.Lifted/nuget.config
Outdated
Show resolved
Hide resolved
src/Tests/ObjectLifetimeTests/ObjectLifetimeTests.Wux/ObjectLifetimeTests.Wux.csproj
Outdated
Show resolved
Hide resolved
src/Tests/ObjectLifetimeTests/ObjectLifetimeTests.Lifted/ObjectLifetimeTests.Lifted.sln
Outdated
Show resolved
Hide resolved
...jectLifetimeTests/ObjectLifetimeTests.Lifted/ObjectLifetimeTests.Lifted/Package.appxmanifest
Outdated
Show resolved
Hide resolved
...jectLifetimeTests/ObjectLifetimeTests.Lifted/ObjectLifetimeTests.Lifted/Package.appxmanifest
Outdated
Show resolved
Hide resolved
public App() | ||
{ | ||
this.InitializeComponent(); | ||
this.Suspending += OnSuspending; |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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/Tests/ObjectLifetimeTests/ObjectLifetimeTests.Wux/Package.appxmanifest
Outdated
Show resolved
Hide resolved
...ests/ObjectLifetimeTests.Lifted/ObjectLifetimeTests.Lifted/ObjectLifetimeTests.Lifted.csproj
Outdated
Show resolved
Hide resolved
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. |
There was a problem hiding this comment.
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
b837a6b
to
c4985c8
Compare
This change introduces a series of Object Lifetime tests that detect memory leaks using MSTest.