summaryrefslogtreecommitdiffstats
path: root/php-zetacomponents-console-tools-pr8.patch
blob: 028dc32148410348365fede575eee73c5b3edbb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
From 16164a2d09b5f0c5a973c74d4ba3f0c8425ed1a5 Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Wed, 3 Jun 2015 17:42:06 +0200
Subject: [PATCH] create a interactive group

---
 tests/menu_dialog_test.php     | 12 ++++++++++++
 tests/question_dialog_test.php | 18 ++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/tests/menu_dialog_test.php b/tests/menu_dialog_test.php
index a98a0fb..6efa24b 100644
--- a/tests/menu_dialog_test.php
+++ b/tests/menu_dialog_test.php
@@ -164,6 +164,9 @@ public function testBasicMethods()
         $this->assertTrue( $exceptionCaught, "Excption not thrown on getResult() without result." );
     }
 
+    /**
+     * @group interactive
+     */
     public function testDialog1()
     {
         $this->runDialog( __METHOD__ );
@@ -180,6 +183,9 @@ public function testDialog1()
         $this->assertEquals( $this->res, $res );
     }
 
+    /**
+     * @group interactive
+     */
     public function testDialog2()
     {
         $this->runDialog( __METHOD__ );
@@ -196,6 +202,9 @@ public function testDialog2()
         $this->assertEquals( $this->res, $res );
     }
 
+    /**
+     * @group interactive
+     */
     public function testDialog3()
     {
         $this->runDialog( __METHOD__ );
@@ -221,6 +230,9 @@ public function testDialog3()
         $this->assertEquals( $this->res, $res );
     }
 
+    /**
+     * @group interactive
+     */
     public function testDialog4()
     {
         $this->runDialog( __METHOD__ );
diff --git a/tests/question_dialog_test.php b/tests/question_dialog_test.php
index a7217fd..2a0a0be 100644
--- a/tests/question_dialog_test.php
+++ b/tests/question_dialog_test.php
@@ -164,6 +164,9 @@ public function testBasicMethods()
         $this->assertTrue( $exceptionCaught, "Excption not thrown on getResult() without result." );
     }
 
+    /**
+     * @group interactive
+     */
     public function testYesNoQuestionFactory()
     {
         $output = new ezcConsoleOutput();
@@ -178,6 +181,9 @@ public function testYesNoQuestionFactory()
         $this->assertEquals( ezcConsoleQuestionDialogCollectionValidator::CONVERT_LOWER, $dialog->options->validator->conversion );
     }
 
+    /**
+     * @group interactive
+     */
     public function testDialog1()
     {
         $this->runDialog( __METHOD__ );
@@ -194,6 +200,9 @@ public function testDialog1()
         $this->assertEquals( $this->res, $res );
     }
 
+    /**
+     * @group interactive
+     */
     public function testDialog2()
     {
         $this->runDialog( __METHOD__ );
@@ -216,6 +225,9 @@ public function testDialog2()
         $this->assertEquals( $this->res, $res );
     }
 
+    /**
+     * @group interactive
+     */
     public function testDialog3()
     {
         $this->runDialog( __METHOD__ );
@@ -232,6 +244,9 @@ public function testDialog3()
         $this->assertEquals( $this->res, $res );
     }
 
+    /**
+     * @group interactive
+     */
     public function testDialog4()
     {
         $this->runDialog( __METHOD__ );
@@ -254,6 +269,9 @@ public function testDialog4()
         $this->assertEquals( $this->res, $res );
     }
 
+    /**
+     * @group interactive
+     */
     public function testDialog5()
     {
         $this->runDialog( __METHOD__ );