private SA_TestConfig DrawTestListItem(Rect pos, SA_TestConfig itemValue) { /* * if(itemValue == null) { * return itemValue; * } * * int toggleWidth = 60; * * var toggleRect = new Rect(pos); * toggleRect.width = toggleWidth; * itemValue.StopsNextTestsIfFail = EditorGUI.Toggle(toggleRect, "Stop", itemValue.StopsNextTestsIfFail); * * * var classRect = new Rect(pos); * classRect.width -= toggleWidth; * classRect.x += toggleWidth; */ string path = GetTestReferencePropertyPath(itemValue.TestReference); if (!string.IsNullOrEmpty(path)) { SerializedProperty p = TestSuiteConfigSerialized.FindProperty(path); if (p != null) { EditorGUI.PropertyField(pos, p, new GUIContent(string.Empty)); } } ListIndex++; return(itemValue); }
public SA_SingleTestRunner(SA_TestConfig testConfig) { m_testConfig = testConfig; }