Package io.roastedroot.protobuf4j.test
Class AbstractCompatibilityTest
- java.lang.Object
-
- io.roastedroot.protobuf4j.test.AbstractCompatibilityTest
-
public abstract class AbstractCompatibilityTest extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractCompatibilityTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ProtobufTestAdaptercreateAdapter(Path workdir)voidshouldAllowCompatibleTypeChange_VarintTypes()voidshouldDetectCompatibleSchemas()voidshouldDetectIncompatibleSchemas_ChangedFieldNumber()voidshouldDetectIncompatibleSchemas_ChangedFieldType()
-
-
-
Method Detail
-
createAdapter
protected abstract ProtobufTestAdapter createAdapter(Path workdir)
-
shouldDetectCompatibleSchemas
@Test public void shouldDetectCompatibleSchemas() throws Exception- Throws:
Exception
-
shouldDetectIncompatibleSchemas_ChangedFieldNumber
@Test public void shouldDetectIncompatibleSchemas_ChangedFieldNumber() throws Exception- Throws:
Exception
-
shouldDetectIncompatibleSchemas_ChangedFieldType
@Test public void shouldDetectIncompatibleSchemas_ChangedFieldType() throws Exception- Throws:
Exception
-
-