Commit Graph

1121 Commits (master)

Author SHA1 Message Date
Josephine "Niruandaleth" Rueckert 4c595f9fee chore: prepare snapshot builds for 5.4.0-SNAPSHOT 2022-09-03 12:03:58 +02:00
Josephine "Niruandaleth" Rueckert 490e22ec12 chore: prepare release 5.3.0 2022-09-03 11:57:08 +02:00
jdrueckert 03023ad52c
feat: add type handlers for SimpleUri and BlockUri (#5061) 2022-08-23 10:27:49 +02:00
Kevin Turner 558c8418ab
test(MTE): allow a test to add its own EngineSubsystem (#5044) 2022-06-12 16:44:39 -07:00
Kevin Turner 7dbe8724bf
test(MTE): replace IsolatedMTEExtension with JUnit's TestInstance.Lifecycle (#5039)
* test(MTE): test injection with IsolatedMTEExtension
* test(MTE): remove @IsolatedMTETest; use JUnit TestInstance Lifecycle instead
* test: doc corrections
* test: warn when Truth.assertThat is not followed by assertion

Co-authored-by: Tobias Nett <skaldarnar@gmail.com>
2022-06-11 14:13:41 +02:00
Tobias Nett d4523012c8
fixup! test(MTE)! set default NetworkMode to NONE (#5041) (#5043) 2022-06-11 13:40:51 +02:00
Kevin Turner 3674bbb93b
test(MTE)! set default NetworkMode to NONE (#5041)
* test(MTE)! set default NetworkMode to NONE
2022-06-07 16:52:26 -07:00
Kevin Turner be0f9ded06
chore: CoreRegistry removal from engine.network (#5033)
Fixes some race conditions in MTE tests.

* test(network): ClientHandler's GameEngine reference is optional?

  seems sus, but it's only used for a disconnection event, so maybe.

* fix(network): don't replace this object every tick
2022-06-06 17:41:15 +02:00
Kevin Turner 182f308f71
test: add NetworkMode setting to MTE (#5037) 2022-06-05 13:50:23 +02:00
Kevin Turner 8a7219b637
test: reducing logspam (#5022)
Co-authored-by: jdrueckert <jd.rueckert@googlemail.com>
2022-06-04 19:56:59 +02:00
Kevin Turner 114f175778
build(checkstyle): update to version 10.2, update .idea to match (#5027) 2022-06-04 17:04:46 +02:00
jdrueckert f4d3d5da01
test: add info logs to help track down sporadic (#5040)
Co-authored-by: Tobias Nett <skaldarnar@gmail.com>
2022-06-04 16:38:41 +02:00
Kevin Turner 0a9b89fde7
feat(InjectionHelper): inject() returns the object for chaining (#5028)
* chore: Context.getValue error includes which context it is

* feat(InjectionHelper): inject() returns a value for chaining

* doc(InjectionHelper): add javadoc, mark CoreRegistry use as deprecated
2022-06-04 12:45:41 +02:00
Kevin Turner 9a122e21fb
security: upgrade dependencies (#5021)
- upgrade snowplow, logstash-logback-encoder, logback-classic, plexus-utils, protobuf-java
- remove dom4j, jetbrains NotNull annotation
2022-05-28 17:18:35 +02:00
Taha Jamal b852ce89b3
feat: Add BlockAreac#distanceSquared (#4621)
Co-authored-by: jdrueckert <jd.rueckert@googlemail.com>
2022-05-27 00:17:03 +02:00
jdrueckert 650866742d
Merge branch 'develop' into test/moveMTE 2022-05-22 23:51:04 +02:00
Kevin Turner 22bf4a4148
fix(Context)!: correct signature of Context.get (#5017) 2022-05-22 23:11:37 +02:00
Kevin Turner ec8decfad5 build: make terasology-common for easy inclusion of things applicable to all subprojects 2022-05-21 13:46:39 -07:00
Kevin Turner 90af4b2c8f test: remove jacoco
CI wasn't even reading the jacoco report at all.
2022-05-21 12:21:35 -07:00
Kevin Turner b1a35c06f4 build: extract project metrics/analytics to terasology-metrics gradle plugin 2022-05-21 12:21:35 -07:00
Kevin Turner b5b42ae4db test: fail earlier when explicitly-named test dependencies are not found 2022-05-19 16:36:39 -07:00
Kevin Turner 3d39046d96
Merge branch 'develop' into test/moveMTE 2022-05-18 17:40:47 -07:00
Kevin Turner cf4ccb5e4f
chore: remove unused ByteCodeReflectFactory (#5016) 2022-05-18 12:44:30 -07:00
Kevin Turner 30893fcbac
Merge branch 'develop' into test/moveMTE 2022-05-15 17:58:25 -07:00
Kevin Turner 8d20515485
fix(test): set jacoco excludes for engine-test's unitTest and integrationTest tasks (#5013)
Co-authored-by: Tobias Nett <skaldarnar@googlemail.com>
2022-05-15 17:57:31 -07:00
Kevin Turner 60b819b8a5
chore(StorageManager): typos and minor code cleanups (#5009)
* chore(StorageManager): typos and minor code cleanups. Responding to code inspections and suggestions.
* test(StorageManager): remove redundant createFolder. It's handled by the superclass.
* test(StorageManager): ensure each test has its own save name.
2022-05-14 11:34:26 -07:00
Kevin Turner d6c7574f1c test: move classes implementing Jupiter interfaces to their own subpackage 2022-05-13 17:58:09 -07:00
Kevin Turner 106b68d0f7 test: checkstyle cleanup 2022-05-10 12:25:34 -07:00
Kevin Turner 920f1d1a8f test(StubWorldGenerator): remove unused constructor 2022-05-10 10:50:03 -07:00
Kevin Turner 693ecb3aeb test: remove unused BehaviorEmptyLookup
The deserializer doesn't load it ("" is an invalid URN) and I couldn't find it referenced as part of any check-loader-errors test.
2022-05-10 10:49:06 -07:00
Kevin Turner 2b5222690b test(integrationenvironment): remove references to ModuleTestingEnvironment module 2022-05-09 17:56:41 -07:00
Kevin Turner 31854ba291 test: Move ModuleTestingEnvironment to engine-tests/org.terasology.engine.integrationenvironment
for https://github.com/MovingBlocks/Terasology/issues/4545
and https://github.com/Terasology/ModuleTestingEnvironment/issues/39

from ModuleTestingEnvironment commit adf9b6df0407a62c15092a82960d8711e28bb7b7
2022-05-09 17:18:14 -07:00
Kevin Turner d69eef8806 test(ChunkMeshWorker): add some documentation 2022-05-07 09:42:30 -07:00
Kevin Turner 3db427f9b4 test(ChunkMeshWorker): fix testMultipleChunks so the results are order-independent
Because they run in parallel, if there are only two of them, either one may return first.
2022-05-05 18:58:52 -07:00
Kevin Turner b313fb08f6 test(ChunkMeshWorker): make DummyChunk strings slightly more concise 2022-05-05 18:56:56 -07:00
Kevin Turner 4cc9ca1c53 Merge branch 'refactor/migrate-chunk-mesh-generation-flowable' into test/chunkmeshworker 2022-05-03 14:00:13 -07:00
Kevin Turner 6e534d7be5 Merge remote-tracking branch 'origin/develop' into refactor/migrate-chunk-mesh-generation-flowable 2022-05-03 13:57:45 -07:00
Michael Pollind b41012def6
chore: move SideBitFlags into Side (#4768)
Deprecate most of SideBitFlag and offer direct replacements in Side, basically merging the two classes.
Respective replacements are documented in the deprecation docstring.
This prepares for eventually removing SideBitFlag.

Co-authored-by: Tobias Nett <skaldarnar@googlemail.com>
2022-04-06 22:17:47 +02:00
Kevin Turner 972ee9726c test(ChunkMeshWorker): remove some difficult to implement tests about optimizations we probably don't need 2022-02-18 12:56:38 -08:00
Kevin Turner e9e32b7762 test(ChunkMeshWorker): implement more tests
They are beginning to look readable.
2022-01-21 18:21:32 -08:00
Kevin Turner e4c723ad2e test(ChunkMeshWorker): initial attempt at using reactor-test
#ci-skip
2022-01-19 21:58:37 -08:00
Kevin Turner e032131dc5 test(DummyChunk): stub implementation of Chunk 2022-01-19 19:23:15 -08:00
Kevin Turner 9562e867ea test(ChunkMeshWorker): initial sketch of tests
#ci-skip
2022-01-19 17:52:25 -08:00
Michael Pollind b27c8e274d
chore: remove deprecated Chunk#getPosition(Vector3i) (#4888)
Co-authored-by: jdrueckert <jd.rueckert@googlemail.com>
Co-authored-by: Kevin Turner <83819+keturn@users.noreply.github.com>
2022-01-07 18:42:49 +01:00
Nail Khanipov 1f0349f4d6
feat(gestaltv7-eventsystem): Migration Event and @ReceiveEvent to gestalt's (#4898) 2021-12-05 14:19:57 +01:00
Josephine Rueckert 502985ef9d chore: prepare snapshot builds for 5.3.0 2021-12-04 23:02:15 +01:00
Josephine Rueckert 7d9367757a chore: prepare release 5.2.0 2021-12-04 22:39:36 +01:00
Michael Pollind 31ecd97d6b
perf: remove trove map and added flags to Side (#4961)
Co-authored-by: Nail Khanipov <foxflameless@gmail.com>
2021-11-29 14:48:22 +03:00
jdrueckert 32761bff98
ci: fail checkstyle on all findings except warning.LOW (#4899) 2021-11-27 17:59:30 +01:00
Nail Khanipov 19e8cdba85
refactor(translation): use `ResourceUrn` instead of `SimpleUrn` (#4931)
Co-authored-by: jdrueckert <jd.rueckert@googlemail.com>
2021-10-30 23:38:49 +02:00