Ignore:
Timestamp:
2017-11-13T06:31:02+01:00 (7 years ago)
Author:
nyuriks
Message:

renamed Wikosm to Sophox, updated URLs

Location:
applications/editors/josm/plugins/wikipedia/test/unit/org/wikipedia
Files:
2 moved

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wikipedia/test/unit/org/wikipedia/gui/SophoxServerPreferenceTest.java

    r33807 r33808  
    1313
    1414/**
    15  * Unit tests of {@link WikosmServerPreference} class.
     15 * Unit tests of {@link SophoxServerPreference} class.
    1616 */
    17 public class WikosmServerPreferenceTest {
     17public class SophoxServerPreferenceTest {
    1818
    1919    /**
     
    2525
    2626    /**
    27      * Unit test of {@link WikosmServerPreference}.
     27     * Unit test of {@link SophoxServerPreference}.
    2828     */
    2929    @Test
    30     public void testWikosmServerPreference() {
    31         assertNotNull(new WikosmServerPreference.Factory().createPreferenceSetting());
     30    public void testSophoxServerPreference() {
     31        assertNotNull(new SophoxServerPreference.Factory().createPreferenceSetting());
    3232    }
    3333
    3434    /**
    35      * Unit test of {@link WikosmServerPreference#addGui}.
     35     * Unit test of {@link SophoxServerPreference#addGui}.
    3636     */
    3737    @Test
    3838    public void testAddGui() {
    39         PreferencesTestUtils.doTestPreferenceSettingAddGui(new WikosmServerPreference.Factory(), ServerAccessPreference.class);
     39        PreferencesTestUtils.doTestPreferenceSettingAddGui(new SophoxServerPreference.Factory(), ServerAccessPreference.class);
    4040    }
    4141}
  • applications/editors/josm/plugins/wikipedia/test/unit/org/wikipedia/io/SophoxDownloadReaderTest.java

    r33807 r33808  
    2121
    2222/**
    23  * Unit tests of {@link WikosmDownloadReader} class.
     23 * Unit tests of {@link SophoxDownloadReader} class.
    2424 */
    25 public class WikosmDownloadReaderTest {
     25public class SophoxDownloadReaderTest {
    2626
    2727    /**
     
    3737    @Test
    3838    public void testPoint() throws UnsupportedEncodingException {
    39         assertThat(WikosmDownloadReader.point(9.5, 47.16),
     39        assertThat(SophoxDownloadReader.point(9.5, 47.16),
    4040                is("\"Point(9.5 47.16)\"^^geo:wktLiteral"));
    41         assertThat(WikosmDownloadReader.boxParams(1.1, 2.2, 3.3, 4.4),
     41        assertThat(SophoxDownloadReader.boxParams(1.1, 2.2, 3.3, 4.4),
    4242                is("\nbd:serviceParam wikibase:cornerWest \"Point(1.1 2.2)\"^^geo:wktLiteral." +
    4343                        "\nbd:serviceParam wikibase:cornerEast \"Point(3.3 4.4)\"^^geo:wktLiteral.\n"));
     
    5858
    5959        InputStream stream = new ByteArrayInputStream(json.getBytes(StandardCharsets.UTF_8.name()));
    60         List<PrimitiveId> actual = WikosmDownloadReader.getPrimitiveIds(stream);
     60        List<PrimitiveId> actual = SophoxDownloadReader.getPrimitiveIds(stream);
    6161
    6262        List<PrimitiveId> expected = Arrays.asList(new PrimitiveId[]{
Note: See TracChangeset for help on using the changeset viewer.