Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Faltermeier2018-06-11 06:55:41 -0400
committerJohannes Faltermeier2018-06-11 07:00:20 -0400
commite81428315996631cf3a42055d01e69e64b951713 (patch)
tree479a107553ac1cc4eb51330a63f6a825dc41ef17
parent395ac3f53e7ae3eb7427128f6e6be262c6170993 (diff)
downloadorg.eclipse.emf.edapt-e81428315996631cf3a42055d01e69e64b951713.tar.gz
org.eclipse.emf.edapt-e81428315996631cf3a42055d01e69e64b951713.tar.xz
org.eclipse.emf.edapt-e81428315996631cf3a42055d01e69e64b951713.zip
Bug 535758 - Factories Ext. Point Schema not included in binaries
* add test cases Change-Id: I8c202028cf6f5d36c04ee8618cc1aa37082c136b Signed-off-by: Johannes Faltermeier <jfaltermeier@eclipsesource.com>
-rw-r--r--tests/org.eclipse.emf.edapt.rcptt/AllTests.suite5
-rw-r--r--tests/org.eclipse.emf.edapt.rcptt/general/Extension Points.test53
2 files changed, 56 insertions, 2 deletions
diff --git a/tests/org.eclipse.emf.edapt.rcptt/AllTests.suite b/tests/org.eclipse.emf.edapt.rcptt/AllTests.suite
index 76f4bb0..d735928 100644
--- a/tests/org.eclipse.emf.edapt.rcptt/AllTests.suite
+++ b/tests/org.eclipse.emf.edapt.rcptt/AllTests.suite
@@ -4,8 +4,8 @@ Element-Name: AllTests
Element-Type: testsuite
Element-Version: 2.0
Id: _D99h4AkREeWg38ag0nnchw
-Runtime-Version: 2.2.0.201706152316
-Save-Time: 11/15/17 3:35 PM
+Runtime-Version: 2.3.0.201804052311
+Save-Time: 6/11/18 12:59 PM
------=_testcase-items-62c497da-4241-31f4-811a-6b453a3ecff8
Content-Type: text/testcase
@@ -20,5 +20,6 @@ _x1puIAkPEeWg38ag0nnchw // kind: 'test' name: 'Select EElement' path: 'element_c
_spU9wAkQEeWg38ag0nnchw // kind: 'test' name: 'Select Change' path: 'reconstruction_view/Select Change.test'
_aedIALQUEee_6uXiZb2DRg // kind: 'test' name: 'Breaking change indication' path: 'general/Breaking change indication.test'
_ExiWUMoSEeeVv4pPxMNi2w // kind: 'test' name: 'Multiple ecores' path: 'general/Multiple ecores.test'
+_wXzbsG1lEeiv5_IJNNSbGg // kind: 'test' name: 'Extension Points' path: 'general/Extension Points.test'
------=_testcase-items-62c497da-4241-31f4-811a-6b453a3ecff8--
diff --git a/tests/org.eclipse.emf.edapt.rcptt/general/Extension Points.test b/tests/org.eclipse.emf.edapt.rcptt/general/Extension Points.test
new file mode 100644
index 0000000..2f77cdb
--- /dev/null
+++ b/tests/org.eclipse.emf.edapt.rcptt/general/Extension Points.test
@@ -0,0 +1,53 @@
+--- RCPTT testcase ---
+Format-Version: 1.0
+Contexts: _bma0MAkBEeWg38ag0nnchw,_CqPtsAkFEeWg38ag0nnchw,_NFFKUAkEEeWg38ag0nnchw,_3TFIgAkBEeWg38ag0nnchw,_rv0HYAkGEeWg38ag0nnchw,_qYMXsAkHEeWg38ag0nnchw
+Element-Name: Extension Points
+Element-Type: testcase
+Element-Version: 3.0
+External-Reference:
+Id: _wXzbsG1lEeiv5_IJNNSbGg
+Runtime-Version: 2.3.0.201804052311
+Save-Time: 6/11/18 12:58 PM
+Testcase-Type: ecl
+
+------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
+Content-Type: text/ecl
+Entry-Name: .content
+
+get-view "Package Explorer" | get-tree | select "org.eclipse.emf.ecp.makeithappen.model/META-INF/MANIFEST.MF"
+ | double-click
+with [get-editor "org.eclipse.emf.ecp.makeithappen.model"] {
+ get-tab-folder | get-tab-item Extensions | click
+ get-section "All Extensions" | get-button "Add..." | click
+}
+with [get-window "New Extension"] {
+ with [get-editbox -after [get-label "Extension Point filter:"]] {
+ set-text edapt
+ key-type Left -times 17
+ set-text "*edapt"
+ }
+ get-button "Show only extension points from the required plug-ins" | uncheck
+ get-table | select "org.eclipse.emf.edapt.migrators"
+ get-button Finish | click
+ get-window "New plug-in dependency" | get-button No | click
+}
+get-editor "org.eclipse.emf.ecp.makeithappen.model" | get-section "Extension Element Details" | get-button "Browse..."
+ | click
+with [get-window "Resource Attribute Value"] {
+ get-tree | select "org.eclipse.emf.ecp.makeithappen.model/model/task.history"
+ get-button OK | click
+}
+get-editor "org.eclipse.emf.ecp.makeithappen.model" | get-section "All Extensions" | get-button "Add..." | click
+with [get-window "New Extension"] {
+ get-editbox -after [get-label "Extension Point filter:"] | set-text "*edapt"
+ get-button "Show only extension points from the required plug-ins" | uncheck
+ get-table | select "org.eclipse.emf.edapt.factories"
+ get-button Finish | click
+ get-window "New plug-in dependency" | get-button No | click
+}
+with [get-editor "org.eclipse.emf.ecp.makeithappen.model" | get-section "Extension Element Details"] {
+ get-label "nsURI*:" | get-property caption | equals "nsURI*:" | verify-true
+ get-link "class*:" | get-property caption | equals "class*:" | verify-true
+ get-label "useWildcards:" | get-property caption | equals "useWildcards:" | verify-true
+}
+------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--

Back to the top