Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Feature/connect as sysdba #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 19, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Simple test to check if we get what we expect
  • Loading branch information
pesse committed Mar 14, 2019
commit 96d2464538106caf2988b2a314f908b0fce2af36
2 changes: 1 addition & 1 deletion 2 src/main/java/org/utplsql/cli/RunCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public class RunCommand implements ICommand {
private ReporterFactory reporterFactory;
private ReporterManager reporterManager;

private ConnectionInfo getConnectionInfo() {
ConnectionInfo getConnectionInfo() {
return connectionInfoList.get(0);
}

Expand Down
7 changes: 7 additions & 0 deletions 7 src/test/java/org/utplsql/cli/RunCommandTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,11 @@ void reporterOptions_TwoReporters() {
assertTrue(reporterOptions2.outputToScreen());
}

@Test
void connectionString_asSysdba() {
RunCommand runCmd = TestHelper.createRunCommand("sys as sysdba/mypass@connectstring/service");

assertEquals("sys as sysdba/mypass@connectstring/service",
runCmd.getConnectionInfo().getConnectionString());
}
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.