On Mon, May 20, 2013 at 8:31 AM, Kopernik003 <bruno.parro...@gmail.com>wrote:

> Hi,
> I run unit tests (tests.exe) on version 2.5.0. but 13 tests fail.
>
How did you run the tests? The error message below usually means you are
not running the tests in the correct working directory.


>
> [----------] Global test environment tear-down
> [==========] 868 tests from 112 test cases ran. (94055 ms total)
> [  PASSED  ] 855 tests.
> [  FAILED  ] 13 tests, listed below:
> [  FAILED  ] CommandLineInterfaceTest.BasicPlugin
> [  FAILED  ] CommandLineInterfaceTest.GeneratorAndPlugin
> [  FAILED  ] CommandLineInterfaceTest.MultipleInputs
> [  FAILED  ] CommandLineInterfaceTest.MultipleInputsWithImport
> [  FAILED  ] CommandLineInterfaceTest.CreateDirectoryA
> [  FAILED  ] CommandLineInterfaceTest.GeneratorParameters
> [  FAILED  ] CommandLineInterfaceTest.Insert
> [  FAILED  ] CommandLineInterfaceTest.PluginOutputWriteError
> [  FAILED  ] CommandLineInterfaceTest.PluginOutputDirectoryNotFoundError
> [  FAILED  ] CommandLineInterfaceTest.GeneratorPluginError
> [  FAILED  ] CommandLineInterfaceTest.GeneratorPluginFail
> [  FAILED  ] CommandLineInterfaceTest.GeneratorPluginCrash
> [  FAILED  ] CommandLineInterfaceTest.PluginReceivesSourceCodeInfo
>
> In detail:
>
> 1)
> [ RUN      ] CommandLineInterfaceTest.BasicPlugin
> c:\my .net
> projects\ambiente\sviluppo\protocolbuffer\protobuf-2.5.0\src\google\protobuf\compiler\command_line_interface_unittest.cc(336):
> error: Value of: return_code_
>   Actual: 1
> Expected: 0
> c:\my .net
> projects\ambiente\sviluppo\protocolbuffer\protobuf-2.5.0\src\google\protobuf\compiler\command_line_interface_unittest.cc(337):
> error: Value of: error_text_
>   Actual: "--plug_out: prefix-gen-plug: Impossibile trovare il file
> specificato.\r\n\n"
> Expected: ""
> c:\my .net
> projects\ambiente\sviluppo\protocolbuffer\protobuf-2.5.0\src\google\protobuf\compiler\mock_code_generator.cc(81):
> error: Value of: File::ReadFileToString( output_directory + "/" +
> GetOutputFileName(name, file), &content)
>   Actual: false
> Expected: true
> [  FAILED  ] CommandLineInterfaceTest.BasicPlugin (16 ms)
>
>
> [ RUN      ] CommandLineInterfaceTest.PluginOutputWriteError
> c:\my .net
> projects\ambiente\sviluppo\protocolbuffer\protobuf-2.5.0\src\google\protobuf\compiler\command_line_interface_unittest.cc(349):
> error: Value of: expected_substring
>   Actual: "foo.proto.MockCodeGenerator.test_plugin: Is a directory"
> Expected: a substring of error_text_
> Which is: "--plug_out: prefix-gen-plug: Impossibile trovare il file
> specificato.
>
> "
> [  FAILED  ] CommandLineInterfaceTest.PluginOutputWriteError (16 ms)
>
> Anyone can help me?
> Thks!
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at http://groups.google.com/group/protobuf?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to