public void GetFullAppNameForAndroidApp() { var androidApp = new AndroidAppInfo(@"C:\Fake\MockApp.apk", Guid.Empty, DateTime.Now); string fullAppName = androidApp.GetFullAppNameForEngineApp(); Assert.IsTrue(fullAppName.Contains("DeltaEngine"), fullAppName); }
public void CheckRebuildableApp() { var appInfo = new AndroidAppInfo("MockApp.zip", Guid.Empty, DateTime.Now) { SolutionFilePath = "App.sln" }; Assert.IsTrue(appInfo.IsSolutionPathAvailable); }
public void CheckValuesOfSimpleAppInfo() { var appInfo = new AndroidAppInfo("MockApp.apk", Guid.Empty, DateTime.Now); Assert.AreEqual("MockApp.apk", appInfo.FilePath); Assert.AreEqual("MockApp", appInfo.Name); Assert.AreEqual(PlatformName.Android, appInfo.Platform); Assert.IsFalse(appInfo.IsSolutionPathAvailable); }