Changeset 16711 for branches/2936_GQAPIntegration/HeuristicLab.Tests/HeuristicLab-3.3/ContentViewTests.cs
- Timestamp:
- 03/25/19 17:18:21 (5 years ago)
- Location:
- branches/2936_GQAPIntegration/HeuristicLab.Tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2936_GQAPIntegration/HeuristicLab.Tests
- Property svn:mergeinfo changed
-
branches/2936_GQAPIntegration/HeuristicLab.Tests/HeuristicLab-3.3/ContentViewTests.cs
r15583 r16711 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.MainForm; 26 using HeuristicLab.MainForm.WindowsForms;27 26 using HeuristicLab.PluginInfrastructure; 28 27 using Microsoft.VisualStudio.TestTools.UnitTesting; … … 38 37 //get all non-generic and instantiable classes which implement IContentView 39 38 foreach (Type viewType in ApplicationManager.Manager.GetTypes(typeof(IContentView))) { 39 // jkarder: skip this test for the SymbolicDataAnalysisModelMathView (and for views that derive from it) 40 // reason: our new build agent cannot create an instance of this view due to the use of System.Windows.Forms.WebBrowser 41 if (typeof(HeuristicLab.Problems.DataAnalysis.Symbolic.Views.SymbolicDataAnalysisModelMathView).IsAssignableFrom(viewType)) 42 continue; 43 40 44 //get all ContentAttributes on the instantiable view 41 45 foreach (ContentAttribute attribute in viewType.GetCustomAttributes(typeof(ContentAttribute), false).Cast<ContentAttribute>()) { … … 48 52 try { 49 53 accessor.Invoke("OnContentChanged"); 50 } 51 catch (Exception ex) { 54 } catch (Exception ex) { 52 55 Assert.Fail(viewType.ToString() + Environment.NewLine + ex.Message); 53 56 }
Note: See TracChangeset
for help on using the changeset viewer.