This repository was archived by the owner on Jan 31, 2022. It is now read-only.
Commit 6cc0f51
authored
Cleanup tests (#184)
* fix: Use String.contains() instead of RegExp matching for finding a specific term
* QueryTest: Correct assert{,Array,Not}Equals parameter ordering
* QueryTest.analyticsTags: Compare built query to result of getter as in other tests
* QueryTest: Remove unneccessary "test_" prefix
* QueryTest: Use Integer.valueOf() instead of new Integer()
* QueryTest: Check query string content in every test
* IndexTest: Remove unneccessary "test" prefix
* IndexTest: Use getIndex instead of deprecated initIndex
* IndexTest: Use diamond operator
* IndexTest: Use Collections.singletonList instead of Arrays.asList with only one element
* BrowseIteratorTest: Remove unneccessary "test" prefix
* PlacesClientTest: Remove unneccessary "test" prefix
* PlacesQueryTest: Remove unneccessary "test_" prefix
* PlacesQueryTest: Use Integer.valueOf() instead of new Integer()
* PlacesQueryTest: Correct assert{,Array,Not}Equals parameter ordering
* PlacesQueryTest: When possible, inline query2 and rename query1 to query
* QueryTest: When possible, inline query2 and rename query1 to query1 parent 294ba4c commit 6cc0f51
File tree
5 files changed
+546
-589
lines changed- algoliasearch/src/test/java/com/algolia/search/saas
- places
5 files changed
+546
-589
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments