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

Using RecordProperty without XML output #198

Open
GoogleCodeExporter opened this issue Jul 31, 2015 · 1 comment
Open

Using RecordProperty without XML output #198

GoogleCodeExporter opened this issue Jul 31, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run a test and call 'RecordProperty'
2. This works when using XML output just fine
3. Without XML output (writting to stdout) this information is lost

What is the expected output? What do you see instead?

Using RecordProperty without XML output doesnt appear to have much use (may be 
wrong).
I appreciate it was added specifically for XML output.
Im looking for a consistent way to log a bit of extra information when a test 
is run (e.g. a cpu 
performance test - saying 'UserTimeCPU = x"
Something like a printf would do the same job for me, but when I swap to XML 
output I have to 
rely on RecordProperty instead - so Im doing 2 different bits of code for 2 
different outputs. 
Might be cool if RecordProperty acted differently depending on output, since 
its a method 
related to output.

What version of the product are you using? On what operating system?
Linux, gtest-1.3.0

Many thanks

Original issue reported on code.google.com by [email protected] on 18 Sep 2009 at 9:30

@GoogleCodeExporter
Copy link
Author

Sounds good.

Original comment by [email protected] on 18 Sep 2009 at 5:10

  • Changed state: Accepted
  • Added labels: OpSys-All, Type-Enhancement, Usability
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant