diff options
author | Manish Sinha <manish.sinha@xamarin.com> | 2015-09-25 20:55:59 +0300 |
---|---|---|
committer | Manish Sinha <manish.sinha@xamarin.com> | 2015-09-25 20:55:59 +0300 |
commit | 171b696be9332dba48f4ab907b61548dd709a5d9 (patch) | |
tree | 751c25b6c29724004f8ff0ac6ef7712d5a9ff300 /main/tests/UserInterfaceTests/TemplateTestOptions.cs | |
parent | cb34ff29a473e7317ab8443029b44536cb9a7307 (diff) |
[UITest] Add BuildTimeout in ProjectDetails as some templates take more time to build than others
Android Wear takes way more time, so hardcoding time for all
templates of one Category is not a sensible way to go. The
timeout should be associated with each template
Diffstat (limited to 'main/tests/UserInterfaceTests/TemplateTestOptions.cs')
-rw-r--r-- | main/tests/UserInterfaceTests/TemplateTestOptions.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/tests/UserInterfaceTests/TemplateTestOptions.cs b/main/tests/UserInterfaceTests/TemplateTestOptions.cs index fc8930e7e0..1f34a95099 100644 --- a/main/tests/UserInterfaceTests/TemplateTestOptions.cs +++ b/main/tests/UserInterfaceTests/TemplateTestOptions.cs @@ -96,6 +96,7 @@ namespace UserInterfaceTests { ProjectName = CreateBuildTemplatesTestBase.GenerateProjectName (templateData.TemplateKind); SolutionName = ProjectName; + BuildTimeout = TimeSpan.FromSeconds (180); } public static ProjectDetails ToExistingSolution (string solutionName, string projectName) @@ -118,6 +119,8 @@ namespace UserInterfaceTests public bool AddProjectToExistingSolution { get; set; } + public TimeSpan BuildTimeout { get; set; } + public override string ToString () { return string.Format ("ProjectName={0}, SolutionName={1}, SolutionLocation={2}, ProjectInSolution={3}, AddProjectToExistingSolution={4}", |