Skip to content
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

Fixed bug with similar suitepaths #469

Merged
merged 4 commits into from
Aug 28, 2017
Merged

Conversation

Pazus
Copy link
Member

@Pazus Pazus commented Aug 26, 2017

resolves #468

Fixed bug with similar suite paths

@Pazus Pazus added the bugfix label Aug 26, 2017
@Pazus Pazus added this to the v3.0.3 milestone Aug 26, 2017
@Pazus Pazus self-assigned this Aug 26, 2017
@Pazus Pazus requested a review from jgebal August 26, 2017 17:28
@@ -424,7 +424,8 @@ create or replace package body ut_suite_manager is
end clean_paths;

procedure skip_by_path(a_suite in out nocopy ut_suite_item, a_path varchar2) is
c_root constant varchar2(32767) := replace(regexp_substr(a_path, '[A-Za-z0-9$#_]+'), '$', '\$');
--c_root constant varchar2(32767) := replace(regexp_substr(a_path, '[A-Za-z0-9$#_]+'), '$', '\$');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to keep this commented code?

@@ -441,7 +442,7 @@ create or replace package body ut_suite_manager is

l_item_name := l_item.name;
--l_item_name := regexp_substr(l_item_name,'[A-Za-z0-9$#_]+$'); -- temporary fix. seems like suite have suitepath in object_name
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have the commented code removed? This temp filx is there since quite some time ;)

@@ -132,6 +132,13 @@ create or replace package test_suite_manager is
--%test
--%disabled
--procedure IncludesPackagesWithSutePath;

--%test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide a description for the test?

@jgebal jgebal merged commit b75dc53 into develop Aug 28, 2017
@jgebal jgebal deleted the bugfix/packages_with_same_path branch August 30, 2017 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Two ut packages with similar names cause issue
2 participants