@@ -53,6 +53,7 @@ public static PreferenceModel getInstance(final PropertyStorage prefs) {
53
53
private static final String KEY_SHOW_DISABLED_TESTS = "showDisabledTests" ;
54
54
private static final String KEY_SHOW_TEST_DESCRIPTION = "showTestDescription" ;
55
55
private static final String KEY_SYNC_DETAIL_TAB = "syncDetailTab" ;
56
+ private static final String KEY_SHOW_SUITES = "showSuites" ;
56
57
private static final String KEY_TEST_PACKAGE_PREFIX = "testPackagePrefix" ;
57
58
private static final String KEY_TEST_PACKAGE_SUFFIX = "testPackageSuffix" ;
58
59
private static final String KEY_TEST_UNIT_PREFIX = "testUnitPrefix" ;
@@ -88,6 +89,7 @@ public String toString() {
88
89
.append (KEY_SHOW_DISABLED_TESTS , isShowDisabledTests ())
89
90
.append (KEY_SHOW_TEST_DESCRIPTION , isShowTestDescription ())
90
91
.append (KEY_SYNC_DETAIL_TAB , isSyncDetailTab ())
92
+ .append (KEY_SHOW_SUITES , isShowSuites ())
91
93
.append (KEY_TEST_PACKAGE_PREFIX , getTestPackagePrefix ())
92
94
.append (KEY_TEST_PACKAGE_SUFFIX , getTestPackageSuffix ())
93
95
.append (KEY_TEST_UNIT_PREFIX , getTestUnitPrefix ())
@@ -241,6 +243,14 @@ public void setSyncDetailTab(final boolean syncDetailTab) {
241
243
getHashStructure ().putBoolean (KEY_SYNC_DETAIL_TAB , syncDetailTab );
242
244
}
243
245
246
+ public boolean isShowSuites () {
247
+ return getHashStructure ().getBoolean (KEY_SHOW_SUITES , true );
248
+ }
249
+
250
+ public void setShowSuites (final boolean showSuites ) {
251
+ getHashStructure ().putBoolean (KEY_SHOW_SUITES , showSuites );
252
+ }
253
+
244
254
public String getTestPackagePrefix () {
245
255
return getHashStructure ().getString (KEY_TEST_PACKAGE_PREFIX , "test_" );
246
256
}
0 commit comments