[KSS-checkins] r53422 - kukit/kss.demo/branch/1.4-kss-test/kss/demo

reebalazs at codespeak.net reebalazs at codespeak.net
Sun Apr 6 11:19:30 CEST 2008


Author: reebalazs
Date: Sun Apr  6 11:19:28 2008
New Revision: 53422

Modified:
   kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_layers.txt
   kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_suites.txt
   kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_testcases.txt
Log:
Minor changes in tests

Modified: kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_layers.txt
==============================================================================
--- kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_layers.txt	(original)
+++ kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_layers.txt	Sun Apr  6 11:19:28 2008
@@ -233,7 +233,7 @@
     ('@@resource?path=1', '@@resource?path=5', '@@resource?path=tb2', '@@resource?path=6', '@@resource?path=2')
 
 This is also true if both dual and single mode tests are in the
-same layer. In this case the tests will wun in the end, which in
+same layer. In this case the tests will run in the end, which in
 practice means Production mode.
 
     >>> tree = LayerTree((bSuite, b2Suite))

Modified: kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_suites.txt
==============================================================================
--- kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_suites.txt	(original)
+++ kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_suites.txt	Sun Apr  6 11:19:28 2008
@@ -26,7 +26,7 @@
 filesystem).
 
     >>> tuple(suite1.get_testcase_paths())
-    ('1', '...setDevMode.html', '...setProdMode.html')
+    ('...1', '...setDevMode.html', '...setProdMode.html')
 
 (Normally we would see an absolute path in place of '1', but the
 module finder does not work from within doctests.)
@@ -35,7 +35,7 @@
 which is not important in this case.)
 
     >>> tuple(suite1.get_relative_urls(None))
-    ('@@resource?path=...setDevMode.html', '@@resource?path=1', '@@resource?path=...setProdMode.html', '@@resource?path=1')
+    ('@@resource?path=...setDevMode.html', '@@resource?path=...1', '@@resource?path=...setProdMode.html', '@@resource?path=1')
 
 
 Dual and single mode
@@ -57,7 +57,7 @@
     >>> suite2 = Plugin2.selenium_tests[0]
 
     >>> tuple(suite2.get_relative_urls(None))
-    ('@@resource?path=2',)
+    ('@@resource?path=...2',)
 
 
 Using test layers
@@ -87,10 +87,10 @@
 Check the results:
 
     >>> tuple(suite3.get_testcase_paths())
-    ('3', 'sa', 'ta', '...setDevMode.html', '...setProdMode.html')
+    ('...3', '...sa', '...ta', '...setDevMode.html', '...setProdMode.html')
 
     >>> tuple(suite3.get_relative_urls(None))
-    ('@@resource?path=sa', '@@resource?path=...setDevMode.html', '@@resource?path=3', '@@resource?path=...setProdMode.html', '@@resource?path=3', '@@resource?path=ta')
+    ('@@resource?path=...sa', '@@resource?path=...setDevMode.html', '@@resource?path=...3', '@@resource?path=...setProdMode.html', '@@resource?path=...3', '@@resource?path=...ta')
 
 To use more tests in the setup of a layer, no extra effort is
 needed since the testcase resource already provide
@@ -123,10 +123,10 @@
 Check the results:
 
     >>> tuple(suite3b.get_testcase_paths())
-    ('3b', 'sa1', 'sa2', 'ta1', 'ta2', '...setDevMode.html', '...setProdMode.html')
+    ('...3b', '...sa1', '...sa2', '...ta1', '...ta2', '...setDevMode.html', '...setProdMode.html')
 
     >>> tuple(suite3b.get_relative_urls(None))
-    ('@@resource?path=sa1', '@@resource?path=sa2', '@@resource?path=...setDevMode.html', '@@resource?path=3b', '@@resource?path=...setProdMode.html', '@@resource?path=3b', '@@resource?path=ta1', '@@resource?path=ta2')
+    ('@@resource?path=...sa1', '@@resource?path=...sa2', '@@resource?path=...setDevMode.html', '@@resource?path=...3b', '@@resource?path=...setProdMode.html', '@@resource?path=...3b', '@@resource?path=...ta1', '@@resource?path=...ta2')
 
 
 Inheritence of layers
@@ -149,10 +149,10 @@
     >>> suite4 = Plugin4.selenium_tests[0]
 
     >>> tuple(suite4.get_testcase_paths())
-    ('4', 'sb', 'tb', '...setDevMode.html', '...setProdMode.html')
+    ('...4', '...sb', '...tb', '...setDevMode.html', '...setProdMode.html')
 
     >>> tuple(suite4.get_relative_urls(None))
-    ('@@resource?path=sa', '@@resource?path=sb', '@@resource?path=...setDevMode.html', '@@resource?path=4', '@@resource?path=...setProdMode.html', '@@resource?path=4', '@@resource?path=tb', '@@resource?path=ta')
+    ('@@resource?path=...sa', '@@resource?path=...sb', '@@resource?path=...setDevMode.html', '@@resource?path=...4', '@@resource?path=...setProdMode.html', '@@resource?path=...4', '@@resource?path=...tb', '@@resource?path=...ta')
 
 
 Generating tests for a set of resources
@@ -180,7 +180,7 @@
     >>> from kss.demo.selenium_layer import LayerTree
     >>> tree = LayerTree(Plugin5.selenium_tests + (suite2, )) 
     >>> tuple(tree.get_relative_urls(None))
-    ('@@resource?path=2', '@@resource?path=sa', '@@resource?path=...setDevMode.html', '@@resource?path=5a', '@@resource?path=...setProdMode.html', '@@resource?path=5a', '@@resource?path=sb', '@@resource?path=...setDevMode.html', '@@resource?path=5b', '@@resource?path=...setProdMode.html', '@@resource?path=5b', '@@resource?path=tb', '@@resource?path=ta')
+    ('@@resource?path=...2', '@@resource?path=...sa', '@@resource?path=...setDevMode.html', '@@resource?path=...5a', '@@resource?path=...setProdMode.html', '@@resource?path=...5a', '@@resource?path=...sb', '@@resource?path=...setDevMode.html', '@@resource?path=...5b', '@@resource?path=...setProdMode.html', '@@resource?path=...5b', '@@resource?path=...tb', '@@resource?path=...ta')
 
 More testing of the layers can be found in the
 selenium_layers.txt file.

Modified: kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_testcases.txt
==============================================================================
--- kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_testcases.txt	(original)
+++ kukit/kss.demo/branch/1.4-kss-test/kss/demo/selenium_testcases.txt	Sun Apr  6 11:19:28 2008
@@ -40,7 +40,7 @@
 CA for the ``implements``) to locate the directory of the python
 file that instantiates the collection. This allows that filenames
 that are used as parameters, will be expanded to their absolute
-class automatically. If we create a collection in itself, we will
+path automatically. If we create a collection in itself, we will
 get an error:
 
     >>> from kss.demo import KSSSeleniumTestCase
@@ -122,7 +122,7 @@
 
 For the sake of the test, we will find a testcase directory from
 kss.core. Note this would not be needed from real code, you'd
-just need to use the directory name.
+just need to use the relative directory name.
 
     >>> import sys, os.path, kss.core.plugins.core.demo
     >>> rootdir = os.path.dirname(sys.modules['kss.core.plugins.core.demo'].__file__)


More information about the Kukit-checkins mailing list