Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium
New issue 318 by goro4ha...@gmail.com: Unit tests
CommandLineInterfaceTest.OutputDirectoryIsFileError failes on Windows 7
VS2008
http://code.google.com/p/protobuf/issues/detail?id=318
What steps will reproduce the problem?
1. open the sln file
2. build the the solution in debug
3. execute tests.exe
What is the expected output? What do you see instead?
all tests to pass
[----------] Global test environment set-up.
[----------] 1 test from CommandLineInterfaceTest
[ RUN ] CommandLineInterfaceTest.OutputDirectoryIsFileError
c:\projects\depot\import\protobuf\2.4.1\src\google\protobuf\compiler\command_line_interface_unittest.cc(345):
error:
Value of: expected_substring
Actual: "foo.proto/: Not a directory"
Expected: a substring of error_text_
Which
is: "s2f0./proto2_cli_test_temp/foo.proto/foo.proto.MockCodeGenerator.test_generator:
No such file or directory"
[ FAILED ] CommandLineInterfaceTest.OutputDirectoryIsFileError (16 ms)
[----------] 1 test from CommandLineInterfaceTest (16 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (31 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] CommandLineInterfaceTest.OutputDirectoryIsFileError
1 FAILED TEST
What version of the product are you using? On what operating system?
protobuf 2.4.1, Windows 7, VS 2008
Please provide any additional information below.
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.