Package io.roastedroot.protobuf4j.test
Class AbstractValidationTest
- java.lang.Object
-
- io.roastedroot.protobuf4j.test.AbstractValidationTest
-
public abstract class AbstractValidationTest extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractValidationTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ProtobufTestAdaptercreateAdapter(Path workdir)voidshouldDetectMalformedMessageDefinition()voidshouldDetectSyntaxErrors()voidshouldValidateProtoWithImportButNoTypeReference()voidshouldValidateProtoWithWellKnownTypeImport()voidshouldValidateSyntaxOfValidProto()voidshouldValidateSyntaxWithMissingImport()
-
-
-
Method Detail
-
createAdapter
protected abstract ProtobufTestAdapter createAdapter(Path workdir)
-
shouldValidateSyntaxOfValidProto
@Test public void shouldValidateSyntaxOfValidProto() throws Exception- Throws:
Exception
-
shouldValidateSyntaxWithMissingImport
@Test public void shouldValidateSyntaxWithMissingImport() throws Exception- Throws:
Exception
-
shouldDetectSyntaxErrors
@Test public void shouldDetectSyntaxErrors() throws Exception- Throws:
Exception
-
shouldValidateProtoWithImportButNoTypeReference
@Test public void shouldValidateProtoWithImportButNoTypeReference() throws Exception- Throws:
Exception
-
shouldDetectMalformedMessageDefinition
@Test public void shouldDetectMalformedMessageDefinition() throws Exception- Throws:
Exception
-
-