14 lines
392 B
Go
14 lines
392 B
Go
package dbus
|
|
|
|
import "io"
|
|
|
|
// CompareTestNew provides TestNew with comparison access to unexported Proxy fields.
|
|
func (p *Proxy) CompareTestNew(session, system [2]string) bool {
|
|
return session == p.session && system == p.system
|
|
}
|
|
|
|
// AccessTestProxySeal provides TestProxy_Seal with access to unexported Proxy seal field.
|
|
func (p *Proxy) AccessTestProxySeal() io.WriterTo {
|
|
return p.seal
|
|
}
|