paul121
9937730c14
Query assets from multiple locations in a single query.
2021-10-27 16:27:19 -04:00
paul121
be8d5ef14b
Fix typo in LocationTest::testLocationAssets.
2021-10-18 10:12:44 -04:00
paul121
6ef8a213dc
Test that deleting a movement log updates the asset's location.
2021-10-18 10:12:44 -04:00
paul121
d77c535105
Refactor farm_location tests to test asset cache tag invalidation directly instead of via requests to JSONAPI.
2021-10-18 10:12:44 -04:00
Michael Stenta
41d3eac174
Move WktTrait to farm_geo module.
2021-09-01 22:46:37 -04:00
Michael Stenta
f6aadf4cd7
Automated tests for getAssetsByLocation() method.
2021-06-04 21:12:37 -04:00
Michael Stenta
3d6b8fa5c5
Rename log movement field to is_movement.
2020-12-29 12:27:35 -05:00
Michael Stenta
9b67979390
Rename asset fixed field to is_fixed.
2020-12-29 12:27:35 -05:00
Michael Stenta
128ae01126
Rename asset geometry field to intrinsic_geometry.
2020-12-29 12:27:35 -05:00
Michael Stenta
16f917085c
Add a setIntrinsicGeometry() method to AssetLocation.
2020-12-29 12:27:35 -05:00
Michael Stenta
3ff1a9b694
Use AssetLocation service in LogPresaveEventSubscriber.
2020-12-29 12:27:35 -05:00
Michael Stenta
3f8d919a60
Add logic and tests for fixed assets with intrinsic geometry.
2020-12-29 12:26:47 -05:00
Michael Stenta
2c06d4caa4
Test that asset location/geometry can be unset by a blank movement log.
2020-12-29 12:25:14 -05:00
Michael Stenta
06f9b3e460
Add tests for asset location and geometry logic based on movement logs.
2020-12-29 12:25:14 -05:00
Michael Stenta
70c73f311f
Move some LocationTest code into protected parameters initialized via setUp() so they can be reused.
2020-12-29 12:25:14 -05:00
Michael Stenta
c88ccb4bd6
Test for auto-updated log geometry when location changes and geometry is not customized.
2020-12-29 12:24:21 -05:00
Michael Stenta
998897cc57
Generate polygons specifically, to avoid occasional test failures with randomly generated geometries.
2020-12-29 12:24:21 -05:00
Michael Stenta
d6bc7611e6
Reduce randomly generated geometries to avoid comparison issues.
...
Geometries are reduced in combineWkt(), so if a single unreduced
geometery is passed in, it will be reduced, and the output will
not match the input as expected.
2020-12-29 12:24:21 -05:00
Michael Stenta
5b14d6a338
Write tests of log location geometry logic.
2020-12-29 12:24:21 -05:00