\doxysection{BNO08x\+Test\+Suite.\+hpp}
\hypertarget{_b_n_o08x_test_suite_8hpp_source}{}\label{_b_n_o08x_test_suite_8hpp_source}\index{BNO08xTestSuite.hpp@{BNO08xTestSuite.hpp}}
\mbox{\hyperlink{_b_n_o08x_test_suite_8hpp}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#include\ <stdio.h>}}
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#include\ <string.h>}}
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ "{}unity.h"{}}}
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{_b_n_o08x_test_helper_8hpp}{BNO08xTestHelper.hpp}}"{}}}
\DoxyCodeLine{00015\ }
\DoxyCodeLine{00021\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_b_n_o08x_test_suite}{BNO08xTestSuite}}}
\DoxyCodeLine{00022\ \{}
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keyword}{private}:}
\DoxyCodeLine{00024\ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_b_n_o08x_test_suite_a2fea3ea192a63c9573c774e772f5c085}{print\_begin\_tests\_banner}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ test\_set\_name)}
\DoxyCodeLine{00025\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00026\ \ \ \ \ \ \ \ \ \ \ \ \ printf(\textcolor{stringliteral}{"{}\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\ BEGIN\ TESTS:\ \%s\ \#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\(\backslash\)n\(\backslash\)r"{}},\ test\_set\_name);}
\DoxyCodeLine{00027\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_b_n_o08x_test_suite_a5a9b6538773911afed92b16c435ebceb}{print\_end\_tests\_banner}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ test\_set\_name)}
\DoxyCodeLine{00030\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00031\ \ \ \ \ \ \ \ \ \ \ \ \ printf(\textcolor{stringliteral}{"{}\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\ END\ TESTS:\ \%s\ \#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\(\backslash\)n\(\backslash\)r"{}},\ test\_set\_name);}
\DoxyCodeLine{00032\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00034\ \ \ \ \ \textcolor{keyword}{public}:}
\DoxyCodeLine{00035\ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_b_n_o08x_test_suite_ac12545fe311a98e9c0ae6fea77da95fd}{run\_all\_tests}}()}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00037\ \ \ \ \ \ \ \ \ \ \ \ \ UNITY\_BEGIN();}
\DoxyCodeLine{00038\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a53de9b0fe1b28c18e3a1ca4c68a06f16}{run\_init\_deinit\_tests}}(\textcolor{keyword}{false});}
\DoxyCodeLine{00039\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a37899d7bf67fce5c3dd77dd5647f8ecb}{run\_single\_report\_tests}}(\textcolor{keyword}{false});}
\DoxyCodeLine{00040\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a916cff374791381de61f1035f9935ac5}{run\_multi\_report\_tests}}(\textcolor{keyword}{false});}
\DoxyCodeLine{00041\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a8e294955bf512e2e88c086f04f6030a8}{run\_callback\_tests}}(\textcolor{keyword}{false});}
\DoxyCodeLine{00042\ \ \ \ \ \ \ \ \ \ \ \ \ UNITY\_END();}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_b_n_o08x_test_suite_a53de9b0fe1b28c18e3a1ca4c68a06f16}{run\_init\_deinit\_tests}}(\textcolor{keywordtype}{bool}\ call\_unity\_end\_begin\ =\ \textcolor{keyword}{true})}
\DoxyCodeLine{00046\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a2fea3ea192a63c9573c774e772f5c085}{print\_begin\_tests\_banner}}(\textcolor{stringliteral}{"{}init\_denit\_tests"{}});}
\DoxyCodeLine{00048\ }
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (call\_unity\_end\_begin)}
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ UNITY\_BEGIN();}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \ \ \ \ unity\_run\_tests\_by\_tag(\textcolor{stringliteral}{"{}[InitComprehensive]"{}},\ \textcolor{keyword}{false});}
\DoxyCodeLine{00053\ \ \ \ \ \ \ \ \ \ \ \ \ unity\_run\_tests\_by\_tag(\textcolor{stringliteral}{"{}[InitDenit]"{}},\ \textcolor{keyword}{false});}
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (call\_unity\_end\_begin)}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ UNITY\_END();}
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a5a9b6538773911afed92b16c435ebceb}{print\_end\_tests\_banner}}(\textcolor{stringliteral}{"{}init\_denit\_tests"{}});}
\DoxyCodeLine{00059\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_b_n_o08x_test_suite_a37899d7bf67fce5c3dd77dd5647f8ecb}{run\_single\_report\_tests}}(\textcolor{keywordtype}{bool}\ call\_unity\_end\_begin\ =\ \textcolor{keyword}{true})}
\DoxyCodeLine{00062\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00063\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a2fea3ea192a63c9573c774e772f5c085}{print\_begin\_tests\_banner}}(\textcolor{stringliteral}{"{}single\_report\_tests"{}});}
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00065\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (call\_unity\_end\_begin)}
\DoxyCodeLine{00066\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ UNITY\_BEGIN();}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00068\ \ \ \ \ \ \ \ \ \ \ \ \ unity\_run\_tests\_by\_tag(\textcolor{stringliteral}{"{}[SingleReportEnableDisable]"{}},\ \textcolor{keyword}{false});}
\DoxyCodeLine{00069\ }
\DoxyCodeLine{00070\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (call\_unity\_end\_begin)}
\DoxyCodeLine{00071\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ UNITY\_END();}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00073\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a5a9b6538773911afed92b16c435ebceb}{print\_end\_tests\_banner}}(\textcolor{stringliteral}{"{}single\_report\_tests"{}});}
\DoxyCodeLine{00074\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00075\ }
\DoxyCodeLine{00076\ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_b_n_o08x_test_suite_a916cff374791381de61f1035f9935ac5}{run\_multi\_report\_tests}}(\textcolor{keywordtype}{bool}\ call\_unity\_end\_begin\ =\ \textcolor{keyword}{true})}
\DoxyCodeLine{00077\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00078\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a2fea3ea192a63c9573c774e772f5c085}{print\_begin\_tests\_banner}}(\textcolor{stringliteral}{"{}multi\_report\_tests"{}});}
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00080\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (call\_unity\_end\_begin)}
\DoxyCodeLine{00081\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ UNITY\_BEGIN();}
\DoxyCodeLine{00082\ }
\DoxyCodeLine{00083\ \ \ \ \ \ \ \ \ \ \ \ \ unity\_run\_tests\_by\_tag(\textcolor{stringliteral}{"{}[MultiReportEnableDisable]"{}},\ \textcolor{keyword}{false});}
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00085\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (call\_unity\_end\_begin)}
\DoxyCodeLine{00086\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ UNITY\_END();}
\DoxyCodeLine{00087\ }
\DoxyCodeLine{00088\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a5a9b6538773911afed92b16c435ebceb}{print\_end\_tests\_banner}}(\textcolor{stringliteral}{"{}multi\_report\_tests"{}});}
\DoxyCodeLine{00089\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00091\ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_b_n_o08x_test_suite_a8e294955bf512e2e88c086f04f6030a8}{run\_callback\_tests}}(\textcolor{keywordtype}{bool}\ call\_unity\_end\_begin\ =\ \textcolor{keyword}{true})}
\DoxyCodeLine{00092\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00093\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a2fea3ea192a63c9573c774e772f5c085}{print\_begin\_tests\_banner}}(\textcolor{stringliteral}{"{}run\_callback\_tests"{}});}
\DoxyCodeLine{00094\ }
\DoxyCodeLine{00095\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (call\_unity\_end\_begin)}
\DoxyCodeLine{00096\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ UNITY\_BEGIN();}
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00098\ \ \ \ \ \ \ \ \ \ \ \ \ unity\_run\_tests\_by\_tag(\textcolor{stringliteral}{"{}[CallbackTests]"{}},\ \textcolor{keyword}{false});}
\DoxyCodeLine{00099\ }
\DoxyCodeLine{00100\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (call\_unity\_end\_begin)}
\DoxyCodeLine{00101\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ UNITY\_END();}
\DoxyCodeLine{00102\ }
\DoxyCodeLine{00103\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_b_n_o08x_test_suite_a5a9b6538773911afed92b16c435ebceb}{print\_end\_tests\_banner}}(\textcolor{stringliteral}{"{}run\_callback\_tests"{}});}
\DoxyCodeLine{00104\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00105\ \};}

\end{DoxyCode}
