Ejemplo n.º 1
0
        private void RenderTestList()
        {
            EditorGUILayout.BeginVertical(Styles.testList);
            testListScroll = EditorGUILayout.BeginScrollView(testListScroll,
                                                             GUILayout.ExpandWidth(true),
                                                             GUILayout.MaxWidth(2000));

            if (testLines != null)
            {
                var options = new RenderingOptions();
                options.showSucceeded = showSucceeded;
                options.showFailed    = showFailed;
                options.showIgnored   = showIgnored;
                options.showNotRunned = showNotRun;
                options.nameFilter    = testFilter;
                options.categories    = GetSelectedCategories();

                if (testLines.Render(options))
                {
                    Repaint();
                }
            }

            EditorGUILayout.EndScrollView();
            EditorGUILayout.EndVertical();
        }
Ejemplo n.º 2
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();
 }