Implement ListJobs in Controller with tests 67/162367/2
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Thu, 30 Nov 2017 12:02:00 +0000 (13:02 +0100)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Mon, 4 Dec 2017 10:01:24 +0000 (11:01 +0100)
commit33334ae71355e41e8050a56933f0f4f4977127ba
treea4a9bf63578ebbd593286a7ab24cd65b99f1a03f
parent149c8b8f345fb6620b0ac14d710ea10ce0e40071
Implement ListJobs in Controller with tests

Implementation enhances JobsController interface and implementation.
The mockup of JobsController is regenerated using:
    mockgen -source=controller/jobscontroller.go \
        -destination=controller/mock/jobscontroller.go \
        -package mock \
        -imports ".=git.tizen.org/tools/weles"

Tests for both JobsControllerImpl and Controller are updated.

Change-Id: Ie30234ac754d19616ce2811e3f30a6834d28e296
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
controller/controller.go
controller/controller_test.go
controller/jobscontroller.go
controller/jobscontrollerimpl.go
controller/jobscontrollerimpl_test.go
controller/mock/jobscontroller.go