Loading go-apps/meep-loc-serv/server/loc-serv_test.go +2 −2 Original line number Diff line number Diff line Loading @@ -1667,8 +1667,8 @@ func TestAPInfo(t *testing.T) { /****************************** * expected response section ******************************/ expectedConnType := CONTYPE_UNKNOWN expectedOpStatus := OPSTATUS_UNKNOWN expectedConnType := MACRO expectedOpStatus := SERVICEABLE expectedTimeZone := time.Time{} expectedAPInfo := AccessPointInfo{"zone1-poa-cell1", nil, &expectedConnType, &expectedOpStatus, 2, expectedTimeZone, "", ""} Loading go-apps/meep-wais/server/wais.go +3 −2 Original line number Diff line number Diff line Loading @@ -236,7 +236,9 @@ func isUpdateApInfoNeeded(jsonApInfoComplete string, newLong int32, newLat int32 var oldLat int32 = 0 var oldLong int32 = 0 if jsonApInfoComplete != "" { if jsonApInfoComplete == "" { return true } else { apInfoComplete := convertJsonToApInfoComplete(jsonApInfoComplete) oldStaMacIds = apInfoComplete.StaMacIds Loading @@ -258,7 +260,6 @@ func isUpdateApInfoNeeded(jsonApInfoComplete string, newLong int32, newLat int32 //if the list of connected STAs is different return !reflect.DeepEqual(oldStaMacIds, staMacIds) } func updateApInfo(name string, apMacId string, longitude *float32, latitude *float32, staMacIds []string) { Loading Loading
go-apps/meep-loc-serv/server/loc-serv_test.go +2 −2 Original line number Diff line number Diff line Loading @@ -1667,8 +1667,8 @@ func TestAPInfo(t *testing.T) { /****************************** * expected response section ******************************/ expectedConnType := CONTYPE_UNKNOWN expectedOpStatus := OPSTATUS_UNKNOWN expectedConnType := MACRO expectedOpStatus := SERVICEABLE expectedTimeZone := time.Time{} expectedAPInfo := AccessPointInfo{"zone1-poa-cell1", nil, &expectedConnType, &expectedOpStatus, 2, expectedTimeZone, "", ""} Loading
go-apps/meep-wais/server/wais.go +3 −2 Original line number Diff line number Diff line Loading @@ -236,7 +236,9 @@ func isUpdateApInfoNeeded(jsonApInfoComplete string, newLong int32, newLat int32 var oldLat int32 = 0 var oldLong int32 = 0 if jsonApInfoComplete != "" { if jsonApInfoComplete == "" { return true } else { apInfoComplete := convertJsonToApInfoComplete(jsonApInfoComplete) oldStaMacIds = apInfoComplete.StaMacIds Loading @@ -258,7 +260,6 @@ func isUpdateApInfoNeeded(jsonApInfoComplete string, newLong int32, newLat int32 //if the list of connected STAs is different return !reflect.DeepEqual(oldStaMacIds, staMacIds) } func updateApInfo(name string, apMacId string, longitude *float32, latitude *float32, staMacIds []string) { Loading