calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / tools / qa / cppunit / test_cpu_runtime_detection_SSSE3.cxx
blob3c0e9d2524662df2b6612100bc830b6f27e9a437
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include "test_cpu_runtime_detection_x86_checks.hxx"
12 #include <cppunit/TestFixture.h>
13 #include <cppunit/extensions/HelperMacros.h>
15 #include <tools/cpuid.hxx>
17 namespace
19 class CpuRuntimeDetection_SSSE3 : public CppUnit::TestFixture
21 public:
22 void testCpuRuntimeDetection();
24 CPPUNIT_TEST_SUITE(CpuRuntimeDetection_SSSE3);
25 CPPUNIT_TEST(testCpuRuntimeDetection);
26 CPPUNIT_TEST_SUITE_END();
29 void CpuRuntimeDetection_SSSE3::testCpuRuntimeDetection()
31 // can only run this function if CPU supports SSSE3
32 if (cpuid::isCpuInstructionSetSupported(cpuid::InstructionSetFlags::SSSE3))
33 CpuRuntimeDetectionX86Checks::checkSSSE3();
36 CPPUNIT_TEST_SUITE_REGISTRATION(CpuRuntimeDetection_SSSE3);
38 } // end anonymous namespace
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */