Minor updated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@85760 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e2f901e281
commit
25af34418b
|
@ -14,15 +14,17 @@ import org.junit.Test;
|
|||
public class TestOperations {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
public void TestTROperation() {
|
||||
ScopeProvider.instance.set(Constants.DEFAULT_SCOPE);
|
||||
TabularDataService service = TabularDataServiceFactory
|
||||
.getService(Constants.DEFAULT_USER);
|
||||
List<EligibleOperation> operations=service.getCapabilities();
|
||||
for(EligibleOperation operation: operations){
|
||||
List<EligibleOperation> trOperations=service.getCapabilities();
|
||||
System.out.println("------------Tabular Resource Operation--------------");
|
||||
for(EligibleOperation operation: trOperations){
|
||||
System.out.println(operation.toString());
|
||||
}
|
||||
Assert.assertTrue(operations.size()>0);
|
||||
Assert.assertTrue(trOperations.size()>0);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue