Changeset 5537


Ignore:
Timestamp:
08/07/14 15:35:43 (10 years ago)
Author:
Twan Goosen
Message:

Small help text tweak (resf #584) and small cleanup in test

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  
    3636                        <span class="tooltip">
    3737                            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>
    4040                        </span>
    4141                    </label>
     
    5656                        <span class="tooltip">
    5757                            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.
    6262                        </span>
    6363                    </label>
     
    6868                        <span class="tooltip">
    6969                            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 made
     70                            <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
    7373                        </span>
    7474                    </label>
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/test/java/eu/clarin/cmdi/virtualcollectionregistry/service/impl/ReferenceValidatorTest.java

    r5534 r5537  
    2121import org.junit.Test;
    2222import static org.junit.Assert.*;
     23import org.junit.Before;
    2324
    2425/**
     
    2829public class ReferenceValidatorTest {
    2930
     31    private ReferenceValidator instance;
     32
     33    @Before
     34    public void setUp() {
     35        instance = new ReferenceValidator();
     36    }
     37
    3038    /**
    3139     * Test of onValidate method, of class ReferenceValidator.
     
    3341    @Test
    3442    public void testOnValidateUrl() {
    35         System.out.println("onValidate");
    3643        IValidatable<String> validatable = new Validatable<>("http://www.clarin.eu");
    37         ReferenceValidator instance = new ReferenceValidator();
    3844        instance.validate(validatable);
    3945        assertTrue(validatable.isValid());
     
    4551    @Test
    4652    public void testOnValidateHdl() {
    47         System.out.println("onValidate");
    4853        IValidatable<String> validatable = new Validatable<>("hdl:1234/abcd-EF-5678");
    49         ReferenceValidator instance = new ReferenceValidator();
    5054        instance.validate(validatable);
    5155        assertTrue(validatable.isValid());
     
    5761    @Test
    5862    public void testOnValidateDoi() {
    59         System.out.println("onValidate");
    6063        IValidatable<String> validatable = new Validatable<>("doi:10.1000/182");
    61         ReferenceValidator instance = new ReferenceValidator();
    6264        instance.validate(validatable);
    6365        assertTrue(validatable.isValid());
     
    6971    @Test
    7072    public void testOnValidateIllegal() {
    71         System.out.println("onValidate");
    7273        IValidatable<String> validatable = new Validatable<>("not a legal URL or handle");
    73         ReferenceValidator instance = new ReferenceValidator();
    7474        instance.validate(validatable);
    7575        assertFalse(validatable.isValid());
     
    8181    @Test
    8282    public void testOnValidateIllegalHdl() {
    83         System.out.println("onValidate");
    8483        IValidatable<String> validatable = new Validatable<>("hdl:12a4/abcd-EF-5678");
    85         ReferenceValidator instance = new ReferenceValidator();
    8684        instance.validate(validatable);
    8785        assertFalse(validatable.isValid());
Note: See TracChangeset for help on using the changeset viewer.