summaryrefslogtreecommitdiff
path: root/inttest/proto_protobuffs
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Windows integration testingLuis Rascão2016-01-151-2/+5
| | | | | | | | | | | | | | Use retest feature/rebar-windows-ci branch that adds Windows tests support, test setup callback and additional touch command. For all tests copy rebar and rebar.cmd using retest setup callback. Port OS specific commands used in tests to Erlang (eg. touch, rm, cp, stat..). rebar_ct: do away with grep command line invocation (which doesn't exist in Windows) and use instead plain Erlang parsing. Increase timeout for rgen1 test to 4 minutes, Windows Appveyor can take longer than the previous 2 minutes.
* Remove a git url in gpb and protobuffs inttest configsTomas Abrahamsson2015-01-131-4/+2
| | | | | | | | In the rebar.config files for the gpb and protobuffs inttests, use the {Name, Version} dependency form instead of {Name, Version, Source}, since the Source is not really applicable; the mocks are copied into place by the proto_gpb_rt:files/0 and proto_protobuffs_rt:files/0. Idea and suggestion by Tuncer Ayaz.
* Copy instead of rsync gpb and protobuffs inttest mocksTomas Abrahamsson2015-01-102-2/+8
| | | | | | | | | | | | | | | Installation of the gpb and protobuffs mocks, in inttest, is now done using copy in proto_{gpb,protobuffs}_rt:files/0. Previously, rebar prepare-deps was used, the dependencies had an rsync source with a relative path back to the inttest directory. This eliminates a dependency in inttest to rsync, instead relying on retest's functionality to copy files and directories. Also, it eliminates hidden knowledge about the directory layout that retest chooses. Idea and suggestion by Tuncer Ayaz. Since the dependency sources in the inttest rebar.config files are no longer used, they are now changed back from rsync paths to git urls, to serve as examples.
* Replace inttest external dep to protobuffs with a mockTomas Abrahamsson2015-01-074-3/+83
| | | | | | | | In inttest/proto_protobuffs, replace the external dependency to erlang_protobuffs, a protocol buffer compiler, with a simple mock. The mock provides enough of what is needed for inttest only, which is to generate some dummy content, but with proper file names.
* Bugfix comment in inttest/proto_protobuffs/rebar.configTomas Abrahamsson2015-01-071-1/+1
|
* Add inttest for default proto compiler (protobuffs)Tomas Abrahamsson2014-10-297-0/+175
This borrows heavily from the inttest for gpb, many thanks to Luis Rascão for providing a most useful example.