File tree Expand file tree Collapse file tree 7 files changed +144
-0
lines changed
java/org/utplsql/maven/plugin
resources-its/org/utplsql/maven/plugin/UtPlsqlMojoIT Expand file tree Collapse file tree 7 files changed +144
-0
lines changed Original file line number Diff line number Diff line change @@ -82,4 +82,19 @@ void ora_stuck_timeout(MavenExecutionResult result) {
8282
8383 assertThatReportsAreGeneratedAsExpected (result , "sonar-test-report.xml" , "coverage-sonar-report.xml" );
8484 }
85+
86+ @ MavenTest
87+ void exclude_object_expr (MavenExecutionResult result ) {
88+ assertThat (result ).isSuccessful ();
89+
90+ assertThatReportsAreGeneratedAsExpected (result , "sonar-test-report.xml" , "coverage-sonar-report.xml" );
91+ }
92+
93+ @ MavenTest
94+ void include_object_expr (MavenExecutionResult result ) {
95+ assertThat (result ).isSuccessful ();
96+
97+ assertThatReportsAreGeneratedAsExpected (result , "sonar-test-report.xml" , "coverage-sonar-report.xml" );
98+ }
99+
85100}
Original file line number Diff line number Diff line change 1+ <coverage version =" 1" >
2+ </coverage >
Original file line number Diff line number Diff line change 1+ <testExecutions version =" 1" >
2+ <file path =" plsql.examples.test_pkg_test_me" >
3+ <testCase name =" test_fc_input_1" duration =" 1" ></testCase >
4+ <testCase name =" test_fc_input_0" duration =" 1" ></testCase >
5+ <testCase name =" test_fc_input_null" duration =" 1" ></testCase >
6+ <testCase name =" test_pr_test_me_null" duration =" 1" ></testCase >
7+ <testCase name =" test_pr_test_me_not_null" duration =" 1" ></testCase >
8+ <testCase name =" test_pr_test_me_exists" duration =" 1" ></testCase >
9+ <testCase name =" test_pr_test_me_cursor" duration =" 1" ></testCase >
10+ </file >
11+ </testExecutions >
Original file line number Diff line number Diff line change 1+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
2+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+
6+ <groupId >org.utplsql</groupId >
7+ <artifactId >owner-param</artifactId >
8+ <version >1.0.0</version >
9+ <packaging >pom</packaging >
10+
11+ <properties >
12+ <dbUrl >jdbc:oracle:thin:@localhost:1521:xe</dbUrl >
13+ <dbUser >UT3</dbUser >
14+ <dbPass >UT3</dbPass >
15+ </properties >
16+
17+ <build >
18+ <plugins >
19+ <plugin >
20+ <groupId >org.utplsql</groupId >
21+ <artifactId >utplsql-maven-plugin</artifactId >
22+ <version >@project.version@</version >
23+ <executions >
24+ <execution >
25+ <goals >
26+ <goal >test</goal >
27+ </goals >
28+ <configuration >
29+ <ignoreFailure >false</ignoreFailure >
30+ <paths >
31+ <path >TESTS_OWNER</path >
32+ </paths >
33+ <reporters >
34+ <reporter >
35+ <name >UT_COVERAGE_SONAR_REPORTER</name >
36+ <fileOutput >utplsql/coverage-sonar-report.xml</fileOutput >
37+ <consoleOutput >true</consoleOutput >
38+ </reporter >
39+ <reporter >
40+ <name >UT_SONAR_TEST_REPORTER</name >
41+ <fileOutput >utplsql/sonar-test-report.xml</fileOutput >
42+ <consoleOutput >true</consoleOutput >
43+ </reporter >
44+ </reporters >
45+ <excludeObjectExpr >*pkg_test_me</excludeObjectExpr >
46+ </configuration >
47+ </execution >
48+ </executions >
49+ </plugin >
50+ </plugins >
51+ </build >
52+ </project >
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ <testExecutions version =" 1" >
2+ <file path =" plsql.examples.test_pkg_test_me" >
3+ <testCase name =" test_fc_input_1" duration =" 1" ></testCase >
4+ <testCase name =" test_fc_input_0" duration =" 1" ></testCase >
5+ <testCase name =" test_fc_input_null" duration =" 1" ></testCase >
6+ <testCase name =" test_pr_test_me_null" duration =" 1" ></testCase >
7+ <testCase name =" test_pr_test_me_not_null" duration =" 1" ></testCase >
8+ <testCase name =" test_pr_test_me_exists" duration =" 1" ></testCase >
9+ <testCase name =" test_pr_test_me_cursor" duration =" 1" ></testCase >
10+ </file >
11+ </testExecutions >
Original file line number Diff line number Diff line change 1+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
2+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+
6+ <groupId >org.utplsql</groupId >
7+ <artifactId >owner-param</artifactId >
8+ <version >1.0.0</version >
9+ <packaging >pom</packaging >
10+
11+ <properties >
12+ <dbUrl >jdbc:oracle:thin:@localhost:1521:xe</dbUrl >
13+ <dbUser >UT3</dbUser >
14+ <dbPass >UT3</dbPass >
15+ </properties >
16+
17+ <build >
18+ <plugins >
19+ <plugin >
20+ <groupId >org.utplsql</groupId >
21+ <artifactId >utplsql-maven-plugin</artifactId >
22+ <version >@project.version@</version >
23+ <executions >
24+ <execution >
25+ <goals >
26+ <goal >test</goal >
27+ </goals >
28+ <configuration >
29+ <ignoreFailure >false</ignoreFailure >
30+ <paths >
31+ <path >TESTS_OWNER</path >
32+ </paths >
33+ <reporters >
34+ <reporter >
35+ <name >UT_COVERAGE_SONAR_REPORTER</name >
36+ <fileOutput >utplsql/coverage-sonar-report.xml</fileOutput >
37+ <consoleOutput >true</consoleOutput >
38+ </reporter >
39+ <reporter >
40+ <name >UT_SONAR_TEST_REPORTER</name >
41+ <fileOutput >utplsql/sonar-test-report.xml</fileOutput >
42+ <consoleOutput >true</consoleOutput >
43+ </reporter >
44+ </reporters >
45+ <includeObjectExpr >app.*</includeObjectExpr >
46+ </configuration >
47+ </execution >
48+ </executions >
49+ </plugin >
50+ </plugins >
51+ </build >
52+ </project >
You can’t perform that action at this time.
0 commit comments