@@ -46,6 +46,8 @@ class PreferenceModel extends HashStructureAdapter {
46
46
static final String KEY_SHOW_INFO_COUNTER = " showInfoCounter"
47
47
static final String KEY_SHOW_WARNING_INDICATOR = " showWarningIndicator"
48
48
static final String KEY_SHOW_INFO_INDICATOR = " showInfoIndicator"
49
+ static final String KEY_SHOW_SUCCESSFUL_TESTS = " showSuccessfulTests"
50
+ static final String KEY_SHOW_DISABLED_TESTS = " showDisabledTests"
49
51
static final String KEY_SHOW_TEST_DESCRIPTION = " showTestDescription"
50
52
static final String KEY_SYNC_DETAIL_TAB = " syncDetailTab"
51
53
static final String KEY_TEST_PACKAGE_PREFIX = " testPackagePrefix"
@@ -166,6 +168,22 @@ class PreferenceModel extends HashStructureAdapter {
166
168
def setShowInfoIndicator (boolean showInfoIndicator ) {
167
169
getHashStructure. putBoolean(PreferenceModel . KEY_SHOW_INFO_INDICATOR , showInfoIndicator)
168
170
}
171
+
172
+ def isShowSuccessfulTests () {
173
+ return getHashStructure. getBoolean(PreferenceModel . KEY_SHOW_SUCCESSFUL_TESTS , true )
174
+ }
175
+
176
+ def setShowSuccessfulTests (boolean showSuccessfulTests ) {
177
+ getHashStructure. putBoolean(PreferenceModel . KEY_SHOW_SUCCESSFUL_TESTS , showSuccessfulTests)
178
+ }
179
+
180
+ def isShowDisabledTests () {
181
+ return getHashStructure. getBoolean(PreferenceModel . KEY_SHOW_DISABLED_TESTS , true )
182
+ }
183
+
184
+ def setShowDisabledTests (boolean showDisabledTests ) {
185
+ getHashStructure. putBoolean(PreferenceModel . KEY_SHOW_DISABLED_TESTS , showDisabledTests)
186
+ }
169
187
170
188
def isShowTestDescription () {
171
189
return getHashStructure. getBoolean(PreferenceModel . KEY_SHOW_TEST_DESCRIPTION , false )
0 commit comments