MCPcopy Create free account
hub / github.com/code-scan/Goal / TestQuake

Function TestQuake

tests/sensor_test.go:161–172  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

159 log.Println(ret)
160}
161func TestQuake(t *testing.T) {
162 quake := Gsensor.Quake{}
163 quake.SetPassword("40fc40e2-ff0a-4487-8e7e-a833ba9291b1")
164 quake.SetAccount("as")
165 quake.SetType("subdomain")
166 quake.SetDomain("wintopay.com")
167 log.Println(quake.GetResult())
168 log.Println("========")
169 quake.SetDomain("104.26.0.174")
170 quake.SetType("sameserver")
171 log.Println(quake.GetResult())
172}
173
174// func TestSub(t *testing.T) {
175// log.SetFlags(log.Lshortfile | log.LstdFlags)

Callers

nothing calls this directly

Calls 5

SetPasswordMethod · 0.95
SetAccountMethod · 0.95
SetTypeMethod · 0.95
SetDomainMethod · 0.95
GetResultMethod · 0.95

Tested by

no test coverage detected