org.eclipse.emf.common.notify.impl.AdapterFactoryImpl Java Examples

The following examples show how to use org.eclipse.emf.common.notify.impl.AdapterFactoryImpl. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AlwaysValidTransactionTest.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
@Test
public void should_validate_always_return_OK_status() throws Exception {
    final AlwaysValidTransaction alwaysValidTransaction = new AlwaysValidTransaction(new TransactionalEditingDomainImpl(new AdapterFactoryImpl()), false,
            Collections.emptyMap());

    StatusAssert.assertThat(alwaysValidTransaction.validate()).isOK();
}
 
Example #2
Source File: AlwaysValidTriggerCommandTransactionTest.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
@Test
public void should_validate_always_return_OK_status() throws Exception {
    final AlwaysValidTriggerCommandTransaction alwaysValidTransaction = new AlwaysValidTriggerCommandTransaction(null,
            new TransactionalEditingDomainImpl(new AdapterFactoryImpl()),
            Collections.emptyMap());

    StatusAssert.assertThat(alwaysValidTransaction.validate()).isOK();
}
 
Example #3
Source File: AlwaysValidEMFOperationTransactionTest.java    From bonita-studio with GNU General Public License v2.0 5 votes vote down vote up
@Test
public void should_validate_always_return_OK_status() throws Exception {
    final AlwaysValidEMFOperationTransaction alwaysValidTransaction = new AlwaysValidEMFOperationTransaction(null, new TransactionalEditingDomainImpl(
            new AdapterFactoryImpl()),
            Collections.emptyMap());

    StatusAssert.assertThat(alwaysValidTransaction.validate()).isOK();
}