Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
898fe26
Updated project version after build [skip ci]
Sep 3, 2019
c59671d
Merge branch 'master' into develop
jgebal Sep 4, 2019
307a169
Updated version to 3.1.9
jgebal Sep 4, 2019
83b66c0
Updated project version after build [skip ci]
Sep 4, 2019
3c88874
Update .gitattributes
Pazus Sep 10, 2019
2de010d
Update .gitattributes
Pazus Sep 10, 2019
f1e5c89
Merge pull request #991 from utPLSQL/linguist-language-PLSQL
PhilippSalvisberg Sep 10, 2019
a3faea4
Updated project version after build [skip ci]
Sep 10, 2019
3ef06eb
Fix check of sys grants with ANY (issue #992)
mickev-of Sep 12, 2019
976ab4d
Merge pull request #993 from MickeVr/develop
jgebal Sep 13, 2019
48b9d2e
Updated project version after build [skip ci]
Sep 13, 2019
c61f954
Corrected rebuild_annotation_cache parameter
abasharin Sep 20, 2019
8739173
Merge pull request #995 from abasharin/develop
jgebal Sep 21, 2019
a02eed8
Updated project version after build [skip ci]
Sep 21, 2019
169d0fe
Changed names on internal columns in cursor & object compare.
jgebal Sep 22, 2019
f3cfc18
Merge pull request #999 from utPLSQL/feature/cursor_compare_columns
jgebal Sep 23, 2019
ba6243b
Updated project version after build [skip ci]
Sep 23, 2019
41ef9bb
Fixed test dependency.
jgebal Sep 27, 2019
87db227
Merge pull request #1001 from utPLSQL/fix/unit_test_dependency
jgebal Sep 27, 2019
14b6243
Fixed issue with stack parsing on Windows install of utPLSQL
jgebal Sep 27, 2019
268a65b
Merge pull request #1002 from utPLSQL/bugfix/call_stack_parsing
jgebal Sep 28, 2019
2f89527
Updated project version after build [skip ci]
Sep 28, 2019
48a3f9e
Make "Version 2 to 3 comparison" an actual section in readme
pesse Oct 11, 2019
f8a3b87
Outsource the Version comparison to a separate file so it can be
pesse Oct 11, 2019
40badac
Describe the usage of tags in the "Running"-section
pesse Oct 11, 2019
4cfb0cf
Add link to Tag-annotation and tweak for consistency
pesse Oct 11, 2019
d7c3a2f
Just trying to replace Java 9 with Java 11
pesse Oct 11, 2019
0506cf1
Trying with OpenJDK instead
pesse Oct 14, 2019
4252647
Update cli version to 3.1.7
jgebal Oct 20, 2019
c035df7
Merge pull request #1005 from utPLSQL/bugfix/missing_java9_package
jgebal Oct 20, 2019
cdd7feb
Updated project version after build [skip ci]
Oct 20, 2019
a0ba9ad
Merge remote-tracking branch 'origin/develop' into feature/docs_impro…
jgebal Oct 20, 2019
afca248
Fixed broken doc link
jgebal Oct 20, 2019
cdb6d3e
Added ability to exclude items by tags.
jgebal Oct 20, 2019
0d64c08
Changed syntax to avoid Oracle internal errors on 11.2 and 12.1
jgebal Oct 21, 2019
492f9e1
Merge pull request #1004 from utPLSQL/feature/docs_improvement
jgebal Oct 21, 2019
68e625f
Updated project version after build [skip ci]
Oct 21, 2019
49c0768
Merge remote-tracking branch 'origin/develop' into feature/exclude_paths
jgebal Oct 21, 2019
f48e7e5
Improve documentation around tags
pesse Oct 22, 2019
2caa749
Use cli 3.1.8
pesse Oct 22, 2019
eebfba0
Added support for nested contexts.
jgebal Oct 23, 2019
66dde90
Merge pull request #1008 from utPLSQL/feature/exclude_paths
jgebal Oct 23, 2019
d367d52
Updated project version after build [skip ci]
Oct 23, 2019
c5f81eb
Fixing failing tests
jgebal Oct 23, 2019
837bd47
Merge remote-tracking branch 'origin/develop' into feature/nested_con…
jgebal Oct 23, 2019
e1dfd05
Updated documentation.
jgebal Oct 23, 2019
0070cf8
changed hard stop to "full stop/period"
jgebal Oct 23, 2019
8f0b267
Cleanup
jgebal Oct 23, 2019
c905233
Added downloads badge
jgebal Oct 24, 2019
7ec0751
Merge pull request #1014 from utPLSQL/feature/download_badge
jgebal Oct 25, 2019
b07d0e9
Updated project version after build [skip ci]
Oct 25, 2019
06a6881
Updated description of annotation types
jgebal Oct 25, 2019
2abd27e
Merge remote-tracking branch 'origin/develop' into feature/nested_con…
jgebal Oct 25, 2019
409a70e
Merge pull request #1015 from utPLSQL/feature/update_annotation_doc
jgebal Oct 26, 2019
c69af46
Updated project version after build [skip ci]
Oct 26, 2019
be39586
Added support for `--%name` annotation, to name the contexts.
jgebal Oct 27, 2019
7740ec2
Merge pull request #1013 from utPLSQL/feature/nested_context
jgebal Nov 1, 2019
4ca4ea8
Updated project version after build [skip ci]
Nov 1, 2019
bc49a81
Fixed issue fit false-positive warnings on suites with multiple conte…
jgebal Nov 2, 2019
cc3114c
Merge pull request #1017 from utPLSQL/feature/fix_contexts
jgebal Nov 2, 2019
b08ede3
Updated project version after build [skip ci]
Nov 2, 2019
57a89ba
Touch readme to kickoff build.
jgebal Nov 5, 2019
00d0fb4
Updated project version after build [skip ci]
Nov 5, 2019
c724493
Updated documentation.
jgebal Nov 6, 2019
05c063f
Dash-> hyphen
jgebal Nov 6, 2019
2f089b3
Updated project version after build [skip ci]
Nov 6, 2019
5b5ca12
Fixing issue with sonar token.
jgebal Nov 9, 2019
e1b8ee6
Updated project version after build [skip ci]
Nov 9, 2019
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
2 changes: 1 addition & 1 deletion source/core/ut_expectation_processor.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ create or replace package body ut_expectation_processor as
end;
function cut_address_columns( a_stack varchar2 ) return varchar2 is
begin
return regexp_replace( a_stack, '^(0x)?[0-9a-f]+\s+', '', 1, 0, 'm' );
return regexp_replace( a_stack, '^(0x)?[0-9a-f]+\s+', '', 1, 0, 'mi' );
end;
function cut_framework_stack( a_stack varchar2 ) return varchar2 is
begin
Expand Down
38 changes: 36 additions & 2 deletions test/ut3_tester/core/expectations/test_expectation_processor.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ create or replace package body test_expectation_processor is
handle number name
34f88e4420 124 package body SCH_TEST.UT_EXPECTATION_PROCESSOR
353dfeb2f8 26 SCH_TEST.UT_EXPECTATION_RESULT
cba249ce0 112 SCH_TEST.UT_EXPECTATION
cba2493ce0 112 SCH_TEST.UT_EXPECTATION
3539881cf0 21 SCH_TEST.UT_EXPECTATION_NUMBER
351a608008 7 package body ]'||gc_user||q'[.TEST_EXPECTATION_PROCESSOR
351a608018 12 package body ]'||gc_user||q'[.TEST_EXPECTATION_PROCESSOR
Expand All @@ -24,7 +24,7 @@ cba249ce0 112 SCH_TEST.UT_EXPECTATION
34f8ab98f0 48 SCH_TEST.UT_SUITE_ITEM
34f8ab9b10 74 SCH_TEST.UT_SUITE
34f8ab98f0 48 SCH_TEST.UT_SUITE_ITEM
cba24bfd0 75 SCH_TEST.UT_LOGICAL_SUITE
cba24bfad0 75 SCH_TEST.UT_LOGICAL_SUITE
353dfecf30 59 SCH_TEST.UT_RUN
34f8ab98f0 48 SCH_TEST.UT_SUITE_ITEM
357f5421e8 77 package body SCH_TEST.UT_RUNNER
Expand Down Expand Up @@ -67,5 +67,39 @@ at "'||gc_user||'.TEST_EXPECTATION_PROCESSOR", line 24');
).to_be_like('at "UT3.UT_EXAMPLETEST", line 20 %');
end;

procedure who_call_expectation_win_stack is
l_stack_trace varchar2(4000);
l_source_line varchar2(4000);
begin
l_stack_trace := q'[----- PL/SQL Call Stack -----
object line object
handle number name
00007FF8547B7D30 124 package body SCH_TEST.UT_EXPECTATION_PROCESSOR
00007FF8547B7D30 26 SCH_TEST.UT_EXPECTATION_RESULT
00007FF8547B7D30 112 SCH_TEST.UT_EXPECTATION
00007FF8547B7D30 21 SCH_TEST.UT_EXPECTATION_NUMBER
00007FF8547B7D30 7 package body SCOTT.TEST_BETWNSTR.BASIC_USAGE
00007FF81FF207B0 345 type body SCOTT.TEST_BETWNSTR.BASIC_USAGE_TYP
00007FF8544B21B8 6 anonymous block
00007FF8267FBFC8 1721 package body SYS.DBMS_SQL.EXECUTE
00007FF852BCFC68 142 type body UT3.UT_EXECUTABLE.DO_EXECUTE
00007FF852BCFC68 44 type body UT3.UT_EXECUTABLE.DO_EXECUTE
00007FF8512F9A90 74 type body UT3.UT_EXECUTABLE_TEST.DO_EXECUTE
00007FF8512F9A90 38 type body UT3.UT_EXECUTABLE_TEST.DO_EXECUTE
00007FF8231A2088 79 type body UT3.UT_TEST.DO_EXECUTE
00007FF81FF207B0 49 type body UT3.UT_SUITE_ITEM.DO_EXECUTE
00007FF852C83270 66 type body UT3.UT_SUITE.DO_EXECUTE
00007FF82165F3B0 67 type body UT3.UT_RUN.DO_EXECUTE
00007FF81FF207B0 49 type body UT3.UT_SUITE_ITEM.DO_EXECUTE
00007FF8266285C0 172 package body UT3.UT_RUNNER.RUN
00007FF854710538 134 package body UT3.UT.RUN_AUTONOMOUS
00007FF854710538 488 package body UT3.UT.RUN
00007FF854710538 623 package body UT3.UT.RUN
00007FF81CFFA388 1 anonymous block]';
ut.expect(
ut3.ut_expectation_processor.who_called_expectation(l_stack_trace)
).to_be_like('at "SCOTT.TEST_BETWNSTR.BASIC_USAGE", line 7 %');
end;

end;
/
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ create or replace package test_expectation_processor is
--%test(parses stack trace and returns objects and line that called expectation)
procedure who_called_expectation;

--%test(parses stack trace for Windows DB os - regression for #1000)
procedure who_call_expectation_win_stack;

--%endcontext

end;
Expand Down