Remove pointless Source.h,Schema.h original toolkit developers left

This commit is contained in:
Ren RenJuan 2014-01-22 14:07:06 +00:00
parent db69393113
commit 7798edd690
6 changed files with 18 additions and 29 deletions

View File

@ -1,8 +0,0 @@
#ifndef __SCHEMA_HPP
#define __SCHEMA_HPP
class Schema
{
};
#endif // __SCHEMA_HPP

View File

@ -1,8 +0,0 @@
#ifndef __SOURCE_HPP
#define __SOURCE_HPP
class Source
{
};
#endif // __SOURCE_HPP

Binary file not shown.

View File

@ -396,8 +396,8 @@ void mdCommander::eppMainMenu() {
mvprintw(25,10," V<n> - vi/xmledit a XSDs"); mvprintw(25,10," V<n> - vi/xmledit a XSDs");
mvprintw(7,50, "EPP command schemata are defined by XSDs in ./resources."); mvprintw(7,50, "EPP command schemata are defined by XSDs in ./resources.");
mvprintw(8,50, "Originals from the 2007 toolkit are updated to what's @"); mvprintw(8,50, "These are verified to be IETF standard plus the launch phase");
mvprintw(9,50, "http://www.iana.org/assignments/xml-registry/xml-registry.xhtml"); mvprintw(9,50, "extensions used by major Registries.");
mvprintw(11,50,"Load schema means to activate the code generated from the xsds"); mvprintw(11,50,"Load schema means to activate the code generated from the xsds");
mvprintw(12,50,"and attach it to the commands."); mvprintw(12,50,"and attach it to the commands.");
mvprintw(14,50,"Without this you'll see stub commands in the internal editor."); mvprintw(14,50,"Without this you'll see stub commands in the internal editor.");

Binary file not shown.

View File

@ -36,6 +36,8 @@ char *name2 = "yoda.guru";
char *name3 = "pricey.holdings"; char *name3 = "pricey.holdings";
char *name4 = "unicycles.bike"; char *name4 = "unicycles.bike";
char *name5 = "greedy.ventures"; char *name5 = "greedy.ventures";
char *name6 = "shady.ventures";
char *name7 = "hemmarhoid.camera";
static TestEnvironment props; static TestEnvironment props;
@ -103,9 +105,10 @@ void ausRegEPPTK::doOTEA()
} }
void ausRegEPPTK::doOTEB() void ausRegEPPTK::doOTEB()
{ {
bool addDomains = false, debug=true, contactCreated = true, doTransfers = false; bool addDomains = true, debug=true, contactCreated = true, doTransfers = false,
transferGainer = false;
int cmd=0; int cmd=0;
char *thatAccount="secura2-ote", *thisAccount="secura1-ote"; const char *thatAccount="secura2-ote", *thisAccount="secura1-ote";
string op("newInstance"); string op("newInstance");
Transaction thisTest; Transaction thisTest;
@ -204,7 +207,7 @@ void ausRegEPPTK::doOTEB()
if (addDomains) { if (addDomains) {
/* DomainCreateCommand DomainCreateCommand
baCommand_3(name3,pw,&RID, &tech, &ns, &admin, &billing); baCommand_3(name3,pw,&RID, &tech, &ns, &admin, &billing);
DomainCreateResponse baResponse_3; DomainCreateResponse baResponse_3;
@ -217,7 +220,7 @@ void ausRegEPPTK::doOTEB()
thisTest = Transaction(&baCommand_3a, &baResponse_3a); thisTest = Transaction(&baCommand_3a, &baResponse_3a);
manager->execute(thisTest); manager->execute(thisTest);
*/
DomainCreateCommand DomainCreateCommand
baCommand_3b(name5,pw,&RID, &tech, &ns, &admin, &billing); baCommand_3b(name5,pw,&RID, &tech, &ns, &admin, &billing);
DomainCreateResponse baResponse_3b; DomainCreateResponse baResponse_3b;
@ -239,15 +242,17 @@ void ausRegEPPTK::doOTEB()
theseLogs->logN(0,"Case %d Failed, harness catch.",cmd++); theseLogs->logN(0,"Case %d Failed, harness catch.",cmd++);
} }
theseLogs->logN(2,"skip (%d) yoda.guru, bestever.camera -> %s.",cmd++, theseLogs->logN(2,"%s (%d) %s -> %s.",
thatAccount); (transferGainer ? "Request" : "Approve"),cmd++,
name1,thatAccount);
if (doTransfers) { if (doTransfers) {
const TransferOp *thisTransfer = new TransferOp("request"); const TransferOp *thisTransfer =
transferGainer ? new TransferOp("request") : new TransferOp("approve") ;
DomainTransferCommand DomainTransferCommand
baCommand_4(thisTransfer,"bestever.camera"); baCommand_4(thisTransfer,name1);
DomainTransferResponse baResponse_4; DomainTransferResponse baResponse_4;
try { try {
@ -263,9 +268,9 @@ void ausRegEPPTK::doOTEB()
} }
theseLogs->logN(1,"(%d) Sunrise create bestever.camera with ICANN SMD test files.",cmd++); theseLogs->logN(1,"(%d) Sunrise create %s with ICANN SMD test files.",cmd++,name5);
LPECreateCommand baCommand_5("bestever.camera",pw,&RID); LPECreateCommand baCommand_5(name5,pw,&RID, &tech, &ns, &admin, &billing);
LPECreateResponse baResponse_5; LPECreateResponse baResponse_5;
thisTest = Transaction(&baCommand_5, &baResponse_5); thisTest = Transaction(&baCommand_5, &baResponse_5);
@ -273,7 +278,7 @@ void ausRegEPPTK::doOTEB()
theseLogs->logN(1,"(%d) Create test-validate.claimsgasix (TCN).",cmd++); theseLogs->logN(1,"(%d) Create test-validate.claimsgasix (TCN).",cmd++);
LPECreateCommand baCommand_6("test-validate.claimsgasix",pw,&RID); LPECreateCommand baCommand_6("test-validate.claimsgasix",pw,&RID, &tech, &ns, &admin, &billing);
LPECreateResponse baResponse_6; LPECreateResponse baResponse_6;
thisTest = Transaction(&baCommand_6, &baResponse_6); thisTest = Transaction(&baCommand_6, &baResponse_6);