Example #1
0
 @Test
 public void Contains_User_Inputted_Wildcards_Dont_Work() throws Exception {
   testQuery(title.contains("r*i"), "title:*r\\*i*", 0);
 }
Example #2
0
 @Test
 public void Contains_Empty_String() throws Exception {
   testQuery(title.contains(""), "title:**", 1);
 }
Example #3
0
 @Test
 public void Contains() throws Exception {
   testQuery(title.contains("rassi"), "title:*rassi*", 1);
 }