Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/01/19 19:21:36 (5 years ago)
Author:
gkronber
Message:

#2994: merged r16670:16737 from trunk to branch

Location:
branches/2994-AutoDiffForIntervals
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2994-AutoDiffForIntervals

  • branches/2994-AutoDiffForIntervals/HeuristicLab.Tests

  • branches/2994-AutoDiffForIntervals/HeuristicLab.Tests/HeuristicLab-3.3/ContentViewTests.cs

    r16565 r16739  
    2424using HeuristicLab.Common;
    2525using HeuristicLab.MainForm;
    26 using HeuristicLab.MainForm.WindowsForms;
    2726using HeuristicLab.PluginInfrastructure;
    2827using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    3837      //get all non-generic and instantiable classes which implement IContentView
    3938      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
    4044        //get all ContentAttributes on the instantiable view
    4145        foreach (ContentAttribute attribute in viewType.GetCustomAttributes(typeof(ContentAttribute), false).Cast<ContentAttribute>()) {
     
    4852        try {
    4953          accessor.Invoke("OnContentChanged");
    50         }
    51         catch (Exception ex) {
     54        } catch (Exception ex) {
    5255          Assert.Fail(viewType.ToString() + Environment.NewLine + ex.Message);
    5356        }
Note: See TracChangeset for help on using the changeset viewer.