Assert.assertTrue(!ftsRestClient.getAllDefaulDisplayedDataColumns()
.isEmpty());
Assert.assertEquals(ftsRestClient.getAllDefaulDisplayedDataColumns()
- .size(), 6);
+ .size(), 7);
}
@Test(groups = { "Functional" })
String actual = ftsRestClient
.getDataColumnsFieldsAsCommaDelimitedString(wantedFields);
Assert.assertEquals(actual,
- "entry name,protein names,genes,organism,created,last-modified");
+ "id,entry name,protein names,genes,organism,length,reviewed");
}
Collection<FTSDataColumnI> allFields = ftsRestClient
.getAllFTSDataColumns();
Assert.assertNotNull(allFields);
- Assert.assertEquals(allFields.size(), 116);
+ Assert.assertEquals(allFields.size(), 117);
}
@Test(groups = { "Functional" })
Collection<FTSDataColumnI> searchalbeFields = ftsRestClient
.getSearchableDataColumns();
Assert.assertNotNull(searchalbeFields);
- Assert.assertEquals(searchalbeFields.size(), 28);
+ Assert.assertEquals(searchalbeFields.size(), 30);
}
@Test(groups = { "Functional" })
try
{
expectedPKColumn = ftsRestClient
- .getDataColumnByNameOrCode("Entry Name");
+ .getDataColumnByNameOrCode("Uniprot Id");
Assert.assertNotNull(ftsRestClient.getPrimaryKeyColumn());
Assert.assertEquals(ftsRestClient.getPrimaryKeyColumn(),
expectedPKColumn);
uniqueSet.add(foundCol);
}
Assert.assertTrue(!uniqueSet.isEmpty());
- Assert.assertEquals(uniqueSet.size(), 28);
+ Assert.assertEquals(uniqueSet.size(), 30);
}
@Test(groups = { "Functional" })
public void coverageForMiscellaneousBranches()
{
String actual = ftsRestClient.getPrimaryKeyColumn().toString();
- Assert.assertEquals(actual, "Entry Name");
+ Assert.assertEquals(actual, "Uniprot Id");
String actualGroupStr;
try