Esempio n. 1
0
 private void RenderTestList()
 {
     EditorGUILayout.BeginVertical(Styles.testList);
     m_TestListScroll = EditorGUILayout.BeginScrollView(m_TestListScroll,
                                                        GUILayout.ExpandWidth(true),
                                                        GUILayout.MaxWidth(2000));
     if (m_TestLines != null)
     {
         if (m_TestLines.Render(m_FilterSettings.BuildRenderingOptions()))
         {
             Repaint();
         }
     }
     EditorGUILayout.EndScrollView();
     EditorGUILayout.EndVertical();
 }
        private bool PrintTestList(IntegrationTestRendererBase[] renderedLines)
        {
            if (renderedLines == null)
            {
                return(false);
            }

            var filter = m_FilterSettings.BuildRenderingOptions();

            bool repaint = false;

            foreach (var renderedLine in renderedLines)
            {
                repaint |= renderedLine.Render(filter);
            }
            return(repaint);
        }