Skip to content

Commit 6460ad5

Browse files
committed
Renamed files
1 parent 773c43d commit 6460ad5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+94
-93
lines changed

build/translations.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"autoload-dev": {
2727
"psr-4": {
28-
"lloc\\Msls\\": "tests/"
28+
"lloc\\MslsTests\\": "tests/"
2929
}
3030
},
3131
"scripts": {

css/flags.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,40 +31,40 @@
3131
'cs_CZ' => 'flag-icon-cz',
3232
'cy' => 'flag-icon-gb-ls',
3333
'da_DK' => 'flag-icon-dk',
34-
'de_AT' => 'flag-icon-at',
35-
'de_CH_informal' => 'flag-icon-ch',
3634
'de_CH' => 'flag-icon-ch',
35+
'de_AT' => 'flag-icon-at',
3736
'de_DE' => 'flag-icon-de',
3837
'de_DE_formal' => 'flag-icon-de',
38+
'de_CH_informal' => 'flag-icon-ch',
3939
'dzo' => 'flag-icon-bt',
4040
'el' => 'flag-icon-gr',
41-
'en_ZA' => 'flag-icon-za',
42-
'en_GB' => 'flag-icon-gb',
43-
'en_AU' => 'flag-icon-au',
4441
'en_NZ' => 'flag-icon-nz',
42+
'en_AU' => 'flag-icon-au',
4543
'en_CA' => 'flag-icon-ca',
44+
'en_GB' => 'flag-icon-gb',
45+
'en_ZA' => 'flag-icon-za',
4646
'eo' => 'flag-icon-eu',
47-
'es_VE' => 'flag-icon-ve',
4847
'es_MX' => 'flag-icon-mx',
4948
'es_ES' => 'flag-icon-es',
50-
'es_CR' => 'flag-icon-cr',
49+
'es_CL' => 'flag-icon-cl',
5150
'es_CO' => 'flag-icon-co',
51+
'es_CR' => 'flag-icon-cr',
52+
'es_VE' => 'flag-icon-ve',
5253
'es_EC' => 'flag-icon-ec',
53-
'es_PE' => 'flag-icon-pe',
5454
'es_DO' => 'flag-icon-do',
55+
'es_PE' => 'flag-icon-pe',
5556
'es_UY' => 'flag-icon-uy',
56-
'es_CL' => 'flag-icon-cl',
5757
'es_PR' => 'flag-icon-pr',
58-
'es_AR' => 'flag-icon-ar',
5958
'es_GT' => 'flag-icon-gt',
59+
'es_AR' => 'flag-icon-ar',
6060
'et' => 'flag-icon-ee',
6161
'eu' => 'flag-icon-es',
62-
'fa_IR' => 'flag-icon-ir',
6362
'fa_AF' => 'flag-icon-af',
63+
'fa_IR' => 'flag-icon-ir',
6464
'fi' => 'flag-icon-fi',
65-
'fr_CA' => 'flag-icon-ca',
66-
'fr_FR' => 'flag-icon-fr',
6765
'fr_BE' => 'flag-icon-be',
66+
'fr_FR' => 'flag-icon-fr',
67+
'fr_CA' => 'flag-icon-ca',
6868
'fur' => 'flag-icon-it',
6969
'gd' => 'flag-icon-gb-sct',
7070
'gl_ES' => 'flag-icon-es',
@@ -97,18 +97,18 @@
9797
'my_MM' => 'flag-icon-mm',
9898
'nb_NO' => 'flag-icon-no',
9999
'ne_NP' => 'flag-icon-np',
100-
'nl_NL_formal' => 'flag-icon-nl',
101100
'nl_NL' => 'flag-icon-nl',
102101
'nl_BE' => 'flag-icon-be',
102+
'nl_NL_formal' => 'flag-icon-nl',
103103
'nn_NO' => 'flag-icon-no',
104104
'oci' => 'flag-icon-es-ca',
105105
'pa_IN' => 'flag-icon-in',
106106
'pl_PL' => 'flag-icon-pl',
107107
'ps' => 'flag-icon-af',
108-
'pt_AO' => 'flag-icon-ao',
109-
'pt_PT' => 'flag-icon-pt',
110-
'pt_BR' => 'flag-icon-br',
111108
'pt_PT_ao90' => 'flag-icon-90',
109+
'pt_BR' => 'flag-icon-br',
110+
'pt_PT' => 'flag-icon-pt',
111+
'pt_AO' => 'flag-icon-ao',
112112
'ro_RO' => 'flag-icon-ro',
113113
'ru_RU' => 'flag-icon-ru',
114114
'sah' => 'flag-icon-ru',
@@ -133,9 +133,9 @@
133133
'ur' => 'flag-icon-pk',
134134
'uz_UZ' => 'flag-icon-uz',
135135
'vi' => 'flag-icon-vn',
136-
'zh_TW' => 'flag-icon-tw',
137136
'zh_CN' => 'flag-icon-cn',
138137
'zh_HK' => 'flag-icon-hk',
138+
'zh_TW' => 'flag-icon-tw',
139139
];
140140

141141
/**

flags/flags.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,40 +31,40 @@
3131
'cs_CZ' => 'cz.png',
3232
'cy' => 'wales.png',
3333
'da_DK' => 'dk.png',
34-
'de_AT' => 'at.png',
35-
'de_CH_informal' => 'ch.png',
3634
'de_CH' => 'ch.png',
35+
'de_AT' => 'at.png',
3736
'de_DE' => 'de.png',
3837
'de_DE_formal' => 'de.png',
38+
'de_CH_informal' => 'ch.png',
3939
'dzo' => 'bt.png',
4040
'el' => 'gr.png',
41-
'en_ZA' => 'za.png',
42-
'en_GB' => 'gb.png',
43-
'en_AU' => 'au.png',
4441
'en_NZ' => 'nz.png',
42+
'en_AU' => 'au.png',
4543
'en_CA' => 'ca.png',
44+
'en_GB' => 'gb.png',
45+
'en_ZA' => 'za.png',
4646
'eo' => 'europeanunion.png',
47-
'es_VE' => 've.png',
4847
'es_MX' => 'mx.png',
4948
'es_ES' => 'es.png',
50-
'es_CR' => 'cr.png',
49+
'es_CL' => 'cl.png',
5150
'es_CO' => 'co.png',
51+
'es_CR' => 'cr.png',
52+
'es_VE' => 've.png',
5253
'es_EC' => 'ec.png',
53-
'es_PE' => 'pe.png',
5454
'es_DO' => 'do.png',
55+
'es_PE' => 'pe.png',
5556
'es_UY' => 'uy.png',
56-
'es_CL' => 'cl.png',
5757
'es_PR' => 'pr.png',
58-
'es_AR' => 'ar.png',
5958
'es_GT' => 'gt.png',
59+
'es_AR' => 'ar.png',
6060
'et' => 'ee.png',
6161
'eu' => 'es.png',
62-
'fa_IR' => 'ir.png',
6362
'fa_AF' => 'af.png',
63+
'fa_IR' => 'ir.png',
6464
'fi' => 'fi.png',
65-
'fr_CA' => 'ca.png',
66-
'fr_FR' => 'fr.png',
6765
'fr_BE' => 'be.png',
66+
'fr_FR' => 'fr.png',
67+
'fr_CA' => 'ca.png',
6868
'fur' => 'it.png',
6969
'gd' => 'scotland.png',
7070
'gl_ES' => 'es.png',
@@ -97,18 +97,18 @@
9797
'my_MM' => 'mm.png',
9898
'nb_NO' => 'no.png',
9999
'ne_NP' => 'np.png',
100-
'nl_NL_formal' => 'nl.png',
101100
'nl_NL' => 'nl.png',
102101
'nl_BE' => 'be.png',
102+
'nl_NL_formal' => 'nl.png',
103103
'nn_NO' => 'no.png',
104104
'oci' => 'catalonia.png',
105105
'pa_IN' => 'in.png',
106106
'pl_PL' => 'pl.png',
107107
'ps' => 'af.png',
108-
'pt_AO' => 'ao.png',
109-
'pt_PT' => 'pt.png',
110-
'pt_BR' => 'br.png',
111108
'pt_PT_ao90' => '90.png',
109+
'pt_BR' => 'br.png',
110+
'pt_PT' => 'pt.png',
111+
'pt_AO' => 'ao.png',
112112
'ro_RO' => 'ro.png',
113113
'ru_RU' => 'ru.png',
114114
'sah' => 'ru.png',
@@ -133,9 +133,9 @@
133133
'ur' => 'pk.png',
134134
'uz_UZ' => 'uz.png',
135135
'vi' => 'vn.png',
136-
'zh_TW' => 'tw.png',
137136
'zh_CN' => 'cn.png',
138137
'zh_HK' => 'hk.png',
138+
'zh_TW' => 'tw.png',
139139
];
140140

141141
/**

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
<const name="WP_DEBUG" value="true"/>
1111
</php>
1212
<testsuite name="Internal tests">
13-
<directory prefix="test-" suffix=".php">./tests/</directory>
13+
<directory prefix="Test" suffix=".php">./tests/</directory>
1414
</testsuite>
1515
</phpunit>

tests/Component/Icon/test-iconpng.php renamed to tests/Component/Icon/TestIconPng.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
namespace lloc\MslsTests;
3+
namespace lloc\Msls\Component\Icon\MslsTests;
44

55
use Brain\Monkey\Functions;
6-
6+
use lloc\MslsTests\Msls_UnitTestCase;
77
use lloc\Msls\Component\Icon\IconPng;
88

9-
class WP_Test_IconPng extends Msls_UnitTestCase {
9+
class TestIconPng extends Msls_UnitTestCase {
1010

1111
public function test_get() {
1212
Functions\when( 'plugin_dir_path' )->justReturn( dirname( __DIR__, 3 ) . '/' );

tests/Component/Icon/test-iconsvg.php renamed to tests/Component/Icon/TestIconSvg.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
namespace lloc\MslsTests;
3+
namespace lloc\Msls\Component\Icon\MslsTests;
44

55
use Brain\Monkey\Functions;
6-
6+
use lloc\MslsTests\Msls_UnitTestCase;
77
use lloc\Msls\Component\Icon\IconSvg;
88

9-
class WP_Test_IconSvg extends Msls_UnitTestCase {
9+
class TestIconSvg extends Msls_UnitTestCase {
1010

1111
public function test_get() {
1212
Functions\when( 'plugin_dir_path' )->justReturn( dirname( __DIR__, 3 ) . '/' );

tests/Map/test-hreflang.php renamed to tests/Map/TestHrefLang.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<?php
22

3-
namespace lloc\MslsTests;
3+
namespace lloc\Map\MslsTests;
44

55
use Brain\Monkey\Functions;
66
use Brain\Monkey\Filters;
77

8+
use lloc\MslsTests\Msls_UnitTestCase;
89
use lloc\Msls\Map\HrefLang;
910
use lloc\Msls\MslsBlog;
1011
use lloc\Msls\MslsBlogCollection;
1112

12-
class WP_Test_HrefLang extends Msls_UnitTestCase {
13+
class TestHrefLang extends Msls_UnitTestCase {
1314

1415
public function get_sut() {
1516
$map = [

tests/test-mslsadmin.php renamed to tests/TestMslsAdmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use lloc\Msls\MslsOptions;
1010
use lloc\Msls\MslsBlogCollection;
1111

12-
class WP_Test_MslsAdmin extends Msls_UnitTestCase {
12+
class TestMslsAdmin extends Msls_UnitTestCase {
1313

1414
public function get_sut( $users = [] ) {
1515
Functions\when( 'get_option' )->justReturn( [] );

tests/test-mslsadminicon.php renamed to tests/TestMslsAdminicon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use lloc\Msls\MslsAdminIcon;
66
use Brain\Monkey\Functions;
77

8-
class WP_Test_MslsAdminIcon extends Msls_UnitTestCase {
8+
class TestMslsAdminIcon extends Msls_UnitTestCase {
99

1010
protected $admin_url = 'https://example.org/wp-admin/';
1111

tests/test-mslsadminicontaxonomy.php renamed to tests/TestMslsAdminicontaxonomy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use lloc\Msls\MslsAdminIconTaxonomy;
66
use Brain\Monkey\Functions;
77

8-
class WP_Test_MslsAdminIconTaxonomy extends Msls_UnitTestCase {
8+
class TestMslsAdminIconTaxonomy extends Msls_UnitTestCase {
99

1010
const LANGUAGE = 'de_DE';
1111
const IMAGE_SRC = '/dev/german_flag.png';

tests/test-mslsblog.php renamed to tests/TestMslsBlog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use lloc\Msls\MslsOptions;
88
use lloc\Msls\MslsBlogCollection;
99

10-
class WP_Test_MslsBlog extends Msls_UnitTestCase {
10+
class TestMslsBlog extends Msls_UnitTestCase {
1111

1212
public function get_blog(): MslsBlog {
1313
Functions\expect( 'get_blog_option' )->once()->andReturn( 'it_IT' );

tests/test-mslsblogcollection.php renamed to tests/TestMslsBlogcollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
use lloc\Msls\MslsPlugin;
1111

1212
/**
13-
* WP_Test_MslsBlogCollection
13+
* TestMslsBlogCollection
1414
*/
15-
class WP_Test_MslsBlogCollection extends Msls_UnitTestCase {
15+
class TestMslsBlogCollection extends Msls_UnitTestCase {
1616

1717
public function setUp(): void {
1818
parent::setUp(); // TODO: Change the autogenerated stub

tests/test-mslscontenttypes.php renamed to tests/TestMslsContenttypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use lloc\Msls\MslsContentTypes;
77
use lloc\Msls\MslsPostType;
88

9-
class WP_Test_MslsContentTypes extends Msls_UnitTestCase {
9+
class TestMslsContentTypes extends Msls_UnitTestCase {
1010

1111
public function test_create() {
1212
Functions\expect('get_post_types' )->twice()->andReturn( [] );

tests/test-mslscustomcolumn.php renamed to tests/TestMslsCustomcolumn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use lloc\Msls\MslsBlogCollection;
99
use Brain\Monkey\Functions;
1010

11-
class WP_Test_MslsCustomColumn extends Msls_UnitTestCase {
11+
class TestMslsCustomColumn extends Msls_UnitTestCase {
1212

1313
function test_th() {
1414
Functions\expect( 'add_query_arg' )->twice()->andReturn( 'https://example.org/added-args' );

tests/test-mslscustomcolumntaxonomy.php renamed to tests/TestMslsCustomcolumntaxonomy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use lloc\Msls\MslsCustomColumnTaxonomy;
88
use lloc\Msls\MslsOptions;
99

10-
class WP_Test_MslsCustomColumnTaxonomy extends Msls_UnitTestCase {
10+
class TestMslsCustomColumnTaxonomy extends Msls_UnitTestCase {
1111

1212
public function test_th(): void {
1313
$options = \Mockery::mock( MslsOptions::class );

tests/test-mslscustomfilter.php renamed to tests/TestMslsCustomfilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use lloc\Msls\MslsOptions;
88
use Mockery\Mock;
99

10-
class WP_Test_MslsCustomFilter extends Msls_UnitTestCase {
10+
class TestMslsCustomFilter extends Msls_UnitTestCase {
1111

1212
function test_execute_filter() {
1313
$options = \Mockery::mock( MslsOptions::class );

tests/test-mslsgetset.php renamed to tests/TestMslsGetset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use lloc\Msls\MslsGetSet;
66

7-
class WP_Test_MslsGetSet extends Msls_UnitTestCase {
7+
class TestMslsGetSet extends Msls_UnitTestCase {
88

99
public function test_unset() {
1010
$obj = new MslsGetSet();

tests/test-mslsjson.php renamed to tests/TestMslsJson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use lloc\Msls\MslsJson;
66

7-
class WP_Test_MslsJson extends Msls_UnitTestCase {
7+
class TestMslsJson extends Msls_UnitTestCase {
88

99
public function test_get() {
1010
$obj = ( new MslsJson() )->add( null, 'Test 3' )->add( '2', 'Test 2' )->add( 1, 'Test 1' );

tests/test-mslslanguagearray.php renamed to tests/TestMslsLanguagearray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use lloc\Msls\MslsLanguageArray;
66

7-
class WP_Test_MslsLanguageArray extends Msls_UnitTestCase {
7+
class TestMslsLanguageArray extends Msls_UnitTestCase {
88

99
public function get_test() {
1010
$arr = array(

tests/test-mslslink.php renamed to tests/TestMslsLink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Brain\Monkey\Functions;
66
use lloc\Msls\MslsLink;
77

8-
class WP_Test_MslsLink extends Msls_UnitTestCase {
8+
class TestMslsLink extends Msls_UnitTestCase {
99

1010
public function test_get_types() {
1111
$this->assertCount( 4, MslsLink::get_types() );

tests/test-mslslinkimageonly.php renamed to tests/TestMslsLinkimageonly.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Brain\Monkey\Functions;
66
use lloc\Msls\MslsLinkImageOnly;
77

8-
class WP_Test_MslsLinkImageOnly extends Msls_UnitTestCase {
8+
class TestMslsLinkImageOnly extends Msls_UnitTestCase {
99

1010
function test_get_description_method() {
1111
Functions\when( '__' )->returnArg();

tests/test-mslslinktextimage.php renamed to tests/TestMslsLinktextimage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Brain\Monkey\Functions;
66
use lloc\Msls\MslsLinkTextImage;
77

8-
class WP_Test_MslsLinkTextImage extends Msls_UnitTestCase {
8+
class TestMslsLinkTextImage extends Msls_UnitTestCase {
99

1010
function test_get_description_method() {
1111
Functions\when( '__' )->returnArg();

tests/test-mslslinktextonly.php renamed to tests/TestMslsLinktextonly.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Brain\Monkey\Functions;
66
use lloc\Msls\MslsLinkTextOnly;
77

8-
class WP_Test_MslsLinkTextOnly extends Msls_UnitTestCase {
8+
class TestMslsLinkTextOnly extends Msls_UnitTestCase {
99

1010
function test_get_description_method() {
1111
Functions\when( '__' )->returnArg();

tests/test-mslsmain.php renamed to tests/TestMslsMain.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use lloc\Msls\MslsBlogCollection;
99
use Brain\Monkey\Functions;
1010

11-
class WP_Test_MslsMain extends Msls_UnitTestCase {
11+
class TestMslsMain extends Msls_UnitTestCase {
1212

1313
public function get_sut() {
1414
Functions\when( 'get_options' )->justReturn( [] );

0 commit comments

Comments
 (0)