r69854 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69853‎ | r69854 | r69855 >
Date:22:52, 24 July 2010
Author:platonides
Status:deferred
Tags:
Comment:
Set svn:eol-style to native.
Rename WikiDialogs_ExsistingPage to WikiDialogs_ExistingPage.
Modified paths:
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/private/config.properties (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/private/private.properties (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/private/private.xml (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/project.properties (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/project.xml (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/Config.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikSearch_TC.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiCommonFunction_TC.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiDialogs_ExistingPage.php (added) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiDialogs_ExsistingPage.php (deleted) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiDialogs_NewPage.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiDialogs_TC.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiListener.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiNTOC_NewPage.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiNTOC_TC.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiPreferences_TC.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTestSuite.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTextFormat_ExistingPage.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTextFormat_NewPage.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTextFormat_TC.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiToolBarOther_ExistingPage.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiToolBarOther_NewPage.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiToolBarOther_TC.php (modified) (history)
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiWatchUnWatch_TC.php (modified) (history)

Diff [purge]

Index: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/project.properties
@@ -1,11 +1,11 @@
2 -include.path=${php.global.include.path}
3 -php.version=PHP_5
4 -phpunit.bootstrap=
5 -phpunit.configuration=
6 -phpunit.suite=testCases/WikiTestSuite.php
7 -selenium.src.dir=testCases
8 -source.encoding=UTF-8
9 -src.dir=.
10 -tags.asp=false
11 -tags.short=true
12 -web.root=.
 2+include.path=${php.global.include.path}
 3+php.version=PHP_5
 4+phpunit.bootstrap=
 5+phpunit.configuration=
 6+phpunit.suite=testCases/WikiTestSuite.php
 7+selenium.src.dir=testCases
 8+source.encoding=UTF-8
 9+src.dir=.
 10+tags.asp=false
 11+tags.short=true
 12+web.root=.
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/project.properties
___________________________________________________________________
Added: svn:eol-style
1313 + native
Index: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/project.xml
@@ -1,9 +1,9 @@
2 -<?xml version="1.0" encoding="UTF-8"?>
3 -<project xmlns="http://www.netbeans.org/ns/project/1">
4 - <type>org.netbeans.modules.php.project</type>
5 - <configuration>
6 - <data xmlns="http://www.netbeans.org/ns/php-project/1">
7 - <name>WikiFunctions</name>
8 - </data>
9 - </configuration>
10 -</project>
 2+<?xml version="1.0" encoding="UTF-8"?>
 3+<project xmlns="http://www.netbeans.org/ns/project/1">
 4+ <type>org.netbeans.modules.php.project</type>
 5+ <configuration>
 6+ <data xmlns="http://www.netbeans.org/ns/php-project/1">
 7+ <name>WikiFunctions</name>
 8+ </data>
 9+ </configuration>
 10+</project>
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/project.xml
___________________________________________________________________
Added: svn:eol-style
1111 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/private/config.properties
___________________________________________________________________
Added: svn:eol-style
1212 + native
Index: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/private/private.properties
@@ -1,5 +1,5 @@
2 -copy.src.files=false
3 -copy.src.target=
4 -index.file=index.php
5 -run.as=LOCAL
6 -url=http://localhost/WikiFunctions/
 2+copy.src.files=false
 3+copy.src.target=
 4+index.file=index.php
 5+run.as=LOCAL
 6+url=http://localhost/WikiFunctions/
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/private/private.properties
___________________________________________________________________
Added: svn:eol-style
77 + native
Index: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/private/private.xml
@@ -1,13 +1,13 @@
2 -<?xml version="1.0" encoding="UTF-8"?>
3 -<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
4 - <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1">
5 - <file>
6 - <url>testCases/WikiToolBarDialogsTC.php</url>
7 - <line>336</line>
8 - </file>
9 - <file>
10 - <url>testCases/WikiDialogs_TC.php</url>
11 - <line>413</line>
12 - </file>
13 - </editor-bookmarks>
14 -</project-private>
 2+<?xml version="1.0" encoding="UTF-8"?>
 3+<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
 4+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1">
 5+ <file>
 6+ <url>testCases/WikiToolBarDialogsTC.php</url>
 7+ <line>336</line>
 8+ </file>
 9+ <file>
 10+ <url>testCases/WikiDialogs_TC.php</url>
 11+ <line>413</line>
 12+ </file>
 13+ </editor-bookmarks>
 14+</project-private>
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/nbproject/private/private.xml
___________________________________________________________________
Added: svn:eol-style
1515 + native
Index: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiDialogs_ExsistingPage.php
@@ -1,144 +0,0 @@
2 -<?php
3 -require_once 'WikiDialogs_TC.php';
4 -/**
5 - * Description of WikiExsistingPageDialogs
6 - *
7 - * @author bhagyag
8 - */
9 -class WikiDialogs_ExsistingPage extends WikiDialogs_TC {
10 - // Set up the testing environment
11 - function setup(){
12 - parent::setUp();
13 - }
14 -
15 - //Open a random page
16 - function openRandomPage(){
17 - parent::doOpenLink();
18 - parent::doLogin();
19 - parent::doAccessRandomPage();
20 - parent::doEditPage();
21 - }
22 - // Add a internal link and verify
23 - function testInternalLink(){
24 - $this->openRandomPage();
25 - parent::verifyInternalLink();
26 - parent::doLogout();
27 - }
28 -
29 -
30 - // Add a internal link with different display text and verify
31 - function testInternalLinkWithDisplayText(){
32 - $this->openRandomPage();
33 - parent::verifyInternalLinkWithDisplayText();
34 - parent::doLogout();
35 - }
36 -
37 - // Add a internal link with blank display text and verify
38 - function testInternalLinkWithBlankDisplayText(){
39 - $this->openRandomPage();
40 - parent::verifyInternalLinkWithBlankDisplayText();
41 - parent::doLogout();
42 - }
43 -
44 - // Add external link and verify
45 - function testExternalLink(){
46 - $this->openRandomPage();
47 - parent::verifyExternalLink();
48 - parent::doLogout();
49 - }
50 -
51 - // Add external link with different display text and verify
52 - function testExternalLinkWithDisplayText(){
53 - $this->openRandomPage();
54 - parent::verifyExternalLinkWithDisplayText();
55 - parent::doLogout();
56 - }
57 -
58 - // Add external link with Blank display text and verify
59 - function testExternalLinkWithBlankDisplayText(){
60 - $this->openRandomPage();
61 - parent::verifyExternalLinkWithBlankDisplayText();
62 - parent::doLogout();
63 - }
64 -
65 - // Add a table and verify
66 - function testCreateTable(){
67 - $this->openRandomPage();
68 - parent::verifyCreateTable();
69 - parent::doLogout();
70 - }
71 -
72 - // Add a table and verify only with head row
73 - function testCreateTableWithHeadRow(){
74 - $this->openRandomPage();
75 - parent::verifyCreateTableWithHeadRow();
76 - parent::doLogout();
77 - }
78 -
79 - // Add a table and verify only with borders
80 - function testCreateTableWithBorders(){
81 - $this->openRandomPage();
82 - parent::verifyCreateTableWithBorders();
83 - parent::doLogout();
84 - }
85 -
86 - // Add a table and verify only with sort row
87 - function testCreateTableWithSortRow(){
88 - $this->openRandomPage();
89 - parent::verifyCreateTableWithSortRow();
90 - parent::doLogout();
91 - }
92 -
93 - // Add a table without headers,borders and sort rows
94 - function testCreateTableWithNoSpecialEffects(){
95 - $this->openRandomPage();
96 - parent::verifyCreateTableWithNoSpecialEffects();
97 - parent::doLogout();
98 - }
99 -
100 - // Add a table with headers,borders and sort rows
101 - function testCreateTableWithAllSpecialEffects(){
102 - $this->openRandomPage();
103 - parent::verifyCreateTableWithAllSpecialEffects();
104 - parent::doLogout();
105 - }
106 - // Verify the replace all function on Search and Replace
107 - function testTextSearchReplaceAll(){
108 - $this->openRandomPage();
109 - parent::verifyTextSearchReplaceAll();
110 - parent::doLogout();
111 - }
112 -
113 - // Verify the replace next function on Search and Replace
114 - function testTextSearchReplaceNext(){
115 - $this->openRandomPage();
116 - parent::verifyTextSearchReplaceNext();
117 - parent::doLogout();
118 - }
119 -
120 - // When user click on find, text highlight on back which is not captured in Selenium directly.
121 - function testTextSearchFindNext(){
122 - parent::doOpenLink();
123 - parent::doLogin();
124 - $this->open("/deployment-en/Main_Page");
125 - $this->waitForPageToLoad("30000");
126 - parent::doAccessRandomPage();
127 - parent::verifyTextSearchFindNext();
128 - parent::doLogout();
129 - }
130 -
131 - // Verify the Match Case option with Replace All on Search and Replace
132 - function testTextMatchCase(){
133 - $this->openRandomPage();
134 - parent::verifyTextMatchCase();
135 - parent::doLogout();
136 - }
137 -
138 - //Verify Regular expression option with Replace All on Search and Replace
139 - function testRegEx(){
140 - $this->openRandomPage();
141 - parent::verifyRegEx();
142 - parent::doLogout();
143 - }
144 -}
145 -?>
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiDialogs_TC.php
___________________________________________________________________
Added: svn:eol-style
1461 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiNTOC_NewPage.php
___________________________________________________________________
Added: svn:eol-style
1472 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiToolBarOther_NewPage.php
___________________________________________________________________
Added: svn:eol-style
1483 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiToolBarOther_ExistingPage.php
___________________________________________________________________
Added: svn:eol-style
1494 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/Config.php
___________________________________________________________________
Added: svn:eol-style
1505 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikSearch_TC.php
___________________________________________________________________
Added: svn:eol-style
1516 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTextFormat_TC.php
___________________________________________________________________
Added: svn:eol-style
1527 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiCommonFunction_TC.php
___________________________________________________________________
Added: svn:eol-style
1538 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiListener.php
___________________________________________________________________
Added: svn:eol-style
1549 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiWatchUnWatch_TC.php
___________________________________________________________________
Added: svn:eol-style
15510 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiPreferences_TC.php
___________________________________________________________________
Added: svn:eol-style
15611 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiDialogs_NewPage.php
___________________________________________________________________
Added: svn:eol-style
15712 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiNTOC_TC.php
___________________________________________________________________
Added: svn:eol-style
15813 + native
Index: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTestSuite.php
@@ -8,7 +8,7 @@
99 require_once 'WikiWatchUnWatch_TC.php';
1010
1111 require_once 'WikiNTOC_ ExistingPage.php';
12 -require_once 'WikiDialogs_ExsistingPage.php';
 12+require_once 'WikiDialogs_ExistingPage.php';
1313 require_once 'WikiToolBarOther_ExistingPage.php';
1414 require_once 'WikiTextFormat_ExistingPage.php';
1515
@@ -26,7 +26,7 @@
2727 $suite->addTestSuite('WikiWatchUnWatch_TC'); // Working in Chrome
2828
2929 $suite->addTestSuite("WikiNTOC_ExistingPage"); // Working in Chrome
30 -$suite->addTestSuite("WikiDialogs_ExsistingPage");
 30+$suite->addTestSuite("WikiDialogs_ExistingPage");
3131 $suite->addTestSuite("WikiToolBarOther_ExistingPage");
3232 $suite->addTestSuite("WikiTextFormat_ExistingPage");
3333
@@ -36,4 +36,4 @@
3737 $suite->addTestSuite("WikiTextFormat_NewPage");
3838
3939 $suite->run($result);
40 -?>
\ No newline at end of file
 40+?>
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTestSuite.php
___________________________________________________________________
Added: svn:eol-style
4141 + native
Index: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiDialogs_ExistingPage.php
@@ -0,0 +1,144 @@
 2+<?php
 3+require_once 'WikiDialogs_TC.php';
 4+/**
 5+ * Description of WikiExistingPageDialogs
 6+ *
 7+ * @author bhagyag
 8+ */
 9+class WikiDialogs_ExistingPage extends WikiDialogs_TC {
 10+ // Set up the testing environment
 11+ function setup(){
 12+ parent::setUp();
 13+ }
 14+
 15+ //Open a random page
 16+ function openRandomPage(){
 17+ parent::doOpenLink();
 18+ parent::doLogin();
 19+ parent::doAccessRandomPage();
 20+ parent::doEditPage();
 21+ }
 22+ // Add a internal link and verify
 23+ function testInternalLink(){
 24+ $this->openRandomPage();
 25+ parent::verifyInternalLink();
 26+ parent::doLogout();
 27+ }
 28+
 29+
 30+ // Add a internal link with different display text and verify
 31+ function testInternalLinkWithDisplayText(){
 32+ $this->openRandomPage();
 33+ parent::verifyInternalLinkWithDisplayText();
 34+ parent::doLogout();
 35+ }
 36+
 37+ // Add a internal link with blank display text and verify
 38+ function testInternalLinkWithBlankDisplayText(){
 39+ $this->openRandomPage();
 40+ parent::verifyInternalLinkWithBlankDisplayText();
 41+ parent::doLogout();
 42+ }
 43+
 44+ // Add external link and verify
 45+ function testExternalLink(){
 46+ $this->openRandomPage();
 47+ parent::verifyExternalLink();
 48+ parent::doLogout();
 49+ }
 50+
 51+ // Add external link with different display text and verify
 52+ function testExternalLinkWithDisplayText(){
 53+ $this->openRandomPage();
 54+ parent::verifyExternalLinkWithDisplayText();
 55+ parent::doLogout();
 56+ }
 57+
 58+ // Add external link with Blank display text and verify
 59+ function testExternalLinkWithBlankDisplayText(){
 60+ $this->openRandomPage();
 61+ parent::verifyExternalLinkWithBlankDisplayText();
 62+ parent::doLogout();
 63+ }
 64+
 65+ // Add a table and verify
 66+ function testCreateTable(){
 67+ $this->openRandomPage();
 68+ parent::verifyCreateTable();
 69+ parent::doLogout();
 70+ }
 71+
 72+ // Add a table and verify only with head row
 73+ function testCreateTableWithHeadRow(){
 74+ $this->openRandomPage();
 75+ parent::verifyCreateTableWithHeadRow();
 76+ parent::doLogout();
 77+ }
 78+
 79+ // Add a table and verify only with borders
 80+ function testCreateTableWithBorders(){
 81+ $this->openRandomPage();
 82+ parent::verifyCreateTableWithBorders();
 83+ parent::doLogout();
 84+ }
 85+
 86+ // Add a table and verify only with sort row
 87+ function testCreateTableWithSortRow(){
 88+ $this->openRandomPage();
 89+ parent::verifyCreateTableWithSortRow();
 90+ parent::doLogout();
 91+ }
 92+
 93+ // Add a table without headers,borders and sort rows
 94+ function testCreateTableWithNoSpecialEffects(){
 95+ $this->openRandomPage();
 96+ parent::verifyCreateTableWithNoSpecialEffects();
 97+ parent::doLogout();
 98+ }
 99+
 100+ // Add a table with headers,borders and sort rows
 101+ function testCreateTableWithAllSpecialEffects(){
 102+ $this->openRandomPage();
 103+ parent::verifyCreateTableWithAllSpecialEffects();
 104+ parent::doLogout();
 105+ }
 106+ // Verify the replace all function on Search and Replace
 107+ function testTextSearchReplaceAll(){
 108+ $this->openRandomPage();
 109+ parent::verifyTextSearchReplaceAll();
 110+ parent::doLogout();
 111+ }
 112+
 113+ // Verify the replace next function on Search and Replace
 114+ function testTextSearchReplaceNext(){
 115+ $this->openRandomPage();
 116+ parent::verifyTextSearchReplaceNext();
 117+ parent::doLogout();
 118+ }
 119+
 120+ // When user click on find, text highlight on back which is not captured in Selenium directly.
 121+ function testTextSearchFindNext(){
 122+ parent::doOpenLink();
 123+ parent::doLogin();
 124+ $this->open("/deployment-en/Main_Page");
 125+ $this->waitForPageToLoad("30000");
 126+ parent::doAccessRandomPage();
 127+ parent::verifyTextSearchFindNext();
 128+ parent::doLogout();
 129+ }
 130+
 131+ // Verify the Match Case option with Replace All on Search and Replace
 132+ function testTextMatchCase(){
 133+ $this->openRandomPage();
 134+ parent::verifyTextMatchCase();
 135+ parent::doLogout();
 136+ }
 137+
 138+ //Verify Regular expression option with Replace All on Search and Replace
 139+ function testRegEx(){
 140+ $this->openRandomPage();
 141+ parent::verifyRegEx();
 142+ parent::doLogout();
 143+ }
 144+}
 145+?>
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiDialogs_ExistingPage.php
___________________________________________________________________
Added: svn:eol-style
1146 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiToolBarOther_TC.php
___________________________________________________________________
Added: svn:eol-style
2147 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTextFormat_NewPage.php
___________________________________________________________________
Added: svn:eol-style
3148 + native
Property changes on: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTextFormat_ExistingPage.php
___________________________________________________________________
Added: svn:eol-style
4149 + native

Status & tagging log