Changeset 5537
- Timestamp:
- 08/07/14 15:35:43 (10 years ago)
- Location:
- VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/wizard/CreateVirtualCollectionWizard$GeneralStep.html
r5530 r5537 36 36 <span class="tooltip"> 37 37 Type of Virtual Collection, either intensional or extensional<br /><br /> 38 Extensional: Type of virtual collection that explicitly enumerates the references to resources or metadata documents that make up the collection<br /><br />39 Intensional: Type of virtual collection that defines a query by which the items of the collection can be retrieved ad-hoc from a secondary service <em>(experimental, use at own risk!)</em>38 <b>Extensional</b>: Type of virtual collection that explicitly enumerates the references to resources or metadata documents that make up the collection<br /><br /> 39 <b>Intensional</b>: Type of virtual collection that defines a query by which the items of the collection can be retrieved ad-hoc from a secondary service <em>(experimental, use at own risk!)</em> 40 40 </span> 41 41 </label> … … 56 56 <span class="tooltip"> 57 57 An indication of the intended usage of the present virtual collection<br /><br /> 58 Research: The virtual collection bundles resources that are relevant to a specific research (question).<br /><br />59 Reference: The virtual collection bundles resources, that are to be cited in a publication.<br /><br />60 Sample: This virtual collection bundles is intended to serve as an sample for research data<br /><br />61 Future-use: The purpose of this virtual collection is not specified yet. Used in published collection is advised against.58 <b>Research</b>: The virtual collection bundles resources that are relevant to a specific research (question).<br /><br /> 59 <b>Reference</b>: The virtual collection bundles resources, that are to be cited in a publication.<br /><br /> 60 <b>Sample</b>: This virtual collection bundles is intended to serve as an sample for research data<br /><br /> 61 <b>Future-use</b>: The purpose of this virtual collection is not specified yet. Used in published collection is advised against. 62 62 </span> 63 63 </label> … … 68 68 <span class="tooltip"> 69 69 An indication of the degree to which results obtained from processing of the present collection can be expected to be stable<br /><br /> 70 Intended: Processing results can be expected to remain stable<br /><br />71 Fluctuating: Processing results may vary<br /><br />72 Untended: No claims with respect to the stability of the processing results are made70 <b>Intended</b>: Processing results can be expected to remain stable<br /><br /> 71 <b>Fluctuating</b>: Processing results may vary<br /><br /> 72 <b>Untended</b>: No claims with respect to the stability of the processing results are made 73 73 </span> 74 74 </label> -
VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/test/java/eu/clarin/cmdi/virtualcollectionregistry/service/impl/ReferenceValidatorTest.java
r5534 r5537 21 21 import org.junit.Test; 22 22 import static org.junit.Assert.*; 23 import org.junit.Before; 23 24 24 25 /** … … 28 29 public class ReferenceValidatorTest { 29 30 31 private ReferenceValidator instance; 32 33 @Before 34 public void setUp() { 35 instance = new ReferenceValidator(); 36 } 37 30 38 /** 31 39 * Test of onValidate method, of class ReferenceValidator. … … 33 41 @Test 34 42 public void testOnValidateUrl() { 35 System.out.println("onValidate");36 43 IValidatable<String> validatable = new Validatable<>("http://www.clarin.eu"); 37 ReferenceValidator instance = new ReferenceValidator();38 44 instance.validate(validatable); 39 45 assertTrue(validatable.isValid()); … … 45 51 @Test 46 52 public void testOnValidateHdl() { 47 System.out.println("onValidate");48 53 IValidatable<String> validatable = new Validatable<>("hdl:1234/abcd-EF-5678"); 49 ReferenceValidator instance = new ReferenceValidator();50 54 instance.validate(validatable); 51 55 assertTrue(validatable.isValid()); … … 57 61 @Test 58 62 public void testOnValidateDoi() { 59 System.out.println("onValidate");60 63 IValidatable<String> validatable = new Validatable<>("doi:10.1000/182"); 61 ReferenceValidator instance = new ReferenceValidator();62 64 instance.validate(validatable); 63 65 assertTrue(validatable.isValid()); … … 69 71 @Test 70 72 public void testOnValidateIllegal() { 71 System.out.println("onValidate");72 73 IValidatable<String> validatable = new Validatable<>("not a legal URL or handle"); 73 ReferenceValidator instance = new ReferenceValidator();74 74 instance.validate(validatable); 75 75 assertFalse(validatable.isValid()); … … 81 81 @Test 82 82 public void testOnValidateIllegalHdl() { 83 System.out.println("onValidate");84 83 IValidatable<String> validatable = new Validatable<>("hdl:12a4/abcd-EF-5678"); 85 ReferenceValidator instance = new ReferenceValidator();86 84 instance.validate(validatable); 87 85 assertFalse(validatable.isValid());
Note: See TracChangeset
for help on using the changeset viewer.