Skip to content

Commit

Permalink
Update xtraceTests.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
h3110n3rv3 committed Dec 17, 2024
1 parent 09cc0d7 commit 225573a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/cmdLineTests/xtraceTests/xtraceTests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
<test id="Test 1 - invalid argument - 'a'">
<command>$EXE$ -Xtrace:methods={java/lang/String.concat()},maxstringlength='a',print=mt -version</command>
<output regex="no" type="success">Trace option unrecognized: -Xtrace:maxstringlength</output>
<output regex="no" type="required">Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 1 to 128</output>
<output regex="no" type="required">Error processing trace option, detail: maxstringlength takes an integer value from 0 to 128</output>
<output regex="no" type="required">Error processing trace option, detail: Invalid character(s) encountered in decimal number</output>
</test>
<test id="Test 2 - out of range invalid argument - 129">
<command>$EXE$ -Xtrace:methods={java/lang/String.concat()},maxstringlength=129,print=mt -version</command>
<output regex="no" type="success">Trace option unrecognized: -Xtrace:maxstringlength</output>
<output regex="no" type="required">Error processing trace option, detail: methodstrarglen takes an unsigned integer value from 1 to 128</output>
<output regex="no" type="required">Error processing trace option, detail: maxstringlength takes an integer value from 0 to 128</output>
<output regex="no" type="required">Error processing trace option: -Xtrace:maxstringlength=129</output>
</test>

Expand Down

0 comments on commit 225573a

Please sign in to comment.