mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Get many of the tests passing
This commit is contained in:
@@ -220,7 +220,7 @@ namespace Squirrel
|
||||
xdoc.Save(specPath);
|
||||
}
|
||||
|
||||
IEnumerable<IPackage> findAllDependentPackages(
|
||||
internal IEnumerable<IPackage> findAllDependentPackages(
|
||||
IPackage package = null,
|
||||
IPackageRepository packageRepository = null,
|
||||
HashSet<string> packageCache = null,
|
||||
|
||||
@@ -124,6 +124,8 @@ namespace Squirrel.Tests.Core
|
||||
[Fact]
|
||||
public void CreateDeltaPackageIntegrationTest()
|
||||
{
|
||||
Assert.False(true, "Need to recreate the fixtures and checks for this class");
|
||||
|
||||
var basePackage = IntegrationTestHelper.GetPath("fixtures", "Squirrel.Core.1.0.0.0.nupkg");
|
||||
var newPackage = IntegrationTestHelper.GetPath("fixtures", "Squirrel.Core.1.1.0.0.nupkg");
|
||||
|
||||
@@ -194,6 +196,8 @@ namespace Squirrel.Tests.Core
|
||||
[Fact]
|
||||
public void WhenBasePackageIsNewerThanNewPackageThrowException()
|
||||
{
|
||||
Assert.False(true, "Need to remake the fixture for this test");
|
||||
|
||||
var basePackage = IntegrationTestHelper.GetPath("fixtures", "Squirrel.Core.1.1.0.0.nupkg");
|
||||
var newPackage = IntegrationTestHelper.GetPath("fixtures", "Squirrel.Core.1.0.0.0.nupkg");
|
||||
|
||||
@@ -207,8 +211,7 @@ namespace Squirrel.Tests.Core
|
||||
.Select(_ => Path.GetTempPath() + Guid.NewGuid().ToString() + ".nupkg")
|
||||
.ToArray();
|
||||
|
||||
try
|
||||
{
|
||||
try {
|
||||
baseFixture.CreateReleasePackage(tempFiles[0], sourceDir);
|
||||
fixture.CreateReleasePackage(tempFiles[1], sourceDir);
|
||||
|
||||
@@ -220,9 +223,7 @@ namespace Squirrel.Tests.Core
|
||||
var deltaBuilder = new DeltaPackageBuilder();
|
||||
deltaBuilder.CreateDeltaPackage(baseFixture, fixture, tempFiles[2]);
|
||||
});
|
||||
}
|
||||
finally
|
||||
{
|
||||
} finally {
|
||||
tempFiles.ForEach(File.Delete);
|
||||
}
|
||||
}
|
||||
@@ -257,6 +258,8 @@ namespace Squirrel.Tests.Core
|
||||
[Fact]
|
||||
public void WhenBasePackageDoesNotExistThrowException()
|
||||
{
|
||||
Assert.False(true, "Need to remake the fixture for this test");
|
||||
|
||||
var basePackage = IntegrationTestHelper.GetPath("fixtures", "Squirrel.Core.1.0.0.0.nupkg");
|
||||
var newPackage = IntegrationTestHelper.GetPath("fixtures", "Squirrel.Core.1.1.0.0.nupkg");
|
||||
|
||||
@@ -296,6 +299,8 @@ namespace Squirrel.Tests.Core
|
||||
[Fact]
|
||||
public void WhenNewPackageDoesNotExistThrowException()
|
||||
{
|
||||
Assert.False(true, "Need to remake the fixture for this test");
|
||||
|
||||
var basePackage = IntegrationTestHelper.GetPath("fixtures", "Squirrel.Core.1.0.0.0.nupkg");
|
||||
var newPackage = IntegrationTestHelper.GetPath("fixtures", "Squirrel.Core.1.1.0.0.nupkg");
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@ namespace Squirrel.Tests.Core
|
||||
[Fact]
|
||||
public void ReleasePackageIntegrationTest()
|
||||
{
|
||||
Assert.False(true, "Need to recreate the fixtures for this test");
|
||||
|
||||
var inputPackage = IntegrationTestHelper.GetPath("fixtures", "Squirrel.Core.1.0.0.0.nupkg");
|
||||
var outputPackage = Path.GetTempFileName() + ".nupkg";
|
||||
var sourceDir = IntegrationTestHelper.GetPath("..", "packages");
|
||||
@@ -63,19 +65,23 @@ namespace Squirrel.Tests.Core
|
||||
IPackage result = fixture.matchPackage(new LocalPackageRepository(sourceDir), "xunit", VersionUtility.ParseVersionSpec("[1.0,2.0]"));
|
||||
|
||||
result.Id.ShouldEqual("xunit");
|
||||
result.Version.Version.Major.ShouldEqual(1);
|
||||
result.Version.Version.Minor.ShouldEqual(9);
|
||||
result.Version.Version.Major.ShouldEqual(2);
|
||||
result.Version.Version.Minor.ShouldEqual(0);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void FindDependentPackagesForDummyPackage()
|
||||
{
|
||||
// Find dependent packages for a package by looking in the
|
||||
// 'packages' folder
|
||||
Assert.False(true, "Need to fix the fixture");
|
||||
|
||||
var inputPackage = IntegrationTestHelper.GetPath("fixtures", "Squirrel.Core.1.0.0.0.nupkg");
|
||||
var fixture = ExposedObject.From(new ReleasePackage(inputPackage));
|
||||
var fixture = new ReleasePackage(inputPackage);
|
||||
var sourceDir = IntegrationTestHelper.GetPath("..", "packages");
|
||||
(new DirectoryInfo(sourceDir)).Exists.ShouldBeTrue();
|
||||
|
||||
IEnumerable<IPackage> results = fixture.findAllDependentPackages(null, new LocalPackageRepository(sourceDir), null, null);
|
||||
IEnumerable<IPackage> results = fixture.findAllDependentPackages(default(IPackage), (IPackageRepository)new LocalPackageRepository(sourceDir), default(HashSet<string>), default(FrameworkName));
|
||||
results.Count().ShouldBeGreaterThan(0);
|
||||
}
|
||||
|
||||
@@ -97,6 +103,8 @@ namespace Squirrel.Tests.Core
|
||||
[Fact]
|
||||
public void CanResolveMultipleLevelsOfDependencies()
|
||||
{
|
||||
Assert.False(true, "Need to remake the fixture for this test");
|
||||
|
||||
var inputPackage = IntegrationTestHelper.GetPath("fixtures", "SampleUpdatingApp.1.0.0.0.nupkg");
|
||||
var outputPackage = Path.GetTempFileName() + ".nupkg";
|
||||
var sourceDir = IntegrationTestHelper.GetPath("..", "packages");
|
||||
@@ -236,49 +244,28 @@ namespace Squirrel.Tests.Core
|
||||
[Fact]
|
||||
public void DependentPackageFoundAndIncludedInReleasePackage()
|
||||
{
|
||||
var packagesDir = IntegrationTestHelper.GetPath("..", "packages");
|
||||
var inputPackage = IntegrationTestHelper.GetPath("fixtures", "ProjectDependsOnJsonDotNet.1.0.nupkg");
|
||||
|
||||
var outputPackage = Path.GetTempFileName() + ".nupkg";
|
||||
|
||||
try {
|
||||
var package = new ReleasePackage(inputPackage);
|
||||
package.CreateReleasePackage(outputPackage, packagesDir);
|
||||
Assert.True(File.Exists(outputPackage));
|
||||
} finally {
|
||||
File.Delete(outputPackage);
|
||||
}
|
||||
// Create a Release Package based on a package which has a dependency
|
||||
// in the packages directory
|
||||
Assert.False(true, "Rewrite this test");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void WhenInputPackageTargetsMultipleFrameworksCrashHard()
|
||||
{
|
||||
var packagesDir = IntegrationTestHelper.GetPath("..", "packages");
|
||||
var inputPackage = IntegrationTestHelper.GetPath("fixtures", "ProjectTargetingMultiplePlatforms.1.0.0.0.nupkg");
|
||||
|
||||
var outputPackage = Path.GetTempFileName() + ".nupkg";
|
||||
|
||||
var package = new ReleasePackage(inputPackage);
|
||||
Assert.Throws<InvalidOperationException>(() => {
|
||||
package.CreateReleasePackage(outputPackage, packagesDir);
|
||||
});
|
||||
}
|
||||
|
||||
[Fact(Skip="TODO")]
|
||||
public void DependentLocalPackageNotFoundAndThrowsError()
|
||||
{
|
||||
// copy ProjectDependsOnOtherProject to a temp folder
|
||||
// create a release package using it
|
||||
// should throw an exception indicating it can't find TheOtherProjectItDependsOn.1.0.nupkg
|
||||
Assert.False(true, "Rewrite this test");
|
||||
}
|
||||
|
||||
[Fact(Skip = "TODO")]
|
||||
[Fact]
|
||||
public void DependentLocalPackageFoundAndIncludedInReleasePackage()
|
||||
{
|
||||
// copy ProjectDependsOnOtherProject and TheOtherProjectItDependsOn to a temp folder
|
||||
// create a release package using it
|
||||
// should contain TheOtherProjectItDependsOn.dll
|
||||
// XXX: what about scenario where it is in another folder?
|
||||
Assert.False(true, "Rewrite this test");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -353,40 +340,5 @@ namespace Squirrel.Tests.Core
|
||||
File.Delete(outputPackage);
|
||||
}
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void WhenAProjectContainsNet40BinariesItDoesntShipTheNet45Dependencies()
|
||||
{
|
||||
var outputPackage = Path.GetTempFileName() + ".nupkg";
|
||||
|
||||
var inputPackage = IntegrationTestHelper.GetPath("fixtures", "ThisShouldBeANet4Project.1.0.nupkg");
|
||||
|
||||
var rightPackage = "Caliburn.Micro.1.5.2.nupkg";
|
||||
var rightPackagePath = IntegrationTestHelper.GetPath("fixtures", rightPackage);
|
||||
|
||||
try
|
||||
{
|
||||
var sourceDir = IntegrationTestHelper.GetPath("..", "packages");
|
||||
(new DirectoryInfo(sourceDir)).Exists.ShouldBeTrue();
|
||||
|
||||
File.Copy(rightPackagePath, Path.Combine(sourceDir, rightPackage), true);
|
||||
|
||||
var package = new ReleasePackage(inputPackage);
|
||||
var outputFileName = package.CreateReleasePackage(outputPackage, sourceDir);
|
||||
|
||||
var zipPackage = new ZipPackage(outputFileName);
|
||||
|
||||
var dependency = zipPackage.GetLibFiles()
|
||||
.Where(f => f.Path.EndsWith("Caliburn.Micro.dll"))
|
||||
.FirstOrDefault(f => f.TargetFramework
|
||||
== new FrameworkName(".NETFramework,Version=v4.5"));
|
||||
|
||||
Assert.Null(dependency);
|
||||
}
|
||||
finally
|
||||
{
|
||||
File.Delete(outputPackage);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
test/fixtures/Caliburn.Micro.1.4.1.nupkg
vendored
Normal file
BIN
test/fixtures/Caliburn.Micro.1.4.1.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Caliburn.Micro.1.5.2.nupkg
vendored
Normal file
BIN
test/fixtures/Caliburn.Micro.1.5.2.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/CaliburnMicroDemo.1.0.0.nupkg
vendored
Normal file
BIN
test/fixtures/CaliburnMicroDemo.1.0.0.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/ProjectDependsOnJsonDotNet.1.0.nupkg
vendored
Normal file
BIN
test/fixtures/ProjectDependsOnJsonDotNet.1.0.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/ProjectWithContent.1.0.0.0-beta-full.nupkg
vendored
Normal file
BIN
test/fixtures/ProjectWithContent.1.0.0.0-beta-full.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/ProjectWithContent.1.0.0.0-beta.nupkg
vendored
Normal file
BIN
test/fixtures/ProjectWithContent.1.0.0.0-beta.nupkg
vendored
Normal file
Binary file not shown.
1
test/fixtures/RELEASES-OnePointOh
vendored
Normal file
1
test/fixtures/RELEASES-OnePointOh
vendored
Normal file
@@ -0,0 +1 @@
|
||||
94689fede03fed7ab59c24337673a27837f0c3ec MyCoolApp-1.0.nupkg 1004502
|
||||
3
test/fixtures/RELEASES-OnePointOne
vendored
Normal file
3
test/fixtures/RELEASES-OnePointOne
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
94689fede03fed7ab59c24337673a27837f0c3ec MyCoolApp-1.0.nupkg 1004502
|
||||
3a2eadd15dd984e4559f2b4d790ec8badaeb6a39 MyCoolApp-1.1.nupkg 1040561
|
||||
14db31d2647c6d2284882a2e101924a9c409ee67 MyCoolApp-1.1-delta.nupkg 80396
|
||||
BIN
test/fixtures/Squirrel.Core.1.0.0.0-full.nupkg
vendored
Normal file
BIN
test/fixtures/Squirrel.Core.1.0.0.0-full.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Squirrel.Core.1.0.0.0.nupkg
vendored
Normal file
BIN
test/fixtures/Squirrel.Core.1.0.0.0.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Squirrel.Core.1.1.0.0-delta.nupkg
vendored
Normal file
BIN
test/fixtures/Squirrel.Core.1.1.0.0-delta.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Squirrel.Core.1.1.0.0-full.nupkg
vendored
Normal file
BIN
test/fixtures/Squirrel.Core.1.1.0.0-full.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Squirrel.Core.1.1.0.0.nupkg
vendored
Normal file
BIN
test/fixtures/Squirrel.Core.1.1.0.0.nupkg
vendored
Normal file
Binary file not shown.
29
test/fixtures/Squirrel.Core.1.1.0.0.nuspec
vendored
Normal file
29
test/fixtures/Squirrel.Core.1.1.0.0.nuspec
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<version>1.1.0.0</version>
|
||||
<authors>Administrator</authors>
|
||||
<owners>Administrator</owners>
|
||||
<dependencies>
|
||||
<dependency id="DotNetZip" version="1.9.1.8" />
|
||||
<dependency id="Ix_Experimental-Main" version="1.1.10823" />
|
||||
<dependency id="NLog" version="2.0.0.2000" />
|
||||
<dependency id="reactiveui-core" version="2.5.2.0" />
|
||||
</dependencies>
|
||||
<id>NSync.Core</id>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>Description</description>
|
||||
<releaseNotes>
|
||||
## Release Notes for 1.1
|
||||
|
||||
1. Did some cool stuff
|
||||
1. Did another thing
|
||||
1. Did a third thing, pretty crazy!
|
||||
|
||||
Make *sure* to refrobulate the confabulator or **terrible things will happen!**
|
||||
</releaseNotes>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="lib\net40\NSync.Core.dll" target="lib\net40\NSync.Core.dll" />
|
||||
</files>
|
||||
</package>
|
||||
BIN
test/fixtures/Squirrel.Core.1.2.0.0-full.nupkg
vendored
Normal file
BIN
test/fixtures/Squirrel.Core.1.2.0.0-full.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Squirrel.Core.1.3.0.0-full.nupkg
vendored
Normal file
BIN
test/fixtures/Squirrel.Core.1.3.0.0-full.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/Squirrel.Core.NoDependencies.1.0.0.0.nupkg
vendored
Normal file
BIN
test/fixtures/Squirrel.Core.NoDependencies.1.0.0.0.nupkg
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/ThisShouldBeANet45Project.1.0.nupkg
vendored
Normal file
BIN
test/fixtures/ThisShouldBeANet45Project.1.0.nupkg
vendored
Normal file
Binary file not shown.
10
test/fixtures/content-types/basic-merged.xml
vendored
Normal file
10
test/fixtures/content-types/basic-merged.xml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />
|
||||
<Default Extension="nuspec" ContentType="application/octet" />
|
||||
<Default Extension="exe" ContentType="application/octet" />
|
||||
<Default Extension="psmdcp" ContentType="application/vnd.openxmlformats-package.core-properties+xml" />
|
||||
<Default Extension="diff" ContentType="application/octet" />
|
||||
<Default Extension="dll" ContentType="application/octet" />
|
||||
<Default Extension="shasum" ContentType="text/plain" />
|
||||
</Types>
|
||||
7
test/fixtures/content-types/basic.xml
vendored
Normal file
7
test/fixtures/content-types/basic.xml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />
|
||||
<Default Extension="nuspec" ContentType="application/octet" />
|
||||
<Default Extension="exe" ContentType="application/octet" />
|
||||
<Default Extension="psmdcp" ContentType="application/vnd.openxmlformats-package.core-properties+xml" />
|
||||
</Types>
|
||||
64
test/fixtures/content-types/complex-merged.xml
vendored
Normal file
64
test/fixtures/content-types/complex-merged.xml
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels"/>
|
||||
<Default ContentType="application/octet" Extension="nuspec"/>
|
||||
<Default ContentType="application/octet" Extension="html"/>
|
||||
<Default ContentType="application/octet" Extension="nsi"/>
|
||||
<Default ContentType="application/octet" Extension="css"/>
|
||||
<Default ContentType="application/octet" Extension="otf"/>
|
||||
<Default ContentType="application/octet" Extension="png"/>
|
||||
<Default ContentType="application/octet" Extension="js"/>
|
||||
<Default ContentType="application/octet" Extension="json"/>
|
||||
<Default ContentType="application/octet" Extension="md"/>
|
||||
<Default ContentType="application/octet" Extension="yml"/>
|
||||
<Default ContentType="application/octet" Extension="eot"/>
|
||||
<Default ContentType="application/octet" Extension="svg"/>
|
||||
<Default ContentType="application/octet" Extension="ttf"/>
|
||||
<Default ContentType="application/octet" Extension="woff"/>
|
||||
<Default ContentType="application/octet" Extension="jpg"/>
|
||||
<Default ContentType="application/octet" Extension="less"/>
|
||||
<Default ContentType="application/octet" Extension="coffee"/>
|
||||
<Default ContentType="application/octet" Extension="map"/>
|
||||
<Default ContentType="application/octet" Extension="txt"/>
|
||||
<Default ContentType="application/octet" Extension="gif"/>
|
||||
<Default ContentType="application/octet" Extension="markdown"/>
|
||||
<Default ContentType="application/octet" Extension="jade"/>
|
||||
<Default ContentType="application/octet" Extension="sh"/>
|
||||
<Default ContentType="application/octet" Extension="text"/>
|
||||
<Default ContentType="application/octet" Extension="pl"/>
|
||||
<Default ContentType="application/octet" Extension="dphpd"/>
|
||||
<Default ContentType="application/octet" Extension="php"/>
|
||||
<Default ContentType="application/octet" Extension="refine"/>
|
||||
<Default ContentType="application/octet" Extension="wav"/>
|
||||
<Default ContentType="application/octet" Extension="mdown"/>
|
||||
<Default ContentType="application/octet" Extension="bar"/>
|
||||
<Default ContentType="application/octet" Extension="template"/>
|
||||
<Default ContentType="application/octet" Extension="ico"/>
|
||||
<Default ContentType="application/octet" Extension="dll"/>
|
||||
<Default ContentType="application/octet" Extension="pak"/>
|
||||
<Default ContentType="application/octet" Extension="exe"/>
|
||||
<Default ContentType="application/octet" Extension="diff"/>
|
||||
<Default ContentType="text/plain" Extension="shasum"/>
|
||||
<Default ContentType="application/vnd.openxmlformats-package.core-properties+xml" Extension="psmdcp"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/bootstrap/CNAME"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/bootstrap/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/hammerjs/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/iscroll/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/jqBootstrapValidation/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/jquery-ui/MANIFEST"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/page/Makefile"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/bar"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/foo"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/doh/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/doh/README"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/doh/_sounds/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/toUrl/sub/noext"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs-domready/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs-plugins/examples/js/foo"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs-text/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/select2/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/underscore/CNAME"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/underscore/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/underscore/Rakefile"/>
|
||||
</Types>
|
||||
62
test/fixtures/content-types/complex.xml
vendored
Normal file
62
test/fixtures/content-types/complex.xml
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels"/>
|
||||
<Default ContentType="application/octet" Extension="nuspec"/>
|
||||
<Default ContentType="application/octet" Extension="html"/>
|
||||
<Default ContentType="application/octet" Extension="nsi"/>
|
||||
<Default ContentType="application/octet" Extension="css"/>
|
||||
<Default ContentType="application/octet" Extension="otf"/>
|
||||
<Default ContentType="application/octet" Extension="png"/>
|
||||
<Default ContentType="application/octet" Extension="js"/>
|
||||
<Default ContentType="application/octet" Extension="json"/>
|
||||
<Default ContentType="application/octet" Extension="md"/>
|
||||
<Default ContentType="application/octet" Extension="yml"/>
|
||||
<Default ContentType="application/octet" Extension="eot"/>
|
||||
<Default ContentType="application/octet" Extension="svg"/>
|
||||
<Default ContentType="application/octet" Extension="ttf"/>
|
||||
<Default ContentType="application/octet" Extension="woff"/>
|
||||
<Default ContentType="application/octet" Extension="jpg"/>
|
||||
<Default ContentType="application/octet" Extension="less"/>
|
||||
<Default ContentType="application/octet" Extension="coffee"/>
|
||||
<Default ContentType="application/octet" Extension="map"/>
|
||||
<Default ContentType="application/octet" Extension="txt"/>
|
||||
<Default ContentType="application/octet" Extension="gif"/>
|
||||
<Default ContentType="application/octet" Extension="markdown"/>
|
||||
<Default ContentType="application/octet" Extension="jade"/>
|
||||
<Default ContentType="application/octet" Extension="sh"/>
|
||||
<Default ContentType="application/octet" Extension="text"/>
|
||||
<Default ContentType="application/octet" Extension="pl"/>
|
||||
<Default ContentType="application/octet" Extension="dphpd"/>
|
||||
<Default ContentType="application/octet" Extension="php"/>
|
||||
<Default ContentType="application/octet" Extension="refine"/>
|
||||
<Default ContentType="application/octet" Extension="wav"/>
|
||||
<Default ContentType="application/octet" Extension="mdown"/>
|
||||
<Default ContentType="application/octet" Extension="bar"/>
|
||||
<Default ContentType="application/octet" Extension="template"/>
|
||||
<Default ContentType="application/octet" Extension="ico"/>
|
||||
<Default ContentType="application/octet" Extension="dll"/>
|
||||
<Default ContentType="application/octet" Extension="pak"/>
|
||||
<Default ContentType="application/octet" Extension="exe"/>
|
||||
<Default ContentType="application/vnd.openxmlformats-package.core-properties+xml" Extension="psmdcp"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/bootstrap/CNAME"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/bootstrap/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/hammerjs/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/iscroll/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/jqBootstrapValidation/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/jquery-ui/MANIFEST"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/page/Makefile"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/bar"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/foo"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/doh/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/doh/README"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/doh/_sounds/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs/tests/toUrl/sub/noext"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs-domready/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs-plugins/examples/js/foo"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/requirejs-text/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/select2/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/underscore/CNAME"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/underscore/LICENSE"/>
|
||||
<Override ContentType="application/octet" PartName="/Content/frontend/js/library/underscore/Rakefile"/>
|
||||
</Types>
|
||||
Reference in New Issue
Block a user