~ubuntu-branches/ubuntu/trusty/nordugrid-arc/trusty

« back to all changes in this revision

Viewing changes to src/hed/libs/client/test_jobdescription.cpp

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2012-12-13 16:41:31 UTC
  • mfrom: (3.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20121213164131-wii0p2fcv7e3en93
Tags: 2.0.1-1
* 2.0.1 Release
* Drop patches accepted upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
  std::string requested_format = "";
26
26
  options.AddOption('f', "format",
27
 
                    istring("define the requested format (nordugrid:jsdl, egee:jdl, nordugrid:xrsl)"),
 
27
                    istring("define the requested format (nordugrid:jsdl, egee:jdl, nordugrid:xrsl, emies:adl)"),
28
28
                    istring("format"),
29
29
                    requested_format);
30
30
 
69
69
    else
70
70
      original_description = (*it);
71
71
 
72
 
    if (requested_format == "egee:jdl" || requested_format == "nordugrid:jsdl" || requested_format == "nordugrid:xrsl" || requested_format == "") {
 
72
    if (requested_format == "egee:jdl" || requested_format == "nordugrid:jsdl" || requested_format == "nordugrid:xrsl" || requested_format == "emies:adl" || requested_format == "") {
73
73
      if (show_original_description) {
74
74
        std::cout << std::endl << Arc::IString(" [ Parsing the original text ] ") << std::endl << std::endl;
75
75
        std::cout << original_description << std::endl;
87
87
        
88
88
        jds.front().UnParse(jobdesc, "egee:jdl");
89
89
        std::cout << std::endl << Arc::IString(" [ egee:jdl ] ")       << std::endl << jobdesc << std::endl;
 
90
        jds.front().UnParse(jobdesc, "emies:adl");
 
91
        std::cout << std::endl << Arc::IString(" [ emies:adl ] ")       << std::endl << jobdesc << std::endl;
90
92
        jds.front().UnParse(jobdesc, "nordugrid:jsdl");
91
93
        std::cout << std::endl << Arc::IString(" [ nordugrid:jsdl ] ") << std::endl << jobdesc << std::endl;
92
94
        jds.front().UnParse(jobdesc, "nordugrid:xrsl");