Class NameTest

Object
TestCase
NameTest

public class NameTest extends TestCase
Tests generic name and related objects from the org.opengis.util package. Name instances are created using a NameFactory given at construction time.

Usage example:

in order to specify their factories and run the tests in a JUnit framework, implementers can define a subclass in their own test suite as in the example below:
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.opengis.test.util.NameTest;

@RunWith(JUnit4.class)
public class MyTest extends NameTest {
    public MyTest() {
        super(new MyNameFactory());
    }
}
Since:
2.2
See Also: