Commit graph

424 commits

Author SHA1 Message Date
eb9f5bc69f Merge branch '82-smartPlug-controller' into 'dev'
added RangeTriggerControllerTests

Closes #82

See merge request sa4-2020/the-sanmarinoes/backend!185
2020-05-25 11:34:49 +02:00
omenem
3fec9ccd20 added missing tests 2020-05-25 11:33:35 +02:00
1be860b989 Merge branch 'tests' into 'dev'
Fixes

See merge request sa4-2020/the-sanmarinoes/backend!183
2020-05-25 11:27:50 +02:00
Claudio Maggioni (maggicl)
48942ee8c2 Fixes 2020-05-25 11:27:34 +02:00
omenem
63c4981da7 added scenePriorityControllerTests 2020-05-25 11:20:52 +02:00
omenem
ea0361c384 added missing tests in scenePriority 2020-05-25 10:40:43 +02:00
Claudio Maggioni (maggicl)
00f2442397 Fixes 2020-05-25 00:14:14 +02:00
Claudio Maggioni (maggicl)
710c7666dd Fixes 2020-05-24 23:42:47 +02:00
Claudio Maggioni (maggicl)
fe45151dd1 Fixes 2020-05-24 23:10:16 +02:00
Jacob Salvi
b3f24b7df3 added RangeTriggerControllerTests 2020-05-24 22:50:16 +02:00
2372d51efc Merge branch '83-dimmablelightcontrollertests' into 'dev'
Resolve "DimmableLightControllerTests"

Closes #83

See merge request sa4-2020/the-sanmarinoes/backend!178
2020-05-24 22:42:24 +02:00
12c65ed12f Merge branch '80-regularlightcontroller-tests' into 'dev'
Resolve "RegularLightController Tests"

Closes #80

See merge request sa4-2020/the-sanmarinoes/backend!176
2020-05-24 22:37:52 +02:00
Claudio Maggioni (maggicl)
f00850edd9 Fixes 2020-05-24 22:31:32 +02:00
Claudio Maggioni (maggicl)
4253e65241 Fixes 2020-05-24 22:27:00 +02:00
Jacob Salvi
7b05718286 added ThermostatConditionControllerTests 2020-05-24 22:23:07 +02:00
Claudio Maggioni (maggicl)
ff51edc112 Merge branch '80-regularlightcontroller-tests' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into 80-regularlightcontroller-tests 2020-05-24 22:20:38 +02:00
Jacob Salvi
d25bcf3507 added RangeConditionControllerTests 2020-05-24 18:11:22 +02:00
Jacob Salvi
86ca38cd47 added a couple of tests to smartPlugControllerTests 2020-05-24 17:42:53 +02:00
omenem
d57a218fc9 WIP 2020-05-24 15:04:17 +02:00
omenem
bb9ccd2d6d WIP 2020-05-24 15:01:23 +02:00
omenem
ea8ac95b7a WIP 2020-05-24 14:55:59 +02:00
omenem
7652610c5d I can't mock a method 2020-05-24 14:16:07 +02:00
Claudio Maggioni (maggicl)
838aaf93ee Code smells fix 2020-05-24 12:31:39 +02:00
Claudio Maggioni (maggicl)
2f9585bd20 Code smells fix 2020-05-24 12:18:28 +02:00
Claudio Maggioni (maggicl)
d63ec73127 Code smells fix 2020-05-23 23:40:01 +02:00
Claudio Maggioni (maggicl)
3fc5d9bfcb Code smells fix 2020-05-23 23:29:49 +02:00
Claudio Maggioni (maggicl)
79df130868 Code smells fix 2020-05-23 23:23:24 +02:00
e7d69457e4 Merge branch '82-securitycameracontrollertests' into 'dev'
Resolve "securityCameraControllerTests"

See merge request sa4-2020/the-sanmarinoes/backend!170
2020-05-23 22:51:34 +02:00
Jacob Salvi
6dedf59332 added a couple of tests to guestcontrollertests 2020-05-23 19:46:35 +02:00
Claudio Maggioni (maggicl)
5308ddec6f Some tests on SceneServiceTests 2020-05-23 19:08:40 +02:00
Jacob Salvi
5dd4dfec2c test for curtains controller 2020-05-23 18:45:57 +02:00
Claudio Maggioni (maggicl)
2f9bdd4a59 Tests on AuthenticationController 2020-05-23 18:36:35 +02:00
Jacob Salvi
608e1eda04 Merge remote-tracking branch 'origin/82-securitycameracontrollertests' into 82-securitycameracontrollertests 2020-05-23 18:24:48 +02:00
Jacob Salvi
cae11d44ad test for security camera 2020-05-23 18:20:34 +02:00
1dc37cca4b Merge branch '81-guestcontroller-test' into 'dev'
Resolve "GuestController test"

Closes #81

See merge request sa4-2020/the-sanmarinoes/backend!161
2020-05-23 17:54:49 +02:00
Claudio Maggioni (maggicl)
6abedac3cc It wasn't, but now it is 2020-05-23 17:50:39 +02:00
Claudio Maggioni (maggicl)
a8c76c03e0 Tests on SceneController 2020-05-23 15:58:09 +02:00
Claudio Maggioni (maggicl)
733b4639fa Tests on ThermostatService 2020-05-23 15:18:48 +02:00
Claudio Maggioni (maggicl)
84767b1793 Tests on UserAccountController 2020-05-23 14:53:10 +02:00
5c2ee4c55f assertion error should be fixed 2020-05-22 14:44:59 +02:00
b1343bbd40 trying to fix nullpointerexception 2020-05-22 14:35:36 +02:00
64007d1b5c tests done so far should be fixed 2020-05-22 14:29:17 +02:00
67b2c3ae4f findguests should be tested and imports should be fixed 2020-05-22 13:23:14 +02:00
420fed7f88 findall and findhosts should be tested in guestcontroller 2020-05-22 13:18:30 +02:00
2450a11b6e Merge branch '79-input-device-connection-controller-tests' into 'dev'
Resolve "Input device connection controller tests"

See merge request sa4-2020/the-sanmarinoes/backend!164
2020-05-21 23:35:07 +02:00
7161760f1f Merge branch 'tests' into 'dev'
Started tests on UserAccountController

See merge request sa4-2020/the-sanmarinoes/backend!163
2020-05-21 23:33:03 +02:00
Claudio Maggioni (maggicl)
37af69c7a7 Started tests on UserAccountController 2020-05-21 23:32:48 +02:00
0ec649607e Merge branch 'tests' into 'dev'
Tests

See merge request sa4-2020/the-sanmarinoes/backend!162
2020-05-21 22:04:02 +02:00
Claudio Maggioni (maggicl)
1a289f6800 Fixed some code smells 2020-05-21 22:03:38 +02:00
Claudio Maggioni (maggicl)
58a8b939fa Finished tests on DevicePropagationService 2020-05-21 21:46:29 +02:00
Jacob Salvi
859a9fb53e made 3 tests 2020-05-21 20:53:36 +02:00
Jacob Salvi
2f52be137f it took me a lot of time but i managed to make to KnobDimmer tests,
now that I kinda understand mockito the next tests should take considerably
less time
2020-05-21 15:47:13 +02:00
Matteo Omenetti
7a8524c15e Merge branch '78-thermostatcontrollertest' into 'dev'
Test for ThermostatController

Closes #78

See merge request sa4-2020/the-sanmarinoes/backend!160
2020-05-21 11:13:21 +02:00
omenem
7519212ddc Test for ThermostatController 2020-05-21 11:10:12 +02:00
Claudio Maggioni (maggicl)
ae10998c98 Some tests on DevicePropagationService 2020-05-20 16:39:44 +02:00
Claudio Maggioni (maggicl)
5c90428fca done SensorSocketEndpointTests 2020-05-20 11:49:54 +02:00
Claudio Maggioni (maggicl)
f534665bdb WIP on SensorSocketEndpointTests 2020-05-20 11:35:25 +02:00
Claudio Maggioni (maggicl)
03bd220781 WIP on SensorSocketEndpointTests 2020-05-20 11:10:05 +02:00
Claudio Maggioni (maggicl)
4b96820d36 Tested Automation FastUpdate 2020-05-20 10:14:17 +02:00
Claudio Maggioni (maggicl)
c2ecf0d0dc Reorganized tests 2020-05-19 19:38:33 +02:00
Claudio Maggioni (maggicl)
7f1655a0fe Some tests on DevicePropagationService 2020-05-19 19:13:51 +02:00
Claudio Maggioni (maggicl)
6b3886ccb1 Added basic tests to SmartPlugController 2020-05-19 18:38:31 +02:00
Claudio Maggioni (maggicl)
76e5bed119 Added basic tests to SceneController 2020-05-19 18:06:48 +02:00
Claudio Maggioni (maggicl)
fc6c1e7492 Added basic tests to RoomController 2020-05-19 17:34:12 +02:00
Claudio Maggioni (maggicl)
294cdc9a5d Added basic tests to AutomationController 2020-05-19 17:12:16 +02:00
omenem
77e9b1f0c6 fix 2020-05-19 15:52:03 +02:00
Claudio Maggioni (maggicl)
016c9f563e Added DeviceService tests possibly breaking everything 2020-05-19 14:35:51 +02:00
4fde95231b fixed stuff 2020-05-18 17:58:38 +02:00
Claudio Maggioni (maggicl)
0b1ff0f71e More tests 2020-05-18 13:16:34 +02:00
08565bbc42 Merge branch 'tests' into 'dev'
Tests

See merge request sa4-2020/the-sanmarinoes/backend!147
2020-05-18 12:20:59 +02:00
Claudio Maggioni (maggicl)
319206334e Partial tests on DeviceService 2020-05-18 12:20:34 +02:00
Jacob Salvi
266fc3af9e fixed sensorsaverequest 2020-05-18 11:58:33 +02:00
Claudio Maggioni (maggicl)
be5ab5b4b3 Fixed lombok 2020-05-18 11:54:08 +02:00
Claudio Maggioni (maggicl)
0ce873dc52 Working on DeviceService tests 2020-05-18 10:52:58 +02:00
Jacob Salvi
0151467b2e Merge branch 'dev' into '75-backend-unit-testing'
# Conflicts:
#   src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/UserResponseTests.java
2020-05-17 15:28:14 +02:00
Jacob Salvi
00452d5295 made a couple of tests 2020-05-17 15:20:14 +02:00
Claudio Maggioni (maggicl)
eeec726966 Tests on Utils and UserResponse 2020-05-17 13:56:54 +02:00
Claudio Maggioni (maggicl)
4e35aa4a75 Tests on exception classes 2020-05-17 13:26:51 +02:00
7b606307df Merge branch '75-backend-unit-testing-tommaso' into 'dev'
Resolve "backend-unit-testing"

Closes #75

See merge request sa4-2020/the-sanmarinoes/backend!143
2020-05-17 12:52:37 +02:00
Claudio Maggioni (maggicl)
bc7b30f3ea Fixed lombok in AutomationFastUpdateRequest 2020-05-17 12:49:40 +02:00
fdef45b8c2 Merge branch '75-backend-unit-testing' into 'dev'
Resolve "backend-unit-testing"

Closes #75

See merge request sa4-2020/the-sanmarinoes/backend!142
2020-05-17 12:34:58 +02:00
omenem
c5b3a57faa fix 2020-05-17 11:52:37 +02:00
omenem
940c072711 fix 2020-05-17 11:33:30 +02:00
omenem
0ce6e84380 fix 2020-05-17 11:26:49 +02:00
omenem
dd1d59a095 fix 2020-05-17 11:13:50 +02:00
omenem
198be1f668 more tests 2020-05-17 10:16:12 +02:00
omenem
3f568c77d3 more tests 2020-05-16 18:00:28 +02:00
omenem
7020f0d692 fix 2020-05-15 19:01:28 +02:00
omenem
3d9ddb5ffd some tests 2020-05-15 18:52:57 +02:00
3dcfa584f0 made some fields private 2020-05-14 21:02:49 +02:00
368530de97 automation dto should be tested 2020-05-14 19:00:07 +02:00
Claudio Maggioni (maggicl)
3ed6102b9f Added example tests for SensorController 2020-05-13 12:10:06 +02:00
Jacob Salvi
b4bf15583a a couple of tests 2020-05-13 09:42:36 +02:00
acec5a0af8 Degenerified states 2020-05-12 18:32:23 +02:00
6223434979 Removed duplication 2020-05-12 17:20:19 +02:00
0d10d759a6 Removed @NotNull from models 2020-05-12 17:14:25 +02:00
582f44581b More lombok-ification 2020-05-12 16:59:46 +02:00
3bb008517a Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into sonar-fix 2020-05-12 15:46:23 +02:00
87df96760d Added lombok and converted DTOs 2020-05-12 15:44:32 +02:00
Jacob Salvi
c614f96b31 Merge remote-tracking branch 'origin/dev' into dev 2020-05-10 21:54:18 +02:00