@@ -25,21 +25,21 @@ class GenreHierarchyTest {
2525
2626 @ Test
2727 @ WithMockUser (username = "admin" )
28- void testGetAll () throws Exception {
28+ void getAll () throws Exception {
2929 client .perform (get (genresURI )).andExpect (status ().isOk ());
3030 }
3131
3232 @ Test
3333 @ WithMockUser (username = "admin" )
34- void testCountAll () throws Exception {
34+ void countAll () throws Exception {
3535 client .perform (get (genresURI + "/$count" ))
3636 .andExpect (status ().isOk ())
3737 .andExpect (jsonPath ("$" ).value (269 ));
3838 }
3939
4040 @ Test
4141 @ WithMockUser (username = "admin" )
42- void testStartOneLevel () throws Exception {
42+ void startOneLevel () throws Exception {
4343 client .perform (get (genresURI
4444 + "?$select=DrillState,ID,name,DistanceFromRoot"
4545 + "&$apply=orderby(name)/"
@@ -59,7 +59,7 @@ void testStartOneLevel() throws Exception {
5959
6060 @ Test
6161 @ WithMockUser (username = "admin" )
62- void testStartTwoLevels () throws Exception {
62+ void startTwoLevels () throws Exception {
6363 client .perform (get (genresURI
6464 + "?$select=DrillState,ID,name,DistanceFromRoot"
6565 + "&$apply=orderby(name)/"
@@ -80,7 +80,7 @@ void testStartTwoLevels() throws Exception {
8080
8181 @ Test
8282 @ WithMockUser (username = "admin" )
83- void testExpandNonFiction () throws Exception {
83+ void expandNonFiction () throws Exception {
8484 client .perform (get (genresURI
8585 + "?$select=DrillState,ID,name"
8686 + "&$apply=descendants($root/GenreHierarchy,GenreHierarchy,ID,filter(ID eq 8bbf14c6-b378-4e35-9b4f-05a9c8878021),1)"
@@ -93,7 +93,7 @@ void testExpandNonFiction() throws Exception {
9393
9494 @ Test
9595 @ WithMockUser (username = "admin" )
96- void testCollapseAll () throws Exception {
96+ void collapseAll () throws Exception {
9797 client .perform (get (genresURI
9898 + "?$select=DrillState,ID,name"
9999 + "&$apply=orderby(name)/com.sap.vocabularies.Hierarchy.v1.TopLevels(HierarchyNodes=$root/GenreHierarchy,HierarchyQualifier='GenreHierarchy',NodeProperty='ID',Levels=1)"
@@ -108,7 +108,7 @@ void testCollapseAll() throws Exception {
108108
109109 @ Test
110110 @ WithMockUser (username = "admin" )
111- void testExpandAllTop100 () throws Exception {
111+ void expandAllTop100 () throws Exception {
112112 String url = genresURI
113113 + "?$select=DistanceFromRoot,DrillState,ID,LimitedDescendantCount,name"
114114 + "&$apply=orderby(name)/com.sap.vocabularies.Hierarchy.v1.TopLevels(HierarchyNodes=$root/GenreHierarchy,HierarchyQualifier='GenreHierarchy',NodeProperty='ID')"
@@ -126,7 +126,7 @@ void testExpandAllTop100() throws Exception {
126126
127127 @ Test
128128 @ WithMockUser (username = "admin" )
129- void testSearch () throws Exception {
129+ void search () throws Exception {
130130 client .perform (get (genresURI
131131 + "?$select=DistanceFromRoot,DrillState,ID,LimitedDescendantCount,name"
132132 + "&$apply=ancestors($root/GenreHierarchy,GenreHierarchy,ID,search(\" true\" ),keep start)"
@@ -154,7 +154,7 @@ void testSearch() throws Exception {
154154
155155 @ Test
156156 @ WithMockUser (username = "admin" )
157- void testFilterNotExpanded () throws Exception {
157+ void filterNotExpanded () throws Exception {
158158 client .perform (get (genresURI
159159 + "?$select=DrillState,ID,name,DistanceFromRoot"
160160 + "&$apply=ancestors($root/GenreHierarchy,GenreHierarchy,ID,filter(name eq 'Autobiography'),keep start)/orderby(name)"
@@ -168,7 +168,7 @@ void testFilterNotExpanded() throws Exception {
168168
169169 @ Test
170170 @ WithMockUser (username = "admin" )
171- void testFilterExpandLevels () throws Exception {
171+ void filterExpandLevels () throws Exception {
172172 String expandLevelsJson = """
173173 [{"NodeID":"8bbf14c6-b378-4e35-9b4f-05a9c8878002","Levels":1},{"NodeID":"8bbf14c6-b378-4e35-9b4f-05a9c8878031","Levels":1}]\
174174 """ ;
@@ -188,7 +188,7 @@ void testFilterExpandLevels() throws Exception {
188188
189189 @ Test
190190 @ WithMockUser (username = "admin" )
191- void testStartTwoLevelsOrderByDesc () throws Exception {
191+ void startTwoLevelsOrderByDesc () throws Exception {
192192 client .perform (get (genresURI
193193 + "?$select=DrillState,ID,name,DistanceFromRoot"
194194 + "&$apply=orderby(name desc)/"
0 commit comments