2014-04-15 17:57:57 +02:00
|
|
|
package org.gcube.contentmanager.storageserver.test;
|
|
|
|
|
|
|
|
import static org.junit.Assert.*;
|
|
|
|
|
|
|
|
import org.gcube.common.scope.api.ScopeProvider;
|
2014-04-16 10:54:47 +02:00
|
|
|
import org.gcube.contentmanager.storageserver.parse.utils.ValidationUtils;
|
2014-04-15 17:57:57 +02:00
|
|
|
import org.junit.Test;
|
|
|
|
|
|
|
|
public class ValidationScopeTest {
|
|
|
|
|
2018-05-21 12:05:42 +02:00
|
|
|
private String scope="/d4science.research-infrastructures.eu/FARM";
|
2014-04-15 17:57:57 +02:00
|
|
|
|
|
|
|
@Test
|
|
|
|
public void test() {
|
|
|
|
assertTrue(ValidationUtils.validationScope(scope));
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|