org.aludratest.hpalm.service.impl
Class HpAlmVerificationCheckImpl

java.lang.Object
  extended by org.aludratest.hpalm.service.impl.HpAlmVerificationCheckImpl
All Implemented Interfaces:
HpAlmCondition, HpAlmVerification, org.aludratest.service.Action, org.aludratest.service.Condition, org.aludratest.service.Verification

public class HpAlmVerificationCheckImpl
extends Object
implements HpAlmVerification, HpAlmCondition


Constructor Summary
HpAlmVerificationCheckImpl(HpAlmSession session)
           
 
Method Summary
 boolean anyEntityExists(EntityType entityType, String query)
           
 void assertAnyEntityExists(EntityType entityType, String query)
           
 void assertEntityExists(EntityType entityType, long id)
           
 void assertEntityFieldMatches(EntityType entityType, long id, String fieldName, org.databene.commons.Validator<String> validator)
           
 void assertEntityNotExists(EntityType entityType, long id)
           
 void assertNoEntityExists(EntityType entityType, String query)
           
 List<org.aludratest.testcase.event.attachment.Attachment> createAttachments(Object object, String title)
           
 List<org.aludratest.testcase.event.attachment.Attachment> createDebugAttachments()
           
 boolean entityExists(EntityType entityType, long id)
           
 void setSystemConnector(org.aludratest.service.SystemConnector systemConnector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HpAlmVerificationCheckImpl

public HpAlmVerificationCheckImpl(HpAlmSession session)
Method Detail

assertEntityFieldMatches

public void assertEntityFieldMatches(EntityType entityType,
                                     long id,
                                     String fieldName,
                                     org.databene.commons.Validator<String> validator)
Specified by:
assertEntityFieldMatches in interface HpAlmVerification

assertEntityExists

public void assertEntityExists(EntityType entityType,
                               long id)
Specified by:
assertEntityExists in interface HpAlmVerification

assertEntityNotExists

public void assertEntityNotExists(EntityType entityType,
                                  long id)
Specified by:
assertEntityNotExists in interface HpAlmVerification

assertAnyEntityExists

public void assertAnyEntityExists(EntityType entityType,
                                  String query)
Specified by:
assertAnyEntityExists in interface HpAlmVerification

assertNoEntityExists

public void assertNoEntityExists(EntityType entityType,
                                 String query)
Specified by:
assertNoEntityExists in interface HpAlmVerification

anyEntityExists

public boolean anyEntityExists(EntityType entityType,
                               String query)
Specified by:
anyEntityExists in interface HpAlmCondition

entityExists

public boolean entityExists(EntityType entityType,
                            long id)
Specified by:
entityExists in interface HpAlmCondition

createDebugAttachments

public List<org.aludratest.testcase.event.attachment.Attachment> createDebugAttachments()
Specified by:
createDebugAttachments in interface org.aludratest.service.Action

createAttachments

public List<org.aludratest.testcase.event.attachment.Attachment> createAttachments(Object object,
                                                                                   String title)
Specified by:
createAttachments in interface org.aludratest.service.Action

setSystemConnector

public void setSystemConnector(org.aludratest.service.SystemConnector systemConnector)
Specified by:
setSystemConnector in interface org.aludratest.service.Action


Copyright © 2015 aludratest.org. All rights reserved.