Clean up the testClient
ClosedPublic

Authored by rizzitello on Mar 22 2018, 7:51 PM.

Details

Summary

Clean up the testClient by placing most of the ui into its own objects.

  • New: CommandWidget
  • New: PrintWidget
  • New: LogWidget
  • New: StatusWidget
  • New: MovementWidget
  • New: Temperature Widget
  • New: SdWidget
Test Plan
  • MoreTesting is always good.

Diff Detail

Repository
R232 AtCore
Branch
widgets
Lint
No Linters Available
Unit
No Unit Test Coverage
rizzitello requested review of this revision.Mar 22 2018, 7:51 PM
rizzitello created this revision.
rizzitello updated this revision to Diff 30247.Mar 22 2018, 8:02 PM
rizzitello edited the test plan for this revision. (Show Details)

few fixes

laysrodrigues requested changes to this revision.Mar 25 2018, 9:10 PM
laysrodrigues added inline comments.
testclient/widgets/statuswidget.h
22

headers in alphabetical order

This revision now requires changes to proceed.Mar 25 2018, 9:10 PM
  • lays suggestion
rizzitello marked an inline comment as done.Mar 25 2018, 10:52 PM
laysrodrigues requested changes to this revision.Mar 26 2018, 12:21 AM
laysrodrigues added inline comments.
testclient/mainwindow.h
34

headers in alphabetical order sd before st (sorry for missing this one)

This revision now requires changes to proceed.Mar 26 2018, 12:21 AM
rizzitello updated this revision to Diff 30580.Mar 26 2018, 3:28 AM
  • New: SdWidget
rizzitello marked an inline comment as done.Mar 26 2018, 3:28 AM
tcanabrava added inline comments.Mar 26 2018, 10:48 AM
testclient/widgets/temperaturewidget.cpp
84
91

no int by ref.

testclient/widgets/temperaturewidget.h
40–42

don't pass by ref integers.

rizzitello marked 3 inline comments as done.Mar 26 2018, 7:40 PM
rizzitello updated this revision to Diff 30655.Mar 26 2018, 7:41 PM
  • Remove int referances
rizzitello updated this revision to Diff 30662.Mar 26 2018, 8:59 PM
  • Safer lambdas
laysrodrigues accepted this revision.Mar 27 2018, 2:58 AM
This revision is now accepted and ready to land.Mar 27 2018, 2:58 AM
rizzitello closed this revision.Mar 27 2018, 7:52 PM