Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: third_party/protobuf/ruby/tests/generated_code_test.rb

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/protobuf/ruby/tests/generated_code_test.rb
diff --git a/third_party/protobuf/ruby/tests/generated_code_test.rb b/third_party/protobuf/ruby/tests/generated_code_test.rb
index daef357a10a398ff5d1f791aa59ef0fa888be979..b92b0462d1556772779d5f33d66008f2e3297449 100644
--- a/third_party/protobuf/ruby/tests/generated_code_test.rb
+++ b/third_party/protobuf/ruby/tests/generated_code_test.rb
@@ -3,7 +3,8 @@
# generated_code.rb is in the same directory as this test.
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__)))
-require 'generated_code'
+require 'generated_code_pb'
+require 'test_import_pb'
require 'test/unit'
class GeneratedCodeTest < Test::Unit::TestCase
@@ -13,5 +14,6 @@ class GeneratedCodeTest < Test::Unit::TestCase
# successfully creates message definitions and classes, not to test every
# aspect of the extension (basic.rb is for that).
m = A::B::C::TestMessage.new()
+ m2 = FooBar::TestImportedMessage.new()
end
end
« no previous file with comments | « third_party/protobuf/ruby/tests/generated_code.proto ('k') | third_party/protobuf/ruby/tests/test_import.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698