Constructors of abstract classes should not be public

This commit is contained in:
Rico Tzschichholz 2019-03-14 16:59:24 +01:00 committed by Michael James Gratton
parent a68cf8e029
commit e09475e81d
18 changed files with 31 additions and 31 deletions

View file

@ -13,7 +13,7 @@ public abstract class ClientWebViewTestCase<V> : TestCase {
protected V? test_view = null;
protected Configuration? config = null;
public ClientWebViewTestCase(string name) {
protected ClientWebViewTestCase(string name) {
base(name);
this.config = new Configuration(GearyApplication.APP_ID);
ClientWebView.init_web_context(

View file

@ -213,7 +213,7 @@ public abstract class TestCase : Object {
public delegate void TestMethod() throws Error;
public TestCase(string name) {
protected TestCase(string name) {
this.suite = new GLib.TestSuite(name);
}