GPyUnit::Regr::Mga::tc4::TestCase4 Class Reference

List of all members.

Public Member Functions

def setUp
def tearDown
def scramble_name
def populate4A
def testA
def populate4B
def testB
def populate4C
def testC
def populate4D
def testD
def register_old_sf_par
def populate4E1
def populate4E3
def populate4E4
def populate4E5
def populate4E6
def testE1
def testE2
def testE3
def testE4
def testE5
def testE6
def populate4F
def testF
def populate4G
def testG
def populate4H
def testH
def populate4I
def testI
def populate4J
def testJ

Public Attributes

 project

Detailed Description

Definition at line 17 of file tc4.py.


Member Function Documentation

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4A (   self,
  p 
)

Definition at line 37 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4B (   self,
  p 
)

Definition at line 128 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4C (   self,
  p 
)

Definition at line 201 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4D (   self,
  p 
)

Definition at line 336 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4E1 (   self,
  p 
)

Definition at line 508 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4E3 (   self,
  p 
)

Definition at line 521 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4E4 (   self,
  p 
)

Definition at line 534 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4E5 (   self,
  p 
)

Definition at line 547 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4E6 (   self,
  p 
)

Definition at line 560 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4F (   self,
  p 
)

Definition at line 1017 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4G (   self,
  p 
)

Definition at line 1150 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4H (   self,
  p 
)

Definition at line 1273 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4I (   self,
  p 
)

Definition at line 1395 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::populate4J (   self,
  p 
)

Definition at line 1452 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::register_old_sf_par (   self  ) 

Definition at line 482 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::scramble_name (   self,
  o_n 
)

Definition at line 29 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::setUp (   self  ) 

Definition at line 22 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::tearDown (   self  ) 

Definition at line 25 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testA (   self  ) 
testA

Open				a project
Preferences			property inquired
OperationsMask			property inquired
CreateTerritory
BeginTransaction
Preferences			property inquired
OperationsMask			property inquired
Preferences			property set
OperationsMask			property set
CommitTransaction
Preferences			property set to original value
OperationsMask			property set to original value
Save				project
Close				project

Definition at line 40 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testB (   self  ) 
testB

Open				a project
CreateTerritory
BeginTransaction
Name				property changed
Comment				property changed
ActiveTerritory			inquired
CommitTransaction
Save				project
Close				project

Definition at line 131 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testC (   self  ) 
testC

ProjectStatus			inquired
Open				a project
CreateTerritory			once
CreateTerritory			twice
ProjectStatus			inquired
BeginTransaction
ProjectStatus			inquired
Name				property changed
Territories			inquired
AbortTransaction
ProjectStatus			inquired
BeginTransaction readonly
ProjectStatus			inquired
Name				property inquired
CommitTransaction
ProjectStatus			inquired
Save				project
Close				project
ProjectStatus			inquired

Project status bits to be interpreted like:
0 :	is open? 
1 :	open r/o? 
2 :	has changed? 
3 :	in transaction?, 
4 :	transaction r/o?, 
31:	error

Definition at line 204 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testD (   self  ) 
testD

Open				a project
BeginTransaction		1st
RootFolder			accessed
Name				changed
CommitTransaction
BeginTransaction		2nd
RootFolder			accessed
Children 			deleted
CommitTransaction
UndoRedoSize
Undo
BeginTransaction		3rd
UndoRedoSize
Redo
BeginTransaction		4th
UndoRedoSize
FlushUndoQueue
Save				project
Close				project

Definition at line 357 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testE1 (   self  ) 
testE1

Open				for a readonly project

Definition at line 574 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testE2 (   self  ) 
testE2

CreateEx			with an old, registered version of SF
OpenEx				with an old, registered version of SF
Meta				accessed to test existence of specific kind in the old paradigm
Close( abort )

Definition at line 618 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testE3 (   self  ) 
testE3

SaveAs 		under a different name, with "Don't keep oldname" option

Definition at line 691 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testE4 (   self  ) 
testE4

SaveAs 		under a different name, with "Don't keep oldname" option
Apply changes	after the SaveAs operation

Definition at line 744 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testE5 (   self  ) 
testE5

SaveAs 		under a different name, with "Keep oldname" option

Definition at line 847 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testE6 (   self  ) 
testE6

SaveAs 		under a different name, with "Keep oldname" option
Apply changes	after the SaveAs operation

Definition at line 916 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testF (   self  ) 
testF

ObjectByPath		invoked with #relids
        invoked with @name|kind strings
                        -for unique object
                        -for non-unique object
                        -for non-existing object
        invoked with name|kind|relpos string

NthObjectByPath		invoked with name|kind|relpos string
                        -for unique object
                        -for non-unique object
                        -for non-existing object

Definition at line 1041 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testG (   self  ) 
testG

GetObjectByID

Definition at line 1186 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testH (   self  ) 
testH

GetFCOByID	for folder (expecting 0)
for fcos

Definition at line 1309 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testI (   self  ) 
testI

BeginTransaction
GetFCOsByName		TODO: implement the feature first, then the testcase
GetFolderByPath		TODO: implement the feature first, then the testcase
AbortTransaction

Definition at line 1397 of file tc4.py.

def GPyUnit::Regr::Mga::tc4::TestCase4::testJ (   self  ) 
testJ

BeginTransaction
CreateFilter			
AllFCOs				inquire all objects with an empty filter
change filter
AllFCOs				inquire some objects with a constrained filter
CommitTransaction

Definition at line 1481 of file tc4.py.


Member Data Documentation

Definition at line 75 of file tc4.py.


The documentation for this class was generated from the following file:
Generated on Thu May 30 15:59:53 2013 for GME by  doxygen 1.6.3