Commit Graph

53 Commits

Author SHA1 Message Date
metalgearsloth
c3c78258e7 Fix vending machines throwing (#1225)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-07-02 16:03:57 +02:00
Pieter-Jan Briers
4b5aed52f4 Disable net.interp in SimplePredictReconcileTest.cs
Since it doesn't work and I just changed the engine default and this broke everything.
2020-07-01 02:23:52 +02:00
metalgearsloth
29f1730d71 Remove pathfinding graph node directions (#1223)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-06-28 17:43:06 +02:00
py01
23cc6b1d4e Power Rework (#863)
Co-authored-by: py01 <pyronetics01@gmail.com>
2020-06-28 17:23:26 +02:00
Pieter-Jan Briers
d73f9d3721 Merge branch 'component-tweaks' into 20-06-24-submodule 2020-06-24 12:00:58 +02:00
Tyler Young
4b64aa2b9d fix benchmark
improve some test diagnostics

fix some bug where order of shutdown of AiControllerComponent mattered or Processor was never initialized
2020-06-22 04:49:54 -04:00
DrSmugleaf
d91a8c4925 Add delaystart and forcepreset commands (#1163)
* Add extendroundstart message to extend lobby start timer

* Rename StartExtend to DelayStart

* Fix delaystart amounts above 59 not working

* Change delaystart seconds type from int to uint

* Change delaystart wrong args amount message

* Add forcegamepreset command

* Rename forcegamepreset to forcepreset and merged start and forcestart preset methods

* Fix index out of bounds exception when forcing suspicion to start

* Change game preset to match regardless of casing

* Add forcepreset unknown preset message

* Add and move in lobby checks

* Remove testing changes

* Change delaystart to pause/resume the timer when no seconds are specified

* Change pause message

* Remove testing code

* Change 0 seconds to not be a valid amount of seconds

* Replace MsgTickerLobbyCountdown Seconds with DateTime instead of uint

* Add one entire dot

* Replace Math.Min + Math.Max with Math.Clamp

Co-authored-by: ComicIronic <comicironic@gmail.com>

Co-authored-by: ComicIronic <comicironic@gmail.com>
2020-06-21 22:05:47 +02:00
Pieter-Jan Briers
63c3e9577c Adds SimplePredictReconcileTest 2020-06-12 12:45:29 +02:00
Pieter-Jan Briers
a989fab0b4 More useful integration test features. 2020-06-12 12:45:01 +02:00
Pieter-Jan Briers
cfe72cbfeb Move networking integration tests to own folder. 2020-06-12 12:44:02 +02:00
Pieter-Jan Briers
4ebba74b1f Update submodule and fix ARM builds. 2020-06-09 00:17:11 +02:00
Acruid
694a5dd332 Adds an integration test for saving and loading a multi grid map.
Fixes a bug in SharedGalacticMarketComponent where the products were not being cleared between calls to ExposeData.
2020-06-08 13:19:40 -07:00
Víctor Aguilera Puerto
e1df008bce Add conditional spawning component (#1069)
* Add conditional spawning component

* Remove null checks

* Remove leftover return

* Properly spawn items when game rule gets added

* Fix duplicate uids in saltern

* GameRules returns IEnumerable using yield.
2020-06-05 19:42:43 +02:00
Pieter-Jan Briers
0108126c43 Fix reporting of failed entity ID inside EntityTest 2020-05-25 19:40:10 +02:00
Pieter-Jan Briers
a8e2900052 Rename toolboxes to make more sense.
Also adds filled version of emergency toolboxes, currently empty.
2020-05-22 17:48:35 +02:00
Jackson Lewis
1f0c72dd28 Gravity (#841) 2020-05-02 16:02:52 +02:00
zumorica
0902844457 Merge branch 'master' into 2020-03-03-g-g-g-g-g-g-g-g-ghooooosts 2020-04-04 17:17:11 +02:00
JiimBob
bdc76ad494 Added entity integration testing
Added integration test that spawns all non-abstract entities to see if anything breaks.
2020-03-27 00:32:24 -04:00
zumorica
7f19381bec Ghost command, some other stuff 2020-03-03 20:37:26 +01:00
Pieter-Jan Briers
58ab7631c2 Give every job their fancy ID types. 2020-02-24 16:58:25 +01:00
Pieter-Jan Briers
8f4834b1d8 Revert "add integration test for serializer"
This reverts commit 0e286ad808.
2020-02-15 02:33:37 +01:00
Tyler Young
0e286ad808 add integration test for serializer 2020-02-15 01:48:49 +01:00
Pieter-Jan Briers
913b4d97a1 Allow more lobby parameters to be configured. 2020-02-08 21:23:37 +01:00
Pieter-Jan Briers
7bc40ab13d Add test asserting reconnect works. 2020-01-26 23:53:48 +01:00
Acruid
a86363a6d2 API changes, renamed SpawnEntityAt to SpawnEntity. 2020-01-24 16:10:48 -08:00
Pieter-Jan Briers
aaa4329d8c Update submodule for windows build fixes. 2020-01-23 00:45:49 +01:00
Pieter-Jan Briers
d564d3bc39 Fix a compiler warning. 2020-01-21 02:07:25 +01:00
Pieter-Jan Briers
6537aead64 Use MapCoordinates.Nullspace 2020-01-20 22:26:28 +01:00
Pieter-Jan Briers
923c5698b5 Use dummy game ticker for LoadSaveTicksSaveStationStation. 2020-01-20 22:19:24 +01:00
Pieter-Jan Briers
8d3bccbd56 Adds HumanInventoryUniformSlotsTest integration tests. 2020-01-20 22:19:24 +01:00
Pieter-Jan Briers
eadb661515 Integration tests improvements:
1. Added dummy game ticker for future tests to reduce startup time of test. (no loading a map)
2. Re-organized tests a bit.
2020-01-20 22:14:44 +01:00
Pieter-Jan Briers
ba88b2b1da Update NuGet dependencies.
EFCore excluded because I'm still using .NET Core Runtime 3.1.0 instead of 3.1.1
2020-01-20 20:44:36 +01:00
Pieter-Jan Briers
1e696edcff Use C# 8. 2019-12-17 16:09:10 +01:00
Acruid
d549c44f95 Shared IMap/Map class removal (#467)
* Fully removed the Map and IMap class.

* Submodule update to sibling engine commit.
2019-11-26 23:16:36 +01:00
ZelteHonor
b2e2aef78d Rider static analysis (#433)
* Non-accessed local variable

* Merge cast and type checks.

* StringComparison.Ordinal added for better culture support

* Supposed code improvement in launcher. Remove unused code.

* Update ExplosionHelper.cs

Unintentional change.

* Optimized Import

* Add Robust.Shared.Utility import where it was deleted

* Other random suggestion

* Improve my comment
2019-11-13 23:37:46 +01:00
Pieter-Jan Briers
dcffe0ef04 Add Load, save, run ticks, save test to ensure map is inert. 2019-10-13 16:26:39 +02:00
Pieter-Jan Briers
35e88ea62c Add unit test asserting that saving, loading & saving the map produces identical output. (#348)
Also fixed PowerProvider violating this.
2019-09-19 13:46:01 +02:00
Pieter-Jan Briers
ecb7cd3c66 Update all the NuGet packages & submodule. 2019-08-27 22:39:32 +02:00
Pieter-Jan Briers
44fdf4022e Fix accidental C# 8.0 usage. 2019-08-22 11:06:10 +02:00
Pieter-Jan Briers
09b1066122 Try to fix weird integration tests issues, update submodule. 2019-08-22 10:21:54 +02:00
Pieter-Jan Briers
3c09c18943 Update submodule, noise removal, parallax optimizations. 2019-08-07 18:10:55 +02:00
Pieter-Jan Briers
3488ca0173 Try to work around space-wizards/space-station-14#284 2019-08-03 15:07:47 +02:00
Pieter-Jan Briers
8cf5195db6 .NET Core support.
Also dropped x86 because apparently unit tests still work.
2019-08-02 22:45:41 +02:00
Pieter-Jan Briers
15d81c1876 Fix build scripts. 2019-07-30 12:57:08 +02:00
Pieter-Jan Briers
546770ee70 Don't try to do Discord Rich Presence in integration tests. 2019-07-08 23:17:37 +02:00
Pieter-Jan Briers
338f456c50 AppVeyor attempt 5 2019-06-29 16:56:17 +02:00
Pieter-Jan Briers
b9e4410c93 AppVeyor attempt 4 2019-06-29 03:06:39 +02:00
Pieter-Jan Briers
f97977323a Improve integration testing 2019-06-29 01:58:16 +02:00
Pieter-Jan Briers
f551bd32d6 Update submodule, client integration test. 2019-06-04 19:08:15 +02:00
Pieter-Jan Briers
56bccdbc3e Update submodule, update NuGet dependencies. 2019-05-29 14:04:57 +02:00