aboutsummaryrefslogtreecommitdiffhomepage
path: root/dbus/export_test.go
blob: d42fde5171fe051b7e3af292c8f45c0229caf9c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}