Skip to content

Commit 51f8ce6

Browse files
committed
Renamed to uppercase
1 parent 0d9171a commit 51f8ce6

3 files changed

Lines changed: 13 additions & 14 deletions

File tree

src/main/java/org/utplsql/maven/plugin/UtPlsqlMojo.java renamed to src/main/java/org/utplsql/maven/plugin/UtPLSQLMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* @author Simon Martinelli
4545
*/
4646
@Mojo(name = "test", defaultPhase = LifecyclePhase.TEST)
47-
public class UtPlsqlMojo extends AbstractMojo {
47+
public class UtPLSQLMojo extends AbstractMojo {
4848

4949
@Parameter(readonly = true, defaultValue = "${project}")
5050
MavenProject project;

src/test/java/org/utplsql/maven/plugin/MojoRuleTest.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void setUp() throws Exception {
7272
*/
7373
@Test
7474
public void invalidSourcesDirectory() throws Exception {
75-
UtPlsqlMojo utplsqlMojo = (UtPlsqlMojo) rule
75+
UtPLSQLMojo utplsqlMojo = (UtPLSQLMojo) rule
7676
.lookupConfiguredMojo(new File("src/test/resources/unit-tests/invalid-sources-directories/"), "test");
7777
assertNotNull(utplsqlMojo);
7878

@@ -90,7 +90,7 @@ public void invalidSourcesDirectory() throws Exception {
9090
*/
9191
@Test
9292
public void invalidTestsDirectory() throws Exception {
93-
UtPlsqlMojo utplsqlMojo = (UtPlsqlMojo) rule
93+
UtPLSQLMojo utplsqlMojo = (UtPLSQLMojo) rule
9494
.lookupConfiguredMojo(new File("src/test/resources/unit-tests/invalid-tests-sources-directories/"), "test");
9595
assertNotNull(utplsqlMojo);
9696

@@ -108,7 +108,7 @@ public void invalidTestsDirectory() throws Exception {
108108
*/
109109
@Test
110110
public void sourcesTestsParameters() throws Exception {
111-
UtPlsqlMojo utplsqlMojo = (UtPlsqlMojo) rule
111+
UtPLSQLMojo utplsqlMojo = (UtPLSQLMojo) rule
112112
.lookupConfiguredMojo(new File("src/test/resources/unit-tests/test-sources-tests-params/"), "test");
113113
assertNotNull(utplsqlMojo);
114114

@@ -151,7 +151,7 @@ public void sourcesTestsParameters() throws Exception {
151151
*/
152152
@Test
153153
public void sourcesAndTestsParameterDoesNotExist() throws Exception {
154-
UtPlsqlMojo utplsqlMojo = (UtPlsqlMojo) rule.lookupConfiguredMojo(
154+
UtPLSQLMojo utplsqlMojo = (UtPLSQLMojo) rule.lookupConfiguredMojo(
155155
new File("src/test/resources/unit-tests/test-no-sources-tests-params/directory-does-not-exist/"), "test");
156156
assertNotNull(utplsqlMojo);
157157

@@ -173,7 +173,7 @@ public void sourcesAndTestsParameterDoesNotExist() throws Exception {
173173
*/
174174
@Test
175175
public void sourcesAndTestsParameterDoesNotExistButDefaultDirectoryExists() throws Exception {
176-
UtPlsqlMojo utplsqlMojo = (UtPlsqlMojo) rule
176+
UtPLSQLMojo utplsqlMojo = (UtPLSQLMojo) rule
177177
.lookupConfiguredMojo(new File("src/test/resources/unit-tests/test-no-sources-tests-params/directory-exists/"), "test");
178178
assertNotNull(utplsqlMojo);
179179

@@ -199,7 +199,7 @@ public void sourcesAndTestsParameterDoesNotExistButDefaultDirectoryExists() thro
199199
*/
200200
@Test
201201
public void sourcesAndTestsParameterHaveNotDirectoryTag() throws Exception {
202-
UtPlsqlMojo utplsqlMojo = (UtPlsqlMojo) rule
202+
UtPLSQLMojo utplsqlMojo = (UtPLSQLMojo) rule
203203
.lookupConfiguredMojo(new File("src/test/resources/unit-tests/partial-source-and-test-tag/missing-directory/"), "test");
204204
assertNotNull(utplsqlMojo);
205205

@@ -226,7 +226,7 @@ public void sourcesAndTestsParameterHaveNotDirectoryTag() throws Exception {
226226
*/
227227
@Test
228228
public void sourcesAndTestsParameterHaveNotIncludesTag() throws Exception {
229-
UtPlsqlMojo utplsqlMojo = (UtPlsqlMojo) rule
229+
UtPLSQLMojo utplsqlMojo = (UtPLSQLMojo) rule
230230
.lookupConfiguredMojo(new File("src/test/resources/unit-tests/partial-source-and-test-tag/missing-includes/"), "test");
231231
assertNotNull(utplsqlMojo);
232232

@@ -248,7 +248,7 @@ public void sourcesAndTestsParameterHaveNotIncludesTag() throws Exception {
248248
*/
249249
@Test
250250
public void defaultConsoleBehaviour() throws Exception {
251-
UtPlsqlMojo utplsqlMojo = (UtPlsqlMojo) rule
251+
UtPLSQLMojo utplsqlMojo = (UtPLSQLMojo) rule
252252
.lookupConfiguredMojo(new File("src/test/resources/unit-tests/default-console-output-behaviour/"), "test");
253253
assertNotNull(utplsqlMojo);
254254

@@ -296,7 +296,7 @@ public void defaultConsoleBehaviour() throws Exception {
296296
*/
297297
@Test
298298
public void addDefaultReporter() throws Exception {
299-
UtPlsqlMojo utplsqlMojo = (UtPlsqlMojo) rule
299+
UtPLSQLMojo utplsqlMojo = (UtPLSQLMojo) rule
300300
.lookupConfiguredMojo(new File("src/test/resources/unit-tests/default-console-output-behaviour/"), "test");
301301
assertNotNull(utplsqlMojo);
302302

@@ -324,7 +324,7 @@ public void addDefaultReporter() throws Exception {
324324
*/
325325
@Test
326326
public void skipUtplsqlTests() throws Exception {
327-
UtPlsqlMojo utplsqlMojo = (UtPlsqlMojo) rule
327+
UtPLSQLMojo utplsqlMojo = (UtPLSQLMojo) rule
328328
.lookupConfiguredMojo(new File("src/test/resources/unit-tests/skip-utplsql-tests/"), "test");
329329
assertNotNull(utplsqlMojo);
330330

src/test/java/org/utplsql/maven/plugin/UtPlsqlMojoIT.java renamed to src/test/java/org/utplsql/maven/plugin/UtPLSQLMojoIT.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
import org.apache.maven.plugin.MojoExecutionException;
44
import org.apache.maven.project.MavenProject;
55
import org.junit.Test;
6-
import org.mockito.Mock;
76

8-
public class UtPlsqlMojoIT {
7+
public class UtPLSQLMojoIT {
98

109
@Test
1110
public void execute() throws MojoExecutionException {
12-
UtPlsqlMojo utPlsqlMojo = new UtPlsqlMojo();
11+
UtPLSQLMojo utPlsqlMojo = new UtPLSQLMojo();
1312
utPlsqlMojo.project = new MavenProject();
1413
utPlsqlMojo.url = "jdbc:oracle:thin:@127.0.0.1:1521:XE";
1514
utPlsqlMojo.user = "UT3";

0 commit comments

Comments
 (0)