@@ -67,6 +67,7 @@ public void Reader_Is_Enabled(JsonApiQueryStringParameters parametersDisabled, b
6767 [ InlineData ( "filter[posts]" , "equals(author,'some')" , "Attribute 'author' does not exist on resource 'blogPosts'." ) ]
6868 [ InlineData ( "filter[posts]" , "lessThan(author,null)" , "Attribute 'author' does not exist on resource 'blogPosts'." ) ]
6969 [ InlineData ( "filter" , " " , "Unexpected whitespace." ) ]
70+ [ InlineData ( "filter" , "contains(owner.displayName, )" , "Unexpected whitespace." ) ]
7071 [ InlineData ( "filter" , "some" , "Filter function expected." ) ]
7172 [ InlineData ( "filter" , "equals" , "( expected." ) ]
7273 [ InlineData ( "filter" , "equals'" , "Unexpected ' outside text." ) ]
@@ -115,6 +116,9 @@ public void Reader_Read_Fails(string parameterName, string parameterValue, strin
115116 [ InlineData ( "filter" , "equals(title,'Brian O''Quote')" , null , "equals(title,'Brian O''Quote')" ) ]
116117 [ InlineData ( "filter" , "equals(title,'!@#$%^&*()-_=+\" ''[]{}<>()/|\\ :;.,`~')" , null , "equals(title,'!@#$%^&*()-_=+\" ''[]{}<>()/|\\ :;.,`~')" ) ]
117118 [ InlineData ( "filter" , "equals(title,'')" , null , "equals(title,'')" ) ]
119+ [ InlineData ( "filter" , "startsWith(owner.displayName,'GivenName ')" , null , "startsWith(owner.displayName,'GivenName ')" ) ]
120+ [ InlineData ( "filter" , "endsWith(owner.displayName,' Surname')" , null , "endsWith(owner.displayName,' Surname')" ) ]
121+ [ InlineData ( "filter" , "contains(owner.displayName,' ')" , null , "contains(owner.displayName,' ')" ) ]
118122 [ InlineData ( "filter[posts]" , "equals(caption,'this, that & more')" , "posts" , "equals(caption,'this, that & more')" ) ]
119123 [ InlineData ( "filter[owner.posts]" , "equals(caption,'some')" , "owner.posts" , "equals(caption,'some')" ) ]
120124 [ InlineData ( "filter[posts.comments]" , "equals(createdAt,'2000-01-01')" , "posts.comments" , "equals(createdAt,'2000-01-01')" ) ]
0 commit comments