• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc.  All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
7 
8 package com.google.protobuf;
9 
10 import com.google.protobuf.testing.Proto2Testing.Proto2Message;
11 import org.junit.runner.RunWith;
12 import org.junit.runners.JUnit4;
13 
14 @RunWith(JUnit4.class)
15 public class Proto2SchemaTest extends AbstractProto2SchemaTest {
16 
17   @Override
schema()18   protected Schema<Proto2Message> schema() {
19     return TestSchemas.genericProto2Schema;
20   }
21 
22   @Override
registerSchemas()23   protected void registerSchemas() {
24     TestSchemas.registerGenericProto2Schemas();
25   }
26 }
27