SingleFile: Add test cases (dotnet/core-setup#5954)
SingleFile: Add test cases
Add test cases to test:
* Run of self-contained and portable apps.
* Extraction to custom directories.
* Reuse of extracted files on subsequent runs.
Created a BundleTest test directory grouping which contains
- Microsoft.NET.HostModel.Bundle tests
- AppHost Bundler tests
- BundleHelpers -- containing common helper methods for the above two tests.
Commit migrated from https://github.com/dotnet/core-setup/commit/
b0bd078ce1cc4a2791c2a09860f4e4cd71f9e17e
Microsoft.DotNet.CoreSetup.sln |
|
diff | blob | history |
src/installer/managed/Microsoft.NET.HostModel/Bundle/Bundler.cs |
|
diff | blob | history |
src/installer/managed/Microsoft.NET.HostModel/Bundle/Extractor.cs |
|
diff | blob | history |
src/installer/managed/Microsoft.NET.HostModel/Bundle/FileEntry.cs |
|
diff | blob | history |
src/installer/managed/Microsoft.NET.HostModel/Bundle/FileSpec.cs |
|
diff | blob | history |
src/installer/managed/Microsoft.NET.HostModel/Bundle/Manifest.cs |
|
diff | blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/AppWithSubDirs.csproj |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/StandaloneAppWithSubDirs.csproj with 89% similarity] |
diff | blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Program.cs |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Program.cs with 97% similarity] |
diff | blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/Conjunction/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/Conjunction/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/Interjection/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/Interjection/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/Noun/Adjective/Article/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/Noun/Adjective/Article/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/Noun/Adjective/Preposition/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/Noun/Adjective/Preposition/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/Noun/Adjective/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/Noun/Adjective/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/Noun/Pronoun/Another/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/Noun/Pronoun/Another/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/Noun/Pronoun/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/Noun/Pronoun/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/Noun/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/Noun/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/This is a really, really, really, really, really, really, really, really, really, really, really, really, really, really long file name for punctuation/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/This is a really, really, really, really, really, really, really, really, really, really, really, really, really, really long file name for punctuation/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/Verb/Adverb/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/Verb/Adverb/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/Verb/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/Verb/word with 100% similarity] |
blob | history |
src/installer/test/Assets/TestProjects/AppWithSubDirs/Sentence/word |
[moved from src/installer/test/Assets/TestProjects/StandaloneAppWithSubDirs/Sentence/word with 100% similarity] |
blob | history |
src/installer/test/BundleTests/AppHost.Bundle.Tests/AppHost.Bundle.Tests.csproj |
[moved from src/installer/test/Microsoft.NET.HostModel.Tests/Microsoft.NET.HostModel.Tests.csproj with 55% similarity] |
diff | blob | history |
src/installer/test/BundleTests/AppHost.Bundle.Tests/BundleExtractToSpecificPath.cs |
[new file with mode: 0644] |
blob |
src/installer/test/BundleTests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs |
[new file with mode: 0644] |
blob |
src/installer/test/BundleTests/Helpers/BundleHelper.cs |
[new file with mode: 0644] |
blob |
src/installer/test/BundleTests/Helpers/BundleHelper.csproj |
[new file with mode: 0644] |
blob |
src/installer/test/BundleTests/Microsoft.NET.HostModel.Bundle.Tests/BundleExtractRun.cs |
[new file with mode: 0644] |
blob |
src/installer/test/BundleTests/Microsoft.NET.HostModel.Bundle.Tests/BundlerConsistencyTests.cs |
[new file with mode: 0644] |
blob |
src/installer/test/BundleTests/Microsoft.NET.HostModel.Bundle.Tests/Microsoft.NET.HostModel.Bundle.Tests.csproj |
[new file with mode: 0644] |
blob |
src/installer/test/HostActivationTests/BundledAppWithSubDirs.cs |
[deleted file] |
blob | history |
src/installer/test/Microsoft.NET.HostModel.Tests/BundleAndExtract.cs |
[deleted file] |
blob | history |
src/installer/test/TestUtils/Assertions/DirectoryInfoAssertions.cs |
|
diff | blob | history |
src/installer/test/TestUtils/TestProjectFixture.cs |
|
diff | blob | history |
src/installer/test/dir.props |
|
diff | blob | history |