Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
Cleaning up of PR #151
Browse files Browse the repository at this point in the history
* Adding content/source to all platform test projects
  • Loading branch information
rtabbara committed Mar 3, 2015
1 parent 2826162 commit 87b24db
Show file tree
Hide file tree
Showing 20 changed files with 65 additions and 11 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed tests/tests/Content/TileMaps/fixed-ortho-bgtiles.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/tests/classes/tests/TileMapTest/TileMapTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ public override string Title

public class TMXPolylineTest : TileDemo
{
public TMXPolylineTest() : base("TileMaps/orthogonal-test-polylines.tmx")
public TMXPolylineTest() : base("TileMaps/orthogonal-test-polylines")
{
// Polylines render purple
// Polygons render yellow
Expand Down Expand Up @@ -1456,7 +1456,7 @@ public override string Title

public class TMXMultiLayerTest : TileDemo
{
public TMXMultiLayerTest() : base("TileMaps/orthogonal-test-multilayer.tmx")
public TMXMultiLayerTest() : base("TileMaps/orthogonal-test-multilayer")
{
// Background layer should display red circles
}
Expand Down
4 changes: 4 additions & 0 deletions tests/tests/tests.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@
<Compile Include="..\..\Extensions\GUI\CCScrollView\CCTableViewCell.cs">
<Link>Extensions\GUI\CCScrollView\CCTableViewCell.cs</Link>
</Compile>
<Compile Include="classes\tests\TileMapTest\Shapes.cs" />
</ItemGroup>
<ItemGroup>
<AndroidAsset Include="Assets\Content\animations\animations-2.plist.xnb">
Expand Down Expand Up @@ -2046,6 +2047,9 @@
<Link>Assets\Content\TileMaps\iso-test-zorder1.tmx</Link>
</AndroidAsset>
<AndroidAsset Include="Assets\Content\TileMaps\tilemap_no_encoding.xnb" />
<AndroidAsset Include="Assets\Content\TileMaps\fixed-ortho-bgtiles.xnb" />
<AndroidAsset Include="Assets\Content\TileMaps\orthogonal-test-multilayer.xnb" />
<AndroidAsset Include="Assets\Content\TileMaps\orthogonal-test-polylines.xnb" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\Layout\Main.axml" />
Expand Down
4 changes: 4 additions & 0 deletions tests/tests/tests.MacOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,7 @@
</Compile>
<Compile Include="classes\TestNavigationLayer.cs" />
<Compile Include="classes\tests\Physics\PhysicsTest.cs" />
<Compile Include="classes\tests\TileMapTest\Shapes.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="PhoneGameThumb_iPad.png" />
Expand Down Expand Up @@ -2509,6 +2510,9 @@
<Link>Content\TileMaps\iso-test-zorder1.tmx</Link>
</Content>
<Content Include="Content\TileMaps\tilemap_no_encoding.xnb" />
<Content Include="Content\TileMaps\fixed-ortho-bgtiles.xnb" />
<Content Include="Content\TileMaps\orthogonal-test-multilayer.xnb" />
<Content Include="Content\TileMaps\orthogonal-test-polylines.xnb" />
</ItemGroup>
<ItemGroup>
<Compile Include="classes\tests\ExtensionsTest\ControlExtensionTest\CCControlButtonTest\CCControlButtonTest.cs" />
Expand Down
1 change: 1 addition & 0 deletions tests/tests/tests.Ouya.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@
<Compile Include="Classes\tests\TextInputTest\TextInputTestScene.cs" />
<Compile Include="Classes\tests\Texture2dTest\Texture2dTest.cs" />
<Compile Include="Classes\tests\TileMapTest\TileMapTest.cs" />
<Compile Include="classes\tests\TileMapTest\Shape.cs" />
<Compile Include="Classes\tests\TouchesTest\Ball.cs" />
<Compile Include="Classes\tests\TouchesTest\Paddle.cs" />
<Compile Include="Classes\tests\TouchesTest\PongLayer.cs" />
Expand Down
1 change: 1 addition & 0 deletions tests/tests/tests.PSM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1975,6 +1975,7 @@
<Compile Include="classes\tests\TextInputTest\TextInputTestScene.cs" />
<Compile Include="classes\tests\Texture2dTest\Texture2dTest.cs" />
<Compile Include="classes\tests\TileMapTest\TileMapTest.cs" />
<Compile Include="classes\tests\TileMapTest\Shape.cs" />
<Compile Include="classes\tests\TouchesTest\Ball.cs" />
<Compile Include="classes\tests\TouchesTest\Paddle.cs" />
<Compile Include="classes\tests\TouchesTest\PongLayer.cs" />
Expand Down
4 changes: 4 additions & 0 deletions tests/tests/tests.Phone.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,10 @@
<Compile Include="classes\tests\TileMapTest\TileMapTest.cs">
<SubType>Code</SubType>
</Compile>
</Compile>
<Compile Include="classes\tests\TileMapTest\Shape.cs" />
<SubType>Code</SubType>
</Compile>
<Compile Include="classes\tests\TouchesTest\Ball.cs">
<SubType>Code</SubType>
</Compile>
Expand Down
1 change: 1 addition & 0 deletions tests/tests/tests.Windows.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@
<Compile Include="classes\tests\TextInputTest\TextInputTestScene.cs" />
<Compile Include="classes\tests\Texture2dTest\Texture2dTest.cs" />
<Compile Include="classes\tests\TileMapTest\TileMapTest.cs" />
<Compile Include="classes\tests\TileMapTest\Shape.cs" />
<Compile Include="classes\tests\TouchesTest\Ball.cs" />
<Compile Include="classes\tests\TouchesTest\Paddle.cs" />
<Compile Include="classes\tests\TouchesTest\PongLayer.cs" />
Expand Down
1 change: 1 addition & 0 deletions tests/tests/tests.WindowsDX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@
<Compile Include="classes\tests\TextInputTest\TextInputTestScene.cs" />
<Compile Include="classes\tests\Texture2dTest\Texture2dTest.cs" />
<Compile Include="classes\tests\TileMapTest\TileMapTest.cs" />
<Compile Include="classes\tests\TileMapTest\Shape.cs" />
<Compile Include="classes\tests\TouchesTest\Ball.cs" />
<Compile Include="classes\tests\TouchesTest\Paddle.cs" />
<Compile Include="classes\tests\TouchesTest\PongLayer.cs" />
Expand Down
9 changes: 0 additions & 9 deletions tests/tests/tests.WindowsGL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,6 @@
<Link>Content\%(RecursiveDir)%(FileName)%(Extension)</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Content\TileMaps\fixed-ortho-bgtiles.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Game.ico" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -456,12 +453,6 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="app.config" />
<Content Include="Content\TileMaps\orthogonal-test-polylines.tmx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Content\TileMaps\orthogonal-test-multilayer.tmx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="Content\animations\" />
Expand Down
1 change: 1 addition & 0 deletions tests/tests/tests.XBox360.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@
<Compile Include="classes\tests\TextInputTest\TextInputTestScene.cs" />
<Compile Include="classes\tests\Texture2dTest\Texture2dTest.cs" />
<Compile Include="classes\tests\TileMapTest\TileMapTest.cs" />
<Compile Include="classes\tests\TileMapTest\Shape.cs" />
<Compile Include="classes\tests\TouchesTest\Ball.cs" />
<Compile Include="classes\tests\TouchesTest\Paddle.cs" />
<Compile Include="classes\tests\TouchesTest\PongLayer.cs" />
Expand Down
4 changes: 4 additions & 0 deletions tests/tests/tests.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,7 @@
<Compile Include="..\..\Extensions\GUI\CCScrollView\CCTableViewCell.cs">
<Link>Extensions\GUI\CCScrollView\CCTableViewCell.cs</Link>
</Compile>
<Compile Include="classes\tests\TileMapTest\Shapes.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Info.iOS.plist">
Expand Down Expand Up @@ -1230,6 +1231,9 @@
<Link>Content\TileMaps\iso-test-zorder1.tmx</Link>
</Content>
<Content Include="Content\TileMaps\tilemap_no_encoding.xnb" />
<Content Include="Content\TileMaps\fixed-ortho-bgtiles.xnb" />
<Content Include="Content\TileMaps\orthogonal-test-multilayer.xnb" />
<Content Include="Content\TileMaps\orthogonal-test-polylines.xnb" />
</ItemGroup>
<ItemGroup>
<Content Include="Content\animations\animations-2.plist.xnb" />
Expand Down
21 changes: 21 additions & 0 deletions tests/testsContent/testsContent.contentproj
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,27 @@
<Processor>TMXProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="TileMaps\fixed-ortho-bgtiles.png">
<Name>fixed-ortho-bgtiles</Name>
<Importer>TextImporter</Importer>
<Processor>TextProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="TileMaps\orthogonal-test-multilayer.tmx">
<Name>orthogonal-test-multilayer</Name>
<Importer>TMXImporter</Importer>
<Processor>TMXProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="TileMaps\orthogonal-test-polylines.tmx">
<Name>orthogonal-test-polylines</Name>
<Importer>TMXImporter</Importer>
<Processor>TMXProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="TileMaps\orthogonal-test-zorder.tmx">
<Name>orthogonal-test-zorder</Name>
Expand Down
21 changes: 21 additions & 0 deletions tests/testsContent/testsContent.iOS.contentproj
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,27 @@
<Processor>TMXProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="TileMaps\fixed-ortho-bgtiles.png">
<Name>fixed-ortho-bgtiles</Name>
<Importer>TextImporter</Importer>
<Processor>TextProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="TileMaps\orthogonal-test-multilayer.tmx">
<Name>orthogonal-test-multilayer</Name>
<Importer>TMXImporter</Importer>
<Processor>TMXProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="TileMaps\orthogonal-test-polylines.tmx">
<Name>orthogonal-test-polylines</Name>
<Importer>TMXImporter</Importer>
<Processor>TMXProcessor</Processor>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="TileMaps\orthogonal-test-zorder.tmx">
<Name>orthogonal-test-zorder</Name>
Expand Down

0 comments on commit 87b24db

Please sign in to comment.