Commit Graph

135 Commits

Author SHA1 Message Date
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
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
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
Jacob Salvi
c614f96b31 Merge remote-tracking branch 'origin/dev' into dev 2020-05-10 21:54:18 +02:00
Jacob Salvi
1b22534f40 room and thermostat tests 2020-05-10 15:17:27 +02:00
Claudio Maggioni (maggicl)
b64979500b Even another batch of sonar fixes 2020-05-10 12:39:18 +02:00
Claudio Maggioni (maggicl)
483a42b1e0 Even another batch of sonar fixes 2020-05-10 00:38:13 +02:00
5d4aea2e56 Sonarqube fixes to tests 2020-05-09 19:16:23 +02:00
Claudio Maggioni (maggicl)
c8ebd8f917 WIP on error fixing for sonarqube code smells and vulnerabilities check 2020-05-07 10:33:20 +02:00
Claudio Maggioni (maggicl)
ff5dadd128 fixed tests 2020-04-16 18:34:17 +02:00
Claudio Maggioni (maggicl)
cde88f2ca9 Added new hierarchy for dimmable devices and removed duplications in controllers and dtos 2020-04-16 18:28:33 +02:00
d964f8846f Code review for Curtains 2020-04-15 16:38:02 +02:00
Jacob Salvi
7f34e2b391 Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into 51-users-can-add-smart-curtains-blinds
# Conflicts:
#	.gitlab-ci.yml
2020-04-09 14:27:12 +02:00
Jacob Salvi
290927ff1f Added curtains 2020-04-09 14:07:41 +02:00
Jacob Salvi
bdf0f87d77 Added curtains 2020-04-09 13:41:58 +02:00
Matteo Omenetti
300f749144 Merge branch '35-test-models' into 'dev'
Resolve "Test Models"

Closes #35

See merge request sa4-2020/the-sanmarinoes/backend!43
2020-03-18 12:15:14 +01:00
omenem
ce0edd7287 KnobDimmer Tests 2020-03-17 17:45:50 +01:00
Jacob Salvi
5e7bd298de Added some tests for Regular Light and for Switch 2020-03-17 17:44:57 +01:00
omenem
fe911d492f small changes 2020-03-17 15:10:49 +01:00
omenem
207e80c5f9 Tests for DimmableLight 2020-03-17 14:34:17 +01:00
omenem
25c077dd04 Tests for ButtonDimmer 2020-03-17 14:09:20 +01:00
24fa574c63 Added email confirmation test 2020-03-15 15:06:46 +01:00
748c5ba4b4 Added more tests on login/registration 2020-03-05 15:03:23 +01:00
e8a55ae131 Started work on tests 2020-03-05 12:42:53 +01:00
f8c268111c Formatted code according to google java (aosp) format 2020-02-24 14:15:49 +01:00
62087e2b49 Imported Spring Boot starter project 2020-02-20 15:22:37 +01:00