Package CMFSetup :: Package tests :: Module test_differ
[show private | hide private]
[frames | no frames]

Module CMFSetup.tests.test_differ

Unit tests for differ module.

$Id: test_differ.py 37135 2005-07-08 13:24:33Z tseaver $
Classes
ConfigDiffTests  
DummySite Folders are basic container objects that provide a standard interface for object management.
Test_unidiff  

Function Summary
  test_suite()

Variable Summary
str ADDED_FILE_DIFFS_MAE = 'Index: sub/again.txt\n==========...
str ADDED_FILE_DIFFS_NO_MAE = '** File sub/again.txt added\n...
str DIFF_TEXT = '--- original None\n+++ modified None\n@@ -1...
str ONE_FOUR = 'one\ntwo\nthree\nfour\n'
str REMOVED_FILE_DIFFS_MAE = 'Index: sub/again.txt\n========...
str REMOVED_FILE_DIFFS_NO_MAE = '** File sub/again.txt remov...
str TEST_TXT_DIFFS = 'Index: test.txt\n=====================...
str ZERO_FOUR = 'zero\none\ntree\nfour\n'

Variable Details

ADDED_FILE_DIFFS_MAE

Type:
str
Value:
'''Index: sub/again.txt
===================================================================
--- sub/again.txt 0
+++ sub/again.txt %s
@@ -1,0 +1,1 @@
+GHIJKL'''                                                             

ADDED_FILE_DIFFS_NO_MAE

Type:
str
Value:
'''** File sub/again.txt added
'''                                                                    

DIFF_TEXT

Type:
str
Value:
'''--- original None
+++ modified None
@@ -1,4 +1,4 @@
+zero
 one
-two
-three
+tree
...                                                                    

ONE_FOUR

Type:
str
Value:
'''one
two
three
four
'''                                                                    

REMOVED_FILE_DIFFS_MAE

Type:
str
Value:
'''Index: sub/again.txt
===================================================================
--- sub/again.txt %s
+++ sub/again.txt 0
@@ -1,1 +1,0 @@
-GHIJKL'''                                                             

REMOVED_FILE_DIFFS_NO_MAE

Type:
str
Value:
'''** File sub/again.txt removed
'''                                                                    

TEST_TXT_DIFFS

Type:
str
Value:
'''Index: test.txt
===================================================================
--- test.txt %s
+++ test.txt %s
@@ -1,2 +1,2 @@
 ABCDEF
-WXYZ
+QRST'''                                                               

ZERO_FOUR

Type:
str
Value:
'''zero
one
tree
four
'''                                                                    

Generated by Epydoc 2.1 on Wed Nov 30 03:58:02 2005 http://epydoc.sf.net