File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
resources/org/gitlab4j/api Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 8383import org .gitlab4j .api .models .RegistryRepository ;
8484import org .gitlab4j .api .models .Runner ;
8585import org .gitlab4j .api .models .RunnerDetail ;
86+ import org .gitlab4j .api .models .SearchBlob ;
8687import org .gitlab4j .api .models .Session ;
8788import org .gitlab4j .api .models .Snippet ;
8889import org .gitlab4j .api .models .SshKey ;
@@ -545,4 +546,10 @@ public void testLabels() throws Exception {
545546 List <Label > labels = unmarshalResourceList (Label .class , "labels.json" );
546547 assertTrue (compareJson (labels , "labels.json" ));
547548 }
549+
550+ @ Test
551+ public void testSearchBlobs () throws Exception {
552+ List <SearchBlob > searchResults = unmarshalResourceList (SearchBlob .class , "wiki-blobs.json" );
553+ assertTrue (compareJson (searchResults , "wiki-blobs.json" ));
554+ }
548555}
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "basename" : " home" ,
4+ "data" : " hello\n\n and bye\n\n end" ,
5+ "filename" : " home.md" ,
6+ "id" : 123 ,
7+ "ref" : " master" ,
8+ "startline" : 5 ,
9+ "project_id" : 6
10+ }
11+ ]
You can’t perform that action at this time.
0 commit comments