Skip to content

Commit

Permalink
This resolves the syntax and test issues that arose when PR apache#1720
Browse files Browse the repository at this point in the history
… was merged into master.
  • Loading branch information
elsloo authored and dneuman64 committed Feb 13, 2018
1 parent 9730e9a commit 171042f
Show file tree
Hide file tree
Showing 3 changed files with 344 additions and 319 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@ RRset findRRSet(List<RRset> rRsets, String name, int type) {
@Test
public void itGroupsResourceRecordsAccordingToRfc4034() throws Exception {
List<RRset> rRsets = new RRSetsBuilder().build(ZoneTestRecords.records);
assertThat(rRsets.size(), equalTo(8));
assertThat(rRsets.size(), equalTo(9));
assertThat(findRRSet(rRsets, "mirror.www.example.com.", Type.CNAME), notNullValue());
assertThat(findRRSet(rRsets, "ftp.example.com.", Type.AAAA), notNullValue());
assertThat(findRRSet(rRsets, "ftp.example.com.", Type.A), notNullValue());
assertThat(findRRSet(rRsets, "www.example.com.", Type.A), notNullValue());
assertThat(findRRSet(rRsets, "www.example.com.", Type.TXT), notNullValue());
assertThat(findRRSet(rRsets, "example.com.", Type.NS), notNullValue());
assertThat(findRRSet(rRsets, "mirror.ftp.example.com.", Type.CNAME), notNullValue());
assertThat(findRRSet(rRsets, "www.example.com.", Type.AAAA), notNullValue());
Expand Down
Loading

0 comments on commit 171042f

Please sign in to comment.