Ejemplo n.º 1
0
		public void CheckRebuildableApp()
		{
			var appInfo = new WP7AppInfo("MockApp.zip", Guid.Empty, DateTime.Now)
			{
				SolutionFilePath = "App.sln"
			};
			Assert.IsTrue(appInfo.IsSolutionPathAvailable);
		}
Ejemplo n.º 2
0
		public void CheckValuesOfSimpleAppInfo()
		{
			var appInfo = new WP7AppInfo("MockApp.zip", Guid.Empty, DateTime.Now);
			Assert.AreEqual("MockApp.zip", appInfo.FilePath);
			Assert.AreEqual("MockApp", appInfo.Name);
			Assert.AreEqual(PlatformName.WindowsPhone7, appInfo.Platform);
			Assert.IsFalse(appInfo.IsSolutionPathAvailable);
		}
Ejemplo n.º 3
0
		public void GetFullAppNameForNonAndroidApp()
		{
			var otherPlatfromApp = new WP7AppInfo(@"C:\Fake\MockApp.xap", Guid.Empty, DateTime.Now);
			string fullAppName = otherPlatfromApp.GetFullAppNameForEngineApp();
			Assert.IsFalse(fullAppName.Contains("DeltaEngine"), fullAppName);
		}