This commit is contained in:
Ren RenJuan 2014-01-24 22:17:21 +00:00
parent c20b3301bd
commit 1d66fdfd68
3 changed files with 9 additions and 6 deletions

View File

@ -117,7 +117,7 @@ $(BUILD_OBJ_DIR)/%: $(BUILD_OBJ_DIR)/%.o
# #
ARTKOBJS=build/XMLGregorianCalendar.o build/XMLParser.o build/XMLWriter.o build/ACSession.o build/DomainAddRem.o \ ARTKOBJS=build/XMLGregorianCalendar.o build/XMLParser.o build/XMLWriter.o build/ACSession.o build/DomainAddRem.o \
build/EnumDomainInfoResponse.o build/log.o build/PostalInfoType.o build/SessionManagerPropertiesImpl.o \ build/EnumDomainInfoResponse.o build/log.o build/PostalInfoType.o build/SessionManagerPropertiesImpl.o \
build/RegistrantObjectType.o build/LPExtension.o build/LPChkCmdExtension.o \ build/RegistrantObjectType.o build/LPExtension.o build/LPChkCmdExtension.o build/LPCrtCmdExtension.o \
build/AddRemType.o build/DomainCheckResponse.o build/EnumDomainUpdateCommand.o build/Properties.o build/SessionPoolImpl.o \ build/AddRemType.o build/DomainCheckResponse.o build/EnumDomainUpdateCommand.o build/Properties.o build/SessionPoolImpl.o \
build/boolean.o build/DomainCreateCommand.o build/EnumType.o build/ProtocolExtensionCommand.o build/SSLException.o \ build/boolean.o build/DomainCreateCommand.o build/EnumType.o build/ProtocolExtensionCommand.o build/SSLException.o \
build/CertificateUserMismatchException.o build/DomainCreateResponse.o build/EPPDateFormatter.o build/ReceiveSE.o build/StandardCommandType.o \ build/CertificateUserMismatchException.o build/DomainCreateResponse.o build/EPPDateFormatter.o build/ReceiveSE.o build/StandardCommandType.o \

View File

@ -15,7 +15,7 @@ void LPChkCmdExtension::addToCommand(const Command &command) const
XMLWriter* xmlWriter = command.getXmlWriter(); XMLWriter* xmlWriter = command.getXmlWriter();
DOMElement* extensionElement = command.getExtensionElement(); DOMElement* extensionElement = command.getExtensionElement();
DOMElement* launchElement = xmlWriter->appendChild(extensionElement, DOMElement* launchElement = xmlWriter->appendChild(extensionElement,
"launch:claims", lpExtension().getURI()); "check", lpExtension().getURI());
DOMElement* exPhaseElement = xmlWriter->appendChild(launchElement, "launch:phase"); DOMElement* exPhaseElement = xmlWriter->appendChild(launchElement, "launch:phase");
XMLHelper::setTextContent(exPhaseElement, lpePhaseName); XMLHelper::setTextContent(exPhaseElement, lpePhaseName);
} }

View File

@ -9,7 +9,7 @@
#include "se/DomainCheckCommand.hpp" #include "se/DomainCheckCommand.hpp"
#include "se/DomainCheckResponse.hpp" #include "se/DomainCheckResponse.hpp"
#include "se/LPE/LPChkCmdExtension.hpp" #include "se/LPE/LPChkCmdExtension.hpp"
//#include "se/LPE/LPCrtExtension.hpp" #include "se/LPE/LPCrtCmdExtension.hpp"
#include "se/TransferOp.hpp" #include "se/TransferOp.hpp"
#include "se/IntPostalInfo.hpp" #include "se/IntPostalInfo.hpp"
#include "se/ContactCreateCommand.hpp" #include "se/ContactCreateCommand.hpp"
@ -109,7 +109,7 @@ void ausRegEPPTK::doOTEB()
const char *thatAccount="secura2-ote", *thisAccount="secura1-ote"; const char *thatAccount="secura2-ote", *thisAccount="secura1-ote";
string op("newInstance"); string op("newInstance");
const string phase("sunrise"); const string chkPhase("claims"), crtPhase("sunrise");
Transaction thisTest; Transaction thisTest;
scenario(thisConfig->tkScenario,thisConfig->cfg_path); scenario(thisConfig->tkScenario,thisConfig->cfg_path);
@ -186,8 +186,8 @@ void ausRegEPPTK::doOTEB()
theseLogs->logN(1,"(%d) LPE Check of unicycles.bike",cmd++); theseLogs->logN(1,"(%d) LPE Check of unicycles.bike",cmd++);
DomainCheckCommand oteCommand_2("unicycles.bike"); DomainCheckCommand oteCommand_2("unicycles.bike");
LPChkCmdExtension lpe(&phase); LPChkCmdExtension chkE(&chkPhase);
oteCommand_2.appendExtension(lpe); oteCommand_2.appendExtension(chkE);
DomainCheckResponse oteResponse_2; DomainCheckResponse oteResponse_2;
try { try {
@ -290,6 +290,8 @@ void ausRegEPPTK::doOTEB()
theseLogs->logN(1,"(%d) Sunrise create %s with ICANN SMD test files.",cmd++,name5); theseLogs->logN(1,"(%d) Sunrise create %s with ICANN SMD test files.",cmd++,name5);
DomainCreateCommand oteCommand_5(name5,pw,&RID, &tech, &ns, &admin, &billing); DomainCreateCommand oteCommand_5(name5,pw,&RID, &tech, &ns, &admin, &billing);
LPCrtCmdExtension crtE(&crtPhase);
oteCommand_5.appendExtension(crtE);
DomainCreateResponse oteResponse_5; DomainCreateResponse oteResponse_5;
thisTest = Transaction(&oteCommand_5, &oteResponse_5); thisTest = Transaction(&oteCommand_5, &oteResponse_5);
@ -298,6 +300,7 @@ void ausRegEPPTK::doOTEB()
theseLogs->logN(1,"(%d) Create test-validate.claimsgasix (TCN).",cmd++); theseLogs->logN(1,"(%d) Create test-validate.claimsgasix (TCN).",cmd++);
DomainCreateCommand oteCommand_6("test-validate.claimsgasix",pw,&RID, &tech, &ns, &admin, &billing); DomainCreateCommand oteCommand_6("test-validate.claimsgasix",pw,&RID, &tech, &ns, &admin, &billing);
oteCommand_6.appendExtension(crtE);
DomainCreateResponse oteResponse_6; DomainCreateResponse oteResponse_6;
thisTest = Transaction(&oteCommand_6, &oteResponse_6); thisTest = Transaction(&oteCommand_6, &oteResponse_6);