Browse files

Update test mocks and project files

  • Loading branch information...
1 parent d2792d2 commit 16847caad2f80e76bedb5641bd81f622ee5e8074 @absurdhero committed Jul 2, 2012
Showing with 18 additions and 3 deletions.
  1. +2 −0 Assembly-CSharp.csproj
  2. +0 −1 Assets/Scripts/Scenes/SceneTwelve.cs
  3. +4 −0 MockUnity/Mathf.cs
  4. +1 −0 MockUnity/Texture2D.cs
  5. +10 −1 Tests/Tests.csproj
  6. +1 −1 tmotmo.sln
View
2 Assembly-CSharp.csproj
@@ -72,13 +72,15 @@
<Compile Include="Assets\Scripts\Scenes\SceneSeven.cs" />
<Compile Include="Assets\Scripts\Scenes\SceneSix.cs" />
<Compile Include="Assets\Scripts\Scenes\SceneTen.cs" />
+ <Compile Include="Assets\Scripts\Scenes\SceneThirteen.cs" />
<Compile Include="Assets\Scripts\Scenes\SceneThree.cs" />
<Compile Include="Assets\Scripts\Scenes\SceneTwelve.cs" />
<Compile Include="Assets\Scripts\Scenes\SceneTwo.cs" />
<Compile Include="Assets\Scripts\Scenes\TitleScene.cs" />
<Compile Include="Assets\Scripts\Sounds.cs" />
<Compile Include="Assets\Scripts\SpeechBubble.cs" />
<Compile Include="Assets\Scripts\Sprite.cs" />
+ <Compile Include="Assets\Scripts\TouchSensor.cs" />
<Compile Include="Assets\Scripts\UnityInput.cs" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Particle Shaders\Mobile Multiply Culled.shader" />
<None Include="Assets\Standard Assets (Mobile)\Shaders\Miscellaneous Shaders\Mobile Background.shader" />
View
1 Assets/Scripts/Scenes/SceneTwelve.cs
@@ -30,7 +30,6 @@ public class SceneTwelve : Scene {
topHand.setScreenPosition(150, 66);
bottomArm = Sprite.create(this, "hand_base");
- bottomArm = bottomArm.GetComponent<Sprite>();
bottomArm.setScreenPosition(120, -20);
bottomArm.setDepth(0);
View
4 MockUnity/Mathf.cs
@@ -7,6 +7,10 @@ public static class Mathf
public static float Round (float f) {
throw new NotImplementedException();
}
+
+ public static int Min (int a, int b) {
+ throw new NotImplementedException();
+ }
}
}
View
1 MockUnity/Texture2D.cs
@@ -32,6 +32,7 @@ public interface Texture2D : Texture
// Properties
int mipmapCount { get; }
+ string name { get; }
//TextureFormat format { get; }
}
View
11 Tests/Tests.csproj
@@ -137,6 +137,15 @@
<Compile Include="..\Assets\Scripts\Scenes\SceneTwelve.cs">
<Link>Scenes\SceneTwelve.cs</Link>
</Compile>
+ <Compile Include="..\Assets\Scripts\Dragger.cs">
+ <Link>Dragger.cs</Link>
+ </Compile>
+ <Compile Include="..\Assets\Scripts\TouchSensor.cs">
+ <Link>TouchSensor.cs</Link>
+ </Compile>
+ <Compile Include="..\Assets\Scripts\Scenes\SceneThirteen.cs">
+ <Link>Scenes\SceneThirteen.cs</Link>
+ </Compile>
</ItemGroup>
<ItemGroup>
<Reference Include="nunit.core, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />
@@ -151,4 +160,4 @@
<Name>MockUnity</Name>
</ProjectReference>
</ItemGroup>
-</Project>
+</Project>
View
2 tmotmo.sln
@@ -17,7 +17,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
- GlobalSection(MonoDevelopProperties) = preSolution
+ GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Assembly-CSharp.csproj
Policies = $0
$0.DotNetNamingPolicy = $1

0 comments on commit 16847ca

Please sign in to comment.