Repository navigation
Commit 2e7a284
authored
test: support float32 in mock server (#2937)
Adds support for `float32` to the mock server for testing. Also adds a couple of tests that can be used to verify that the mock server supports all types, and that verifies that the client library reads and encodes all types correctly. These tests can be overridden by frameworks using the Java client (e.g. JDBC and PGAdapter) to verify that these also handle these types correctly when used through the API of that tool (I.e. through JDBC or PostgreSQL wire-protocol).1 parent faf5a09 commit 2e7a284
2 files changed
Lines changed: 696 additions & 0 deletions
File tree
- java-spanner/google-cloud-spanner/src/test/java/com/google/cloud/spanner
- connection
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1286 | 1286 | | |
1287 | 1287 | | |
1288 | 1288 | | |
| 1289 | + | |
1289 | 1290 | | |
1290 | 1291 | | |
1291 | 1292 | | |
| |||
1331 | 1332 | | |
1332 | 1333 | | |
1333 | 1334 | | |
| 1335 | + | |
1334 | 1336 | | |
1335 | 1337 | | |
1336 | 1338 | | |
| |||
1396 | 1398 | | |
1397 | 1399 | | |
1398 | 1400 | | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
1399 | 1409 | | |
1400 | 1410 | | |
1401 | 1411 | | |
| |||
1479 | 1489 | | |
1480 | 1490 | | |
1481 | 1491 | | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
1482 | 1495 | | |
1483 | 1496 | | |
1484 | 1497 | | |
| |||
0 commit comments