forked from utPLSQL/utPLSQL-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPathMapperTest.java
More file actions
26 lines (21 loc) · 773 Bytes
/
PathMapperTest.java
File metadata and controls
26 lines (21 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package org.utplsql.cli;
import org.junit.jupiter.api.Test;
import org.utplsql.api.TestRunner;
import java.util.ArrayList;
public class PathMapperTest {
@Test
void checkPathMapperOutput() {
IRunCommand runCmd = TestHelper.createRunCommand(TestHelper.getConnectionString(),
"-f=ut_sonar_test_reporter",
"-o=sonar_result.xml",
"-s",
"-d",
"-source_path=src/test/resources/plsql/source",
"-owner=app",
"-regex_expression=\"*\"",
"-type_mapping=\"sql=PACKAGE BODY\"",
"-test_path=src/test/resources/plsql/test"
);
TestRunner testRunner = runCmd.newTestRunner(new ArrayList<>());;
}
}