com.agical.rmock.core.expectation.section.service
Class SectionManagerService

java.lang.Object
  extended by com.agical.rmock.core.expectation.section.service.SectionManagerService
All Implemented Interfaces:
TestCaseListener, SectionManager, SectionProvider, Verifiable

public class SectionManagerService
extends java.lang.Object
implements SectionManager, SectionProvider, Verifiable, TestCaseListener


Constructor Summary
SectionManagerService()
           
 
Method Summary
 void afterTestCase()
           
 void beforeTestCase(java.lang.Object testInstance, java.lang.String testName)
           
 void beginSection(Section section)
           
 void beginVerify()
           
 void endSection()
           
 void endVerify()
           
 void extendSection(java.lang.String sectionToExtend)
           
 Section getCurrentSection()
          Will return the current section
 Section getRootSection()
          Will return the rootSection
 void overrideSection(java.lang.String id, Section section)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SectionManagerService

public SectionManagerService()
Method Detail

beginSection

public void beginSection(Section section)
Specified by:
beginSection in interface SectionManager

endSection

public void endSection()
Specified by:
endSection in interface SectionManager

getCurrentSection

public Section getCurrentSection()
Description copied from interface: SectionProvider
Will return the current section

Specified by:
getCurrentSection in interface SectionProvider
Returns:
The current section

beginVerify

public void beginVerify()
Specified by:
beginVerify in interface Verifiable

endVerify

public void endVerify()
Specified by:
endVerify in interface Verifiable

beforeTestCase

public void beforeTestCase(java.lang.Object testInstance,
                           java.lang.String testName)
Specified by:
beforeTestCase in interface TestCaseListener

afterTestCase

public void afterTestCase()
Specified by:
afterTestCase in interface TestCaseListener

getRootSection

public Section getRootSection()
Description copied from interface: SectionProvider
Will return the rootSection

Specified by:
getRootSection in interface SectionProvider
Returns:

overrideSection

public void overrideSection(java.lang.String id,
                            Section section)
Specified by:
overrideSection in interface SectionManager

extendSection

public void extendSection(java.lang.String sectionToExtend)
Specified by:
extendSection in interface SectionManager


Copyright © 2005-2010 Agical AB. All Rights Reserved.