Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Papyrus models now require a properties file?

Hi, Christian, Team,

 

The internationalization of Papyrus project was commited yesterday. I’m working actually on this problem to load the properties file only when available.

 

Best Regards,

Nicolas FAUVERGUE

 

De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de Christian Damus
Envoyé : mardi 29 novembre 2016 19:37
À : Papyrus Project list
Objet : [mdt-papyrus.dev] Papyrus models now require a properties file?

 

Hi, Team,

 

On the master (Oxygen) branch, all of the JUnit tests in my workspace that use various ModelSet and/or Papyrus Editor fixtures fail to load the models on which they operate.  It appears that some kind of *.properties file is now required, but none of the test models has these files.

 

What am I doing wrong?

 

Thanks,

 

Christian

 

———— 8< ———— 

 

java.lang.AssertionError: Failed to load test resource: models/sync/sync-test.properties

            at org.junit.Assert.fail(Assert.java:88)

            at org.eclipse.papyrus.junit.utils.rules.AbstractModelFixture.doInitModelResource(AbstractModelFixture.java:526)

            at org.eclipse.papyrus.junit.utils.rules.AbstractModelFixture.initModelResource(AbstractModelFixture.java:342)

            at org.eclipse.papyrus.junit.utils.rules.AbstractModelFixture.initModelResource(AbstractModelFixture.java:312)

            at org.eclipse.papyrus.junit.utils.rules.AbstractModelFixture.initModelResources(AbstractModelFixture.java:260)

            at org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture.openAll(PapyrusEditorFixture.java:432)

            at org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture.starting(PapyrusEditorFixture.java:228)

            at org.junit.rules.TestWatcher.startingQuietly(TestWatcher.java:108)

            at org.junit.rules.TestWatcher.access$000(TestWatcher.java:46)

            at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:53)

            at org.eclipse.papyrus.junit.utils.rules.ProjectFixture$1.evaluate(ProjectFixture.java:162)

            at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)

            at org.junit.rules.RunRules.evaluate(RunRules.java:20)

            at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)

            ...

 


Back to the top