[Liblas-commits] hg-main-tree: disable a couple tests as per #35
liblas-commits at liblas.org
liblas-commits at liblas.org
Thu Apr 28 13:23:30 EDT 2011
details: http://hg.libpc.orghg-main-tree/rev/0cd35b45b269
changeset: 695:0cd35b45b269
user: Michael P. Gerlek <mpg at flaxen.com>
date: Thu Apr 28 10:23:21 2011 -0700
description:
disable a couple tests as per #35
diffstat:
test/unit/LasWriterTest.cpp | 11 +++++++----
test/unit/SpatialReferenceTest.cpp | 18 ++++++++++--------
2 files changed, 17 insertions(+), 12 deletions(-)
diffs (56 lines):
diff -r 89f0502b790f -r 0cd35b45b269 test/unit/LasWriterTest.cpp
--- a/test/unit/LasWriterTest.cpp Thu Apr 28 09:57:12 2011 -0700
+++ b/test/unit/LasWriterTest.cpp Thu Apr 28 10:23:21 2011 -0700
@@ -36,6 +36,7 @@
#include <boost/cstdint.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/uuid/uuid_io.hpp>
+#include <boost/concept_check.hpp>
#include <libpc/drivers/faux/Reader.hpp>
#include <libpc/drivers/las/Writer.hpp>
@@ -160,10 +161,12 @@
Utils::closeFile(ofs);
- const bool filesSame = Support::compare_files("temp.las", Support::datapath(refFile));
- BOOST_CHECK(filesSame);
-
- if (filesSame)
+ // BUG: the following test commented out as per ticket #35
+ boost::ignore_unused_variable_warning(refFile);
+ //const bool filesSame = Support::compare_files("temp.las", Support::datapath(refFile));
+ //BOOST_CHECK(filesSame);
+ //
+ //if (filesSame)
{
Utils::deleteFile("temp.las");
}
diff -r 89f0502b790f -r 0cd35b45b269 test/unit/SpatialReferenceTest.cpp
--- a/test/unit/SpatialReferenceTest.cpp Thu Apr 28 09:57:12 2011 -0700
+++ b/test/unit/SpatialReferenceTest.cpp Thu Apr 28 10:23:21 2011 -0700
@@ -213,14 +213,16 @@
BOOST_CHECK(vlrs_compound.size() == 4);
BOOST_CHECK(vlrs_horizonly.size() == 4);
- BOOST_CHECK(vlrs_compound[0].getLength() == 96);
- BOOST_CHECK(vlrs_compound[1].getLength() == 16);
- BOOST_CHECK(vlrs_compound[2].getLength() == 21);
- BOOST_CHECK(vlrs_compound[3].getLength() == 511);
- BOOST_CHECK(vlrs_horizonly[0].getLength() == 64);
- BOOST_CHECK(vlrs_horizonly[1].getLength() == 16);
- BOOST_CHECK(vlrs_horizonly[2].getLength() == 7);
- BOOST_CHECK(vlrs_horizonly[3].getLength() == 511);
+
+ // BUG: the following tests commented out as per ticket #35
+ //BOOST_CHECK(vlrs_compound[0].getLength() == 96);
+ //BOOST_CHECK(vlrs_compound[1].getLength() == 16);
+ //BOOST_CHECK(vlrs_compound[2].getLength() == 21);
+ //BOOST_CHECK(vlrs_compound[3].getLength() == 511);
+ //BOOST_CHECK(vlrs_horizonly[0].getLength() == 64);
+ //BOOST_CHECK(vlrs_horizonly[1].getLength() == 16);
+ //BOOST_CHECK(vlrs_horizonly[2].getLength() == 7);
+ //BOOST_CHECK(vlrs_horizonly[3].getLength() == 511);
return;
}
More information about the Liblas-commits
mailing list