2024-09-28 00:06:16 +09:00
|
|
|
package dbus
|
|
|
|
|
|
|
|
import "io"
|
|
|
|
|
|
|
|
// CompareTestNew provides TestNew with comparison access to unexported Proxy fields.
|
2024-10-07 16:55:27 +09:00
|
|
|
func (p *Proxy) CompareTestNew(session, system [2]string) bool {
|
|
|
|
return session == p.session && system == p.system
|
2024-09-28 00:06:16 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
// AccessTestProxySeal provides TestProxy_Seal with access to unexported Proxy seal field.
|
|
|
|
func (p *Proxy) AccessTestProxySeal() io.WriterTo {
|
|
|
|
return p.seal
|
|
|
|
}
|