|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.symbian.et.test.driver.commands.filesetbased.FileSetManager
maintain stack of FileSet objects and know if they have been used (whatever that is for: 'build' or 'run' command) by the client implemented as a Singleton
Nested Class Summary | |
private class |
FileSetManager.FileSetRef
little C-style struct that contains a TstComponent address and a FileSet |
Field Summary | |
private java.util.Stack |
iFileSets
The stack of file lists corresponding to files required by a particular node. |
private static FileSetManager |
iInstance
The FileSetManager Singleton Reference. |
private static java.util.Stack |
iUidSet
THe static UID stack. |
private static int |
UIDFIRST
The first UID in the set. |
private static int |
UIDLAST
The last UID in the set. |
Constructor Summary | |
private |
FileSetManager()
|
Method Summary | |
private java.io.File |
checkBuildFileNames(java.io.File aFile)
|
private java.io.File |
checkFileNames(java.io.File aFile)
|
private com.symbian.et.test.engine.ExecuteOnHost |
createBuildFile(java.io.File aMMPFile,
java.io.File aBldInfFile,
java.lang.String aBuildType)
|
private com.symbian.et.test.engine.ExecuteOnDevice |
createTestRunFile(java.lang.String aDevicePath)
|
private void |
gatherDependencies(com.symbian.et.test.framework.TstComponent aTstComponent,
com.symbian.et.test.engine.EpocFileSet aFileSet)
|
private com.symbian.et.test.engine.EpocFileSet |
generateFileSet(com.symbian.et.test.framework.TstComponent aTstComponent)
create the list of files |
static FileSetManager |
getInstance()
|
void |
pop(com.symbian.et.test.framework.TstComponent aTstComponent)
pop a FileSet if it is necessary |
static java.lang.String |
popUid()
|
com.symbian.et.test.engine.EpocFileSet |
push(com.symbian.et.test.framework.TstComponent aTstComponent)
push a FileSet if it is necessary |
static void |
pushUid(java.lang.String aUid)
|
int |
size()
get number of FileSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static FileSetManager iInstance
private static final int UIDFIRST
private static final int UIDLAST
private static java.util.Stack iUidSet
private java.util.Stack iFileSets
Constructor Detail |
private FileSetManager()
Method Detail |
public static FileSetManager getInstance()
public com.symbian.et.test.engine.EpocFileSet push(com.symbian.et.test.framework.TstComponent aTstComponent)
aTstComponent
-
public void pop(com.symbian.et.test.framework.TstComponent aTstComponent)
aTstComponent
- private com.symbian.et.test.engine.EpocFileSet generateFileSet(com.symbian.et.test.framework.TstComponent aTstComponent)
aTstComponent
- A test Componenet
public int size()
private void gatherDependencies(com.symbian.et.test.framework.TstComponent aTstComponent, com.symbian.et.test.engine.EpocFileSet aFileSet)
aTstComponent
- aFileSet
- private com.symbian.et.test.engine.ExecuteOnDevice createTestRunFile(java.lang.String aDevicePath)
aDevicePath
-
private com.symbian.et.test.engine.ExecuteOnHost createBuildFile(java.io.File aMMPFile, java.io.File aBldInfFile, java.lang.String aBuildType) throws java.lang.Exception
aMMPFile
- aBldInfFile
- aBuildType
-
java.lang.Exception
private java.io.File checkBuildFileNames(java.io.File aFile)
aFile
-
private java.io.File checkFileNames(java.io.File aFile)
aFile
-
public static java.lang.String popUid()
public static void pushUid(java.lang.String aUid)
aUid
- The UID to push onto the stack.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |