Commit 88ec1c0c authored by Jesse Mapel's avatar Jesse Mapel
Browse files

PROG: Fixed ProcessExportPds4 attribute ordering problem in unitTest.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@8222 41f8697f-d340-4b68-9986-7bafba869bb8
parent 3a73768b
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -28,14 +28,20 @@ void IsisMain() {
    
    // Remove the schema from the lable because we cannot ensure that
    // attributes come out in the same order every time
    std::cout << p.StandardPds4Label().toString().remove(QRegExp("xmlns.*\""));
    QString rawLabel = p.StandardPds4Label().toString();
    rawLabel.remove(QRegExp(" xmlns.*=\".*\""));
    rawLabel.remove(QRegExp(" xsi.*=\".*\""));
    std::cout << rawLabel;
             
    std::ofstream ofs;
    p.OutputLabel(ofs);

    p.StartProcess(ofs);

    std::cout << p.GetLabel().toString().remove(QRegExp("xmlns.*\""));
    rawLabel = p.GetLabel().toString();
    rawLabel.remove(QRegExp(" xmlns.*=\".*\""));
    rawLabel.remove(QRegExp(" xsi.*=\".*\""));
    std::cout << rawLabel;

    p.WritePds4("temp.img");
    remove("temp.img");
+2 −2

File changed.

Contains only whitespace changes.