ActiveBeforeInit.cc 766 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * Copyright (c) 2017 committers of YAKINDU and others.
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors:
  9. * committers of YAKINDU - initial API and implementation
  10. */
  11. #include "gtest/gtest.h"
  12. #include "AlwaysOncycle.h"
  13. /** Attention - this file is NOT generated */
  14. AlwaysOncycle handle;
  15. class StatemachineTest : public ::testing::Test{
  16. protected:
  17. virtual void SetUp() {
  18. // do NOT init the statechart
  19. }
  20. };
  21. TEST_F(StatemachineTest, alwaysOncycleTest) {
  22. EXPECT_TRUE(alwaysOncycle_isActive(&handle) == false);
  23. }