Search in sources :

Example 1 with FormatterDefinition

use of io.vertigo.dynamo.domain.metamodel.FormatterDefinition in project vertigo by KleeGroup.

the class OOMEnvironmentManagerTest method testFormatter.

@Test
public void testFormatter() {
    final DefinitionSpace definitionSpace = getApp().getDefinitionSpace();
    final FormatterDefinition formatter = definitionSpace.resolve("FMT_TAUX", FormatterDefinition.class);
    Assert.assertEquals(FormatterNumber.class.getName(), formatter.getFormatterClassName());
}
Also used : FormatterNumber(io.vertigo.dynamox.domain.formatter.FormatterNumber) DefinitionSpace(io.vertigo.core.definition.DefinitionSpace) FormatterDefinition(io.vertigo.dynamo.domain.metamodel.FormatterDefinition) Test(org.junit.Test)

Example 2 with FormatterDefinition

use of io.vertigo.dynamo.domain.metamodel.FormatterDefinition in project vertigo by KleeGroup.

the class OOMEnvironmentManagerTest method testDefaultFormatter.

@Test
public void testDefaultFormatter() {
    final DefinitionSpace definitionSpace = getApp().getDefinitionSpace();
    final FormatterDefinition formatter = definitionSpace.resolve("FMT_DEFAULT", FormatterDefinition.class);
    Assert.assertEquals(FormatterDefault.class.getName(), formatter.getFormatterClassName());
}
Also used : DefinitionSpace(io.vertigo.core.definition.DefinitionSpace) FormatterDefault(io.vertigo.dynamox.domain.formatter.FormatterDefault) FormatterDefinition(io.vertigo.dynamo.domain.metamodel.FormatterDefinition) Test(org.junit.Test)

Example 3 with FormatterDefinition

use of io.vertigo.dynamo.domain.metamodel.FormatterDefinition in project vertigo by KleeGroup.

the class EAXmiEnvironmentManagerTest method testFormatter.

@Test
public void testFormatter() {
    final FormatterDefinition formatter = definitionSpace.resolve("FMT_TAUX", FormatterDefinition.class);
    Assert.assertEquals(FormatterNumber.class.getName(), formatter.getFormatterClassName());
}
Also used : FormatterNumber(io.vertigo.dynamox.domain.formatter.FormatterNumber) FormatterDefinition(io.vertigo.dynamo.domain.metamodel.FormatterDefinition) Test(org.junit.Test)

Example 4 with FormatterDefinition

use of io.vertigo.dynamo.domain.metamodel.FormatterDefinition in project vertigo by KleeGroup.

the class EAXmiEnvironmentManagerTest method testDefaultFormatter.

@Test
public void testDefaultFormatter() {
    final FormatterDefinition formatter = definitionSpace.resolve("FMT_DEFAULT", FormatterDefinition.class);
    Assert.assertEquals(FormatterDefault.class.getName(), formatter.getFormatterClassName());
}
Also used : FormatterDefault(io.vertigo.dynamox.domain.formatter.FormatterDefault) FormatterDefinition(io.vertigo.dynamo.domain.metamodel.FormatterDefinition) Test(org.junit.Test)

Example 5 with FormatterDefinition

use of io.vertigo.dynamo.domain.metamodel.FormatterDefinition in project vertigo by KleeGroup.

the class JavaEnvironmentManagerTest method testDefaultFormatter.

@Test
public void testDefaultFormatter() {
    final DefinitionSpace definitionSpace = getApp().getDefinitionSpace();
    final FormatterDefinition formatter = definitionSpace.resolve("FMT_DEFAULT", FormatterDefinition.class);
    Assert.assertEquals(FormatterDefault.class.getName(), formatter.getFormatterClassName());
}
Also used : DefinitionSpace(io.vertigo.core.definition.DefinitionSpace) FormatterDefault(io.vertigo.dynamox.domain.formatter.FormatterDefault) FormatterDefinition(io.vertigo.dynamo.domain.metamodel.FormatterDefinition) Test(org.junit.Test)

Aggregations

FormatterDefinition (io.vertigo.dynamo.domain.metamodel.FormatterDefinition)6 Test (org.junit.Test)5 DefinitionSpace (io.vertigo.core.definition.DefinitionSpace)3 FormatterDefault (io.vertigo.dynamox.domain.formatter.FormatterDefault)3 FormatterNumber (io.vertigo.dynamox.domain.formatter.FormatterNumber)2 DataType (io.vertigo.dynamo.domain.metamodel.DataType)1 DomainBuilder (io.vertigo.dynamo.domain.metamodel.DomainBuilder)1 Properties (io.vertigo.dynamo.domain.metamodel.Properties)1