forked from D-Net/dnet-hadoop
hostedbymap - modified part of test to check the bestaccessright changed
This commit is contained in:
parent
9731a6144a
commit
b688567db5
|
@ -55,13 +55,17 @@ class TestApply extends java.io.Serializable{
|
|||
assertTrue(pa.getInstance().get(0).getAccessright.getClassid.equals("OPEN"))
|
||||
assertTrue(pa.getInstance().get(0).getAccessright.getClassname.equals("Open Access"))
|
||||
assertTrue(pa.getInstance().get(0).getAccessright.getOpenAccessRoute.equals(OpenAccessRoute.hybrid))
|
||||
assertTrue(pa.getBestaccessright.getClassid.equals("OPEN"))
|
||||
assertTrue(pa.getBestaccessright.getClassname.equals("Open Access"))
|
||||
|
||||
|
||||
assertTrue(pb.getInstance().get(0).getHostedby.getKey.equals("10|openaire____::0b74b6a356bbf23c245f9ae9a748745c"))
|
||||
assertTrue(pb.getInstance().get(0).getHostedby.getValue.equals("Revistas de investigación Universidad Nacional Mayor de San Marcos"))
|
||||
assertTrue(pb.getInstance().get(0).getAccessright.getClassname.equals("Open Access"))
|
||||
assertTrue(pb.getInstance().get(0).getAccessright.getClassid.equals("OPEN"))
|
||||
assertTrue(pb.getInstance().get(0).getAccessright.getClassname.equals("not available"))
|
||||
assertTrue(pb.getInstance().get(0).getAccessright.getClassid.equals("UNKNOWN"))
|
||||
assertTrue(pb.getInstance().get(0).getAccessright.getOpenAccessRoute == null)
|
||||
assertTrue(pb.getBestaccessright.getClassid.equals("UNKNOWN"))
|
||||
assertTrue(pb.getBestaccessright.getClassname.equals("not available"))
|
||||
|
||||
}else{
|
||||
assertTrue(pa.getInstance().get(0).getHostedby.getKey.equals(pb.getInstance().get(0).getHostedby.getKey))
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue