[gnome-continuous/wip/wayland: 2/2] smoketest: Smoketest Classic Mode and Wayland



commit a8b95cea6a435b81995d51450bec19dec02be91b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Apr 24 15:16:42 2014 -0400

    smoketest: Smoketest Classic Mode and Wayland

 src/js/tasks/task-smoketest.js |   43 +++++++++++++++++++++++++++++++++------
 1 files changed, 36 insertions(+), 7 deletions(-)
---
diff --git a/src/js/tasks/task-smoketest.js b/src/js/tasks/task-smoketest.js
index a75c73f..138076a 100644
--- a/src/js/tasks/task-smoketest.js
+++ b/src/js/tasks/task-smoketest.js
@@ -32,15 +32,10 @@ const LibQA = imports.libqa;
 const JSUtil = imports.jsutil;
 const JSONUtil = imports.jsonutil;
 
-const TaskSmoketest = new Lang.Class({
-    Name: 'TaskSmoketest',
+const SmoketestBase = new Lang.Class({
+    Name: 'SmoketestBase',
     Extends: TestBase.TestBase,
 
-    TaskDef: {
-        TaskName: "smoketest",
-        TaskAfter: ['builddisks'],
-    },
-
     RequiredMessageIDs: ["0ce153587afa4095832d233c17a88001" // gnome-session startup ok
                         ],
 
@@ -50,3 +45,37 @@ const TaskSmoketest = new Lang.Class({
 
     CompletedTag: 'smoketested'
 });
+
+const TestSmoketest = new Lang.Class({
+    Name: 'TestSmoketest',
+    Extends: SmoketestBase,
+
+    TaskDef: {
+        TaskName: "smoketest",
+        TaskAfter: ['builddisks'],
+    },
+});
+
+const TestSmoketestClassic = new Lang.Class({
+    Name: 'TestSmoketestClassic',
+    Extends: SmoketestBase,
+
+    TaskDef: {
+        TaskName: "smoketest-classic",
+        TaskAfter: ['builddisks'],
+    },
+
+    GdmSession: 'gnome-classic',
+});
+
+const TestSmoketestWayland = new Lang.Class({
+    Name: 'TestSmoketestWayland',
+    Extends: SmoketestBase,
+
+    TaskDef: {
+        TaskName: "smoketest-wayland",
+        TaskAfter: ['builddisks'],
+    },
+
+    GdmSession: 'gnome-wayland',
+});


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]