| OLD | NEW |
| (Empty) | |
| 1 |
| 2 |
| 3 /* |
| 4 * Copyright 2012 The Native Client Authors. All rights reserved. |
| 5 * Use of this source code is governed by a BSD-style license that can |
| 6 * be found in the LICENSE file. |
| 7 */ |
| 8 |
| 9 // DO NOT EDIT: GENERATED CODE |
| 10 |
| 11 |
| 12 #ifndef NACL_TRUSTED_BUT_NOT_TCB |
| 13 #error This file is not meant for use in the TCB |
| 14 #endif |
| 15 |
| 16 |
| 17 |
| 18 #include "gtest/gtest.h" |
| 19 #include "native_client/src/trusted/validator_arm/inst_classes_testers.h" |
| 20 |
| 21 namespace nacl_arm_test { |
| 22 |
| 23 |
| 24 class Add_Rule_7_A1_P26Binary4RegisterShiftedOpTesterRegsNotPc |
| 25 : public Binary4RegisterShiftedOpTesterRegsNotPc { |
| 26 public: |
| 27 Add_Rule_7_A1_P26Binary4RegisterShiftedOpTesterRegsNotPc() |
| 28 : Binary4RegisterShiftedOpTesterRegsNotPc( |
| 29 state_.Add_Rule_7_A1_P26Binary4RegisterShiftedOp_instance_) |
| 30 {} |
| 31 }; |
| 32 |
| 33 // Defines a gtest testing harness for tests. |
| 34 class Arm32DecoderStateTests : public ::testing::Test { |
| 35 protected: |
| 36 Arm32DecoderStateTests() {} |
| 37 }; |
| 38 |
| 39 TEST_F(Arm32DecoderStateTests, |
| 40 Add_Rule_7_A1_P26Binary4RegisterShiftedOpRegsNotPc_cccc0000100snnnnddddss
ss0tt1mmmm_Test) { |
| 41 Add_Rule_7_A1_P26Binary4RegisterShiftedOpTesterRegsNotPc tester; |
| 42 tester.Test("cccc0000100snnnnddddssss0tt1mmmm"); |
| 43 } |
| 44 |
| 45 } // namespace nacl_arm_test |
| 46 |
| 47 int main(int argc, char* argv[]) { |
| 48 testing::InitGoogleTest(&argc, argv); |
| 49 return RUN_ALL_TESTS(); |
| 50 } |
| OLD | NEW |