-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added integration test for include schema by expression
- Loading branch information
Showing
7 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...lugin/UtPlsqlMojoIT/exclude_object_expr/expected-output/utplsql/coverage-sonar-report.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<coverage version="1"> | ||
</coverage> |
11 changes: 11 additions & 0 deletions
11
...en/plugin/UtPlsqlMojoIT/exclude_object_expr/expected-output/utplsql/sonar-test-report.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<testExecutions version="1"> | ||
<file path="plsql.examples.test_pkg_test_me"> | ||
<testCase name="test_fc_input_1" duration="1" ></testCase> | ||
<testCase name="test_fc_input_0" duration="1" ></testCase> | ||
<testCase name="test_fc_input_null" duration="1" ></testCase> | ||
<testCase name="test_pr_test_me_null" duration="1" ></testCase> | ||
<testCase name="test_pr_test_me_not_null" duration="1" ></testCase> | ||
<testCase name="test_pr_test_me_exists" duration="1" ></testCase> | ||
<testCase name="test_pr_test_me_cursor" duration="1" ></testCase> | ||
</file> | ||
</testExecutions> |
52 changes: 52 additions & 0 deletions
52
src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/exclude_object_expr/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.utplsql</groupId> | ||
<artifactId>owner-param</artifactId> | ||
<version>1.0.0</version> | ||
<packaging>pom</packaging> | ||
|
||
<properties> | ||
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl> | ||
<dbUser>UT3</dbUser> | ||
<dbPass>UT3</dbPass> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.utplsql</groupId> | ||
<artifactId>utplsql-maven-plugin</artifactId> | ||
<version>@project.version@</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>test</goal> | ||
</goals> | ||
<configuration> | ||
<ignoreFailure>false</ignoreFailure> | ||
<paths> | ||
<path>TESTS_OWNER</path> | ||
</paths> | ||
<reporters> | ||
<reporter> | ||
<name>UT_COVERAGE_SONAR_REPORTER</name> | ||
<fileOutput>utplsql/coverage-sonar-report.xml</fileOutput> | ||
<consoleOutput>true</consoleOutput> | ||
</reporter> | ||
<reporter> | ||
<name>UT_SONAR_TEST_REPORTER</name> | ||
<fileOutput>utplsql/sonar-test-report.xml</fileOutput> | ||
<consoleOutput>true</consoleOutput> | ||
</reporter> | ||
</reporters> | ||
<excludeObjectExpr>*pkg_test_me</excludeObjectExpr> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
1 change: 1 addition & 0 deletions
1
...lugin/UtPlsqlMojoIT/include_object_expr/expected-output/utplsql/coverage-sonar-report.xml
Large diffs are not rendered by default.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...en/plugin/UtPlsqlMojoIT/include_object_expr/expected-output/utplsql/sonar-test-report.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<testExecutions version="1"> | ||
<file path="plsql.examples.test_pkg_test_me"> | ||
<testCase name="test_fc_input_1" duration="1" ></testCase> | ||
<testCase name="test_fc_input_0" duration="1" ></testCase> | ||
<testCase name="test_fc_input_null" duration="1" ></testCase> | ||
<testCase name="test_pr_test_me_null" duration="1" ></testCase> | ||
<testCase name="test_pr_test_me_not_null" duration="1" ></testCase> | ||
<testCase name="test_pr_test_me_exists" duration="1" ></testCase> | ||
<testCase name="test_pr_test_me_cursor" duration="1" ></testCase> | ||
</file> | ||
</testExecutions> |
52 changes: 52 additions & 0 deletions
52
src/test/resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT/include_object_expr/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.utplsql</groupId> | ||
<artifactId>owner-param</artifactId> | ||
<version>1.0.0</version> | ||
<packaging>pom</packaging> | ||
|
||
<properties> | ||
<dbUrl>jdbc:oracle:thin:@localhost:1521:xe</dbUrl> | ||
<dbUser>UT3</dbUser> | ||
<dbPass>UT3</dbPass> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.utplsql</groupId> | ||
<artifactId>utplsql-maven-plugin</artifactId> | ||
<version>@project.version@</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>test</goal> | ||
</goals> | ||
<configuration> | ||
<ignoreFailure>false</ignoreFailure> | ||
<paths> | ||
<path>TESTS_OWNER</path> | ||
</paths> | ||
<reporters> | ||
<reporter> | ||
<name>UT_COVERAGE_SONAR_REPORTER</name> | ||
<fileOutput>utplsql/coverage-sonar-report.xml</fileOutput> | ||
<consoleOutput>true</consoleOutput> | ||
</reporter> | ||
<reporter> | ||
<name>UT_SONAR_TEST_REPORTER</name> | ||
<fileOutput>utplsql/sonar-test-report.xml</fileOutput> | ||
<consoleOutput>true</consoleOutput> | ||
</reporter> | ||
</reporters> | ||
<includeObjectExpr>app.*</includeObjectExpr> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |