This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257034 - Test Results window doesn't support ascii color codes
Summary: Test Results window doesn't support ascii color codes
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-07 20:26 UTC by LordQuackstar
Modified: 2016-01-20 17:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LordQuackstar 2015-12-07 20:26:22 UTC
My app's logs use ASCII color codes for readability (done with logback). These display correctly in the Output panel but display the raw ASCII in the Test Results panel

Steps to reproduce:
 1) Use colorized logging
 2) Make a unit test that logs to the console but doesn't pass
 3) Run test
 4) Compare output in Output Panel and failed Test Results panel

Output Panel:

15:05:08.973 INFO  o.b.s.Manager - Generated 19 entries 
(time is light blue, INFO is blue, o.b.s.Manager is green)

That same line in the Test Results output

&amp#27;[1;36m15:05:08.973&amp#27;[0;39m &amp#27;[34mINFO &amp#27;[0;39m &amp#27;[1;32mo.b.s.Manager&amp#27;[0;39m - Generated 19 entries 
(nothing is colored)

I can provide more information if needed