Add tests for OSLC interaction.
Change-Id: I8258649f3b1b1be4d6b6b5485ae016c25f47d5be
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 0000000..c496e03
--- /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,"");
+ }
+}