Skip to content

Commit

Permalink
Fix and ignore test failing due to #98
Browse files Browse the repository at this point in the history
  • Loading branch information
wwerner committed Dec 26, 2019
1 parent 212a1e6 commit e021a6f
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import io.vlingo.actors.testkit.TestWorld;
import io.vlingo.lattice.model.object.ObjectTypeRegistry;
import io.vlingo.schemata.NoopDispatcher;
import io.vlingo.schemata.SchemataConfig;
import io.vlingo.schemata.codegen.CodeGenTests;
import io.vlingo.schemata.codegen.TypeDefinitionCompiler;
import io.vlingo.schemata.codegen.TypeDefinitionCompilerActor;
Expand All @@ -27,6 +28,7 @@
import io.vlingo.schemata.query.TypeResolverQueriesActor;
import io.vlingo.symbio.store.dispatch.Dispatcher;
import io.vlingo.symbio.store.object.ObjectStore;
import org.junit.Ignore;
import org.junit.Test;

import java.io.ByteArrayInputStream;
Expand All @@ -38,13 +40,13 @@

public class JavaCodeGenSchemaVersionResolverTests{
@Test
// Reproduces #98
@Ignore("Ignored on master due to #98")
public void testThatSpecificationsContainingBasicTypesCanBeCompiledWithSchemaVersionQueryTypeResolver() throws Exception {
World world = TestWorld.startWithDefaults(getClass().getSimpleName()).world();
TypeParser typeParser = world.actorFor(TypeParser.class, AntlrTypeParser.class);
Dispatcher dispatcher = new NoopDispatcher();

final SchemataObjectStore schemataObjectStore = SchemataObjectStore.instance("dev");
final SchemataObjectStore schemataObjectStore = SchemataObjectStore.instance(SchemataConfig.forRuntime("test"));

ObjectStore objectStore = schemataObjectStore.objectStoreFor(world, dispatcher, schemataObjectStore.persistentMappers());
final ObjectTypeRegistry registry = new ObjectTypeRegistry(world);
Expand All @@ -58,7 +60,7 @@ public void testThatSpecificationsContainingBasicTypesCanBeCompiledWithSchemaVer
world.actorFor(Processor.class, ComputableTypeProcessor.class),
world.actorFor(Processor.class, TypeResolverProcessor.class, typeResolver)
),
world.actorFor(Backend.class, JavaBackend.class, true)
world.actorFor(Backend.class, JavaBackend.class)
);
String spec = "event Foo {\n" +
" type eventType\n" +
Expand Down

0 comments on commit e021a6f

Please sign in to comment.