diff --git a/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVandVOperationsOSLC.java b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVandVOperationsOSLC.java new file mode 100644 index 0000000000000000000000000000000000000000..c496e03209871f732d73ef26e0d0ef7473801a81 --- /dev/null +++ b/plugins/contracts/org.polarsys.chess.contracts.verificationService.test.runtime/src/org/polarsys/chess/contracts/verificationService/test/runtime/tests/TestVandVOperationsOSLC.java @@ -0,0 +1,28 @@ +package org.polarsys.chess.contracts.verificationService.test.runtime.tests; + +import org.junit.Before; +import org.junit.runner.RunWith; +import org.junit.runners.Suite; +import org.junit.runners.Suite.SuiteClasses; + +import eu.fbk.tools.adapter.ui.preferences.PreferenceConstants; + + +public class TestVandVOperationsOSLC extends TestVAndVOperations{ + + @Before + @Override + public void setTestParameters() throws Exception { + super.setTestParameters(); + eu.fbk.tools.adapter.ui.Activator.getDefault().getPreferenceStore().setValue( + PreferenceConstants.OSLC_ENABLED, true); + eu.fbk.tools.adapter.ui.Activator.getDefault().getPreferenceStore().setValue( + PreferenceConstants.OSLC_SP_CATALOG_BASEURL, "http://waters.fbk.eu:8080"); + eu.fbk.tools.adapter.ui.Activator.getDefault().getPreferenceStore().setValue( + PreferenceConstants.OSLC_SP_CATALOG_PATH, "/oslc4j-registry"); + eu.fbk.tools.adapter.ui.Activator.getDefault().getPreferenceStore().setValue( + PreferenceConstants.OSLC_SP_CATALOG_HOST,""); + eu.fbk.tools.adapter.ui.Activator.getDefault().getPreferenceStore().setValue( + PreferenceConstants.OSLC_SP_CATALOG_PORT,""); + } +}