akrabat commented on a change in pull request #2326: (WIP) Alphabetize
URL: 
https://github.com/apache/incubator-openwhisk/pull/2326#discussion_r123269406
 
 

 ##########
 File path: tests/src/test/scala/system/basic/WskBasicTests.scala
 ##########
 @@ -46,6 +46,127 @@ class WskBasicTests
 
     behavior of "Wsk CLI"
 
+
+    it should "return a list of alphabetized packages" in 
withAssetCleaner(wskprops) {
+    (wp, assetHelper) =>
+
+        //Declare 4 actions, create them out of alphabetical order
+        val nameA = "activationBasicTestingA1"
+        val nameB = "activationBasicTestingA2"
+        val nameC = "activationBasicTestingB1"
+        assetHelper.withCleaner(wsk.pkg, nameB) {
+            (pkg, nameB) =>
+                pkg.create(nameB)
+        }
+        assetHelper.withCleaner(wsk.pkg, nameC) {
+            (pkg, nameC) =>
+                pkg.create(nameC)
+        }
+        assetHelper.withCleaner(wsk.pkg, nameA) {
+            (pkg, nameA) =>
+                pkg.create(nameA)
+        }
+
+        val original = wsk.pkg.list().stdout
+        //Create list with action names in correct order
 
 Review comment:
   Add a space between the comment marker (`//`) and the text throughout the 
file.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to