示例#1
0
func init() {
	glibi.AssertGlib(&RealGlib{})
	glibi.AssertApplication(&Application{})
	glibi.AssertObject(&Object{})
	glibi.AssertSettings(&settings{})
	glibi.AssertSettingsBackend(&settingsBackend{})
	glibi.AssertSettingsSchema(&settingsSchema{})
	glibi.AssertSettingsSchemaSource(&settingsSchemaSource{})
	glibi.AssertSignal(&signal{})
	glibi.AssertValue(&value{})
}
示例#2
0
func init() {
	glibi.AssertGlib(&Mock{})
	glibi.AssertApplication(&MockApplication{})
	glibi.AssertObject(&MockObject{})
	glibi.AssertSettings(&MockSettings{})
	glibi.AssertSettingsBackend(&MockSettingsBackend{})
	glibi.AssertSettingsSchema(&MockSettingsSchema{})
	glibi.AssertSettingsSchemaSource(&MockSettingsSchemaSource{})
	glibi.AssertSignal(&MockSignal{})
	glibi.AssertValue(&MockValue{})
}