-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
î:ïNc @@ sr d Z d d l m Z d d l Z d d l m Z m Z d d l m Z d d l m
Z
d e f d „ ƒ YZ d S( s) Tests for weave-era working tree formats.i ( t absolute_importN( t conflictst errors( t TestCaseWithTransport( t
BzrDirFormat6t TestFormat2WorkingTreec B@ s) e Z d Z d „ Z d „ Z d „ Z RS( s* Tests that are specific to format 2 trees.c C@ s | j | d t ƒ ƒS( Nt format( t make_branch_and_treeR ( t selft url( ( sM /usr/lib/python2.7/dist-packages/bzrlib/plugins/weave_fmt/test_workingtree.pyt create_format2_tree' s c C@ sx | j d ƒ } | j t j | j d ƒ t d d ƒ j d ƒ t j d ƒ } | j
t | j ƒ ƒ | g ƒ t d d ƒ j d ƒ | j d d ƒ t j d d d ƒ} | j
t | j ƒ ƒ | g ƒ t d d ƒ j d
ƒ t d d ƒ j d ƒ t j
d d d ƒ} | j
t | j ƒ ƒ | g ƒ t j d ƒ t j d ƒ t j d d d ƒ} | j
t | j ƒ ƒ | g ƒ d S(
Nt .s lala.BASEt wbt labaset lalat las lala-idt file_ids lala.THISt lathiss
lala.OTHERt laother( R
t assertRaisesR t UnsupportedOperationt
set_conflictst Nonet filet writeR t ContentsConflictt assertEqualt listt addt TextConflictt ost unlinkt mkdir( R t treet expected( ( sM /usr/lib/python2.7/dist-packages/bzrlib/plugins/weave_fmt/test_workingtree.pyt test_conflicts+ s$
c C@ s= | j d ƒ } | j d d d d d d g ƒ | j ƒ | j d t | j ƒ ƒ ƒ | j ƒ | j ƒ } | j d | ƒ | j d | d j k ƒ | j d | d j k ƒ t j
d ƒ t j
d ƒ | j d | j ƒ ƒ | j d d ƒ | j t
j j d ƒ ƒ | j t j t j
d ƒ | j t j t j
d ƒ d S( s Conflicts are detected properlyR t hellos hello world4s
hello.THISs hello world2s
hello.BASEs hello world1s hello.OTHERs hello world3s hello.sploo.BASEt yellowworlds hello.sploo.OTHERt yellowworld2i i i s hello.splooi N( R$ s hello world4( s
hello.THISs hello world2( s
hello.BASEs hello world1( s hello.OTHERs hello world3( s hello.sploo.BASER% ( s hello.sploo.OTHERR&