aboutsummaryrefslogtreecommitdiffhomepage
path: root/dbus/export_test.go
blob: dff02412f3ccf9416d9e0f20fa38f197d430338e (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(path string, session, system [2]string) bool {
	return path == p.path && 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
}