X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=test%2Fview%2Fruler.cpp;h=9287975cae82cd6243fa26c9605258c9a66a836c;hp=400f845e52e3aeba85e2fd07ea8aabbf4f089372;hb=1573bf16ba50d1c023ad3a9ce596f0ab6eaeacff;hpb=c677193dc6e691493081fe87476a04e1674093a5
diff --git a/test/view/ruler.cpp b/test/view/ruler.cpp
index 400f845e..9287975c 100644
--- a/test/view/ruler.cpp
+++ b/test/view/ruler.cpp
@@ -14,22 +14,21 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
-#include
#include
+#include
-#include "pv/view/ruler.hpp"
+#include "pv/views/trace/ruler.hpp"
#include "test/test.hpp"
-using namespace pv::view;
+using namespace pv::views::TraceView;
namespace {
QString format(const pv::util::Timestamp& t)
{
- return pv::util::format_si_value(t, "s", pv::util::SIPrefix::none, 6);
+ return pv::util::format_time_si(t, pv::util::SIPrefix::none, 6);
}
const double e = 0.0001;