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 83
83
import org .gitlab4j .api .models .RegistryRepository ;
84
84
import org .gitlab4j .api .models .Runner ;
85
85
import org .gitlab4j .api .models .RunnerDetail ;
86
+ import org .gitlab4j .api .models .SearchBlob ;
86
87
import org .gitlab4j .api .models .Session ;
87
88
import org .gitlab4j .api .models .Snippet ;
88
89
import org .gitlab4j .api .models .SshKey ;
@@ -545,4 +546,10 @@ public void testLabels() throws Exception {
545
546
List <Label > labels = unmarshalResourceList (Label .class , "labels.json" );
546
547
assertTrue (compareJson (labels , "labels.json" ));
547
548
}
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
+ }
548
555
}
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