Sha256: 015486e82685e68a32fddb2d1893edc5fd510569e647b97f22540168935ad7e9
Contents?: true
Size: 602 Bytes
Versions: 3
Compression:
Stored size: 602 Bytes
Contents
require "spec_helper" require "tmpdir" describe "ProtocJavaCompiler" do # Compile the contents of the generator_tests proto dir, and then assert # everything is where it should be. it "computes fully-qualified class names correctly" do with_descriptor("generator_test") do |descriptor| generated_classes = ghetto_parse_java_package(find_generated_files("generator_test", :java)) children = descriptor.all_descendants.map { |child| [child.name, child.fully_qualified_java_name] } expect(children).to contain_exactly(*generated_classes.to_a) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
protobuf_descriptor-1.1.2 | spec/protoc_generator_spec.rb |
protobuf_descriptor-1.1.1 | spec/protoc_generator_spec.rb |
protobuf_descriptor-1.1.0 | spec/protoc_generator_spec.rb |