diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-03-18 12:02:24 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-03-18 12:20:09 +1100 |
commit | d8d9c9ef40c5f4f32404f0cdce3dfffea45541f7 (patch) | |
tree | 2f64791616ebbb1f1c26fcf7cc8f032909da5cec /include/osl/test | |
parent | a070d0d34763c83b4e957a7aee8b7f255a1d5519 (diff) |
osl: test/uniquepipename.hxx whitespace and end namespace comments
Change-Id: Ib409a60061af4034132a0fbd83b85f58212a72b4
Diffstat (limited to 'include/osl/test')
-rw-r--r-- | include/osl/test/uniquepipename.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/osl/test/uniquepipename.hxx b/include/osl/test/uniquepipename.hxx index bdffb28ca2c0..0b1f9c68a695 100644 --- a/include/osl/test/uniquepipename.hxx +++ b/include/osl/test/uniquepipename.hxx @@ -26,16 +26,19 @@ namespace osl { namespace test { -OUString uniquePipeName(OUString const & name) { +OUString uniquePipeName(OUString const & name) +{ oslProcessInfo info; info.Size = sizeof info; + CPPUNIT_ASSERT_EQUAL( osl_Process_E_None, osl_getProcessInfo(nullptr, osl_Process_IDENTIFIER, &info)); + return name + OUString::number(info.Ident); } -} -} +} // test namespace +} // osl namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |