Commit 6ed0ddc
committed
Fix parameterized test names in CrudProseTest
Previously, for a parameterized test like
CrudProseTest::testBulkWriteHandlesWriteErrorsAcrossBatches,
the test names would be "CrudProseTest. 1 false" and "CrudProseTest. 2 true". Now the test names will be
6. MongoClient.bulkWrite handles individual WriteErrors across batches--ordered:false
6. MongoClient.bulkWrite handles individual WriteErrors across batches--ordered:true
and they will appear in the IDEA UI like
6. MongoClient.bulkWrite handles individual WriteErrors across batches--ordered:false
--ordered:false
--ordered:true
and in Gradle output like
6. MongoClient.bulkWrite handles individual WriteErrors across batches
Test 6. MongoClient.bulkWrite handles individual WriteErrors across batches--ordered:false PASSED (5.1s)
Test 6. MongoClient.bulkWrite handles individual WriteErrors across batches--ordered:true PASSED1 parent 8fdbd8e commit 6ed0ddc
File tree
1 file changed
+4
-3
lines changed- driver-sync/src/test/functional/com/mongodb/client
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
| 383 | + | |
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
| 469 | + | |
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
| |||
0 commit comments