aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-05-09 18:48:10 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-05-09 18:48:10 +0200
commitb7f8a012bfd11465af9f95c3d60101539a25219a (patch)
tree52ab65d8d68944ca9b6eb582064f372578e67636 /test
parentf291c50f17dcf4f4657aadbf8b4a38df6fa98731 (diff)
downloadPROJ-b7f8a012bfd11465af9f95c3d60101539a25219a.tar.gz
PROJ-b7f8a012bfd11465af9f95c3d60101539a25219a.zip
scripts/fix_typos.sh: fix URLs to dictionaries, and fix typos spotted
Diffstat (limited to 'test')
-rwxr-xr-xtest/cli/testvarious2
-rw-r--r--test/fuzzers/README.TXT2
-rw-r--r--test/gie/more_builtins.gie2
-rw-r--r--test/unit/test_c_api.cpp6
-rw-r--r--test/unit/test_operation.cpp4
5 files changed, 8 insertions, 8 deletions
diff --git a/test/cli/testvarious b/test/cli/testvarious
index 6d773c4c..6a77729e 100755
--- a/test/cli/testvarious
+++ b/test/cli/testvarious
@@ -959,7 +959,7 @@ echo "Test EPSG:4896 to EPSG:7930" >> ${OUT}
# compatibility, the t-component is not written to STDOUT as part of the
# coordinate data, but rather as part of the string that follows the xyz
# components. This is only seen by users when the -E option is used. Which
-# means that this test also experience that behaviour.
+# means that this test also experience that behavior.
$EXE -f %.4f EPSG:4896 EPSG:7930 -E >> ${OUT} <<EOF
3496737.2679 743254.4507 5264462.9620 2019.0
3496737.2679 743254.4507 5264462.9620 2029.0
diff --git a/test/fuzzers/README.TXT b/test/fuzzers/README.TXT
index a43e089f..3482e5cd 100644
--- a/test/fuzzers/README.TXT
+++ b/test/fuzzers/README.TXT
@@ -1,4 +1,4 @@
-This directory contain fuzzer main funtions and scripts for the
+This directory contain fuzzer main functions and scripts for the
Google OSS Fuzz project: https://github.com/google/oss-fuzz/
The main build scripts are in:
diff --git a/test/gie/more_builtins.gie b/test/gie/more_builtins.gie
index 3847c87e..610c6c3f 100644
--- a/test/gie/more_builtins.gie
+++ b/test/gie/more_builtins.gie
@@ -429,7 +429,7 @@ expect failure errno invalid_arg
operation proj=helmert rx=1 convention=1
expect failure errno invalid_arg
-# towgs84 in helmert context should alwas be position_vector
+# towgs84 in helmert context should always be position_vector
operation proj=helmert towgs84=1,2,3,4,5,6,7 convention=coordinate_frame
expect failure errno invalid_arg
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp
index e56fb39c..e0473d4f 100644
--- a/test/unit/test_c_api.cpp
+++ b/test/unit/test_c_api.cpp
@@ -1497,7 +1497,7 @@ TEST_F(CApi, proj_create_operations_with_pivot) {
// There is no direct transformations between both
- // Default behaviour: allow any pivot
+ // Default behavior: allow any pivot
{
auto ctxt = proj_create_operation_factory_context(m_ctxt, nullptr);
ASSERT_NE(ctxt, nullptr);
@@ -1621,7 +1621,7 @@ TEST_F(CApi, proj_create_operations_allow_ballpark_transformations) {
proj_operation_factory_context_set_grid_availability_use(
m_ctxt, ctxt, PROJ_GRID_AVAILABILITY_IGNORED);
- // Default: allowed implictly
+ // Default: allowed implicitly
{
auto res = proj_create_operations(m_ctxt, source_crs, target_crs, ctxt);
ASSERT_NE(res, nullptr);
@@ -4350,7 +4350,7 @@ TEST_F(
// In this particular case, PROJ computes a transformation from NAD83(2011)
// (EPSG:6318) to WGS84 (EPSG:4979) for the initial horizontal adjustment
// before the geoidgrids application. There are 6 candidate transformations
- // for that in subzones of the US and one last no-op tranformation flagged
+ // for that in subzones of the US and one last no-op transformation flagged
// as ballpark. That one used to be eliminated because by
// proj_create_crs_to_crs() because there were non Ballpark transformations
// available. This resulted thus in an error when transforming outside of
diff --git a/test/unit/test_operation.cpp b/test/unit/test_operation.cpp
index a655aff0..9b339525 100644
--- a/test/unit/test_operation.cpp
+++ b/test/unit/test_operation.cpp
@@ -2904,7 +2904,7 @@ TEST(operation, wkt1_import_mercator_variant_A) {
// ---------------------------------------------------------------------------
TEST(operation, wkt1_import_mercator_variant_A_that_is_variant_B) {
- // Adresses https://trac.osgeo.org/gdal/ticket/3026
+ // Addresses https://trac.osgeo.org/gdal/ticket/3026
auto wkt = "PROJCS[\"test\",\n"
" GEOGCS[\"WGS 84\",\n"
" DATUM[\"WGS 1984\",\n"
@@ -4648,7 +4648,7 @@ TEST(operation, geogCRS_to_geogCRS_context_NAD27_to_WGS84_G1762) {
// ---------------------------------------------------------------------------
TEST(operation, geogCRS_to_geogCRS_context_WGS84_G1674_to_WGS84_G1762) {
- // Check that particular behaviour with WGS 84 (Gxxx) related to
+ // Check that particular behavior with WGS 84 (Gxxx) related to
// 'geodetic_datum_preferred_hub' table and custom no-op transformations
// between WGS 84 and WGS 84 (Gxxx) doesn't affect direct transformations
// to those realizations.