X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-protocolbuffer-encoding%2Fsrc%2Ftest%2Fresources%2Fversion-compatibility-serialized-data%2Freadme.txt;fp=opendaylight%2Fmd-sal%2Fsal-protocolbuffer-encoding%2Fsrc%2Ftest%2Fresources%2Fversion-compatibility-serialized-data%2Freadme.txt;h=0000000000000000000000000000000000000000;hb=6b9c0bb57b65343df31fd68d178821a22afd0fe2;hp=06a561e36ccc4578bb07af2ac184a19fe74bbc2f;hpb=cc6c063be5f143cd601208ef26604d90a25bd1a5;p=controller.git diff --git a/opendaylight/md-sal/sal-protocolbuffer-encoding/src/test/resources/version-compatibility-serialized-data/readme.txt b/opendaylight/md-sal/sal-protocolbuffer-encoding/src/test/resources/version-compatibility-serialized-data/readme.txt deleted file mode 100644 index 06a561e36c..0000000000 --- a/opendaylight/md-sal/sal-protocolbuffer-encoding/src/test/resources/version-compatibility-serialized-data/readme.txt +++ /dev/null @@ -1,18 +0,0 @@ -This directory contains one serialized test data file for one of the messages in each .proto file. -These files are utilized as part of the test cases, mostly to fail the test cases in case some engineer has used -a different version of protocol buffer than what we ship with (Protocol Buffer 2.5.0) to generate the messages source f -file. - -1. If you see protocolbuffer version/invalid message exception in the test case - 1. ensure you are using the right version of protocol buffer/protoc compiler i.e protocol - -2. If you have knowingly updated an existing .proto message than please update the corresponding version-compatibility-serialized-data -file. You can get the file by commenting out the test file deletion in AbstractMessagesTest look for comments - - /* we will delete only the test file -- comment below if you want to capture the - version-compatibility-serialized-data test data file.The file will be generated at root of the sal-protocolbuffer-encoding - and you need to move it to version-compatbility-serialized-data folder renaming the file to include suffix "Data" - */ - -3. If you are creating a new .proto file -- Follow an existing test case e.g. ThreePhaseCommitCohortMessagesTest to - check how the test case is created and create the corresponding serialized test data file in version-compatibility-serialized-data