screenshot_8c.tex 1.9 KB

123456789101112131415161718192021222324252627282930
  1. \hypertarget{screenshot_8c}{\section{C\-:/\-Users/\-D\-E\-L\-L/\-Work/sdlvisualtest/visualtest/src/screenshot.c File Reference}
  2. \label{screenshot_8c}\index{C\-:/\-Users/\-D\-E\-L\-L/\-Work/sdlvisualtest/visualtest/src/screenshot.\-c@{C\-:/\-Users/\-D\-E\-L\-L/\-Work/sdlvisualtest/visualtest/src/screenshot.\-c}}
  3. }
  4. {\ttfamily \#include \char`\"{}S\-D\-L\-\_\-visualtest\-\_\-mischelper.\-h\char`\"{}}\\*
  5. {\ttfamily \#include $<$S\-D\-L\-\_\-test.\-h$>$}\\*
  6. \subsection*{Functions}
  7. \begin{DoxyCompactItemize}
  8. \item
  9. int \hyperlink{screenshot_8c_ac7b5335651144961676abc2116c38299}{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots} (char $\ast$args, char $\ast$test\-\_\-dir, char $\ast$verify\-\_\-dir)
  10. \end{DoxyCompactItemize}
  11. \subsection{Detailed Description}
  12. Source file for the screenshot A\-P\-I.
  13. \subsection{Function Documentation}
  14. \hypertarget{screenshot_8c_ac7b5335651144961676abc2116c38299}{\index{screenshot.\-c@{screenshot.\-c}!S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots@{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots}}
  15. \index{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots@{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots}!screenshot.c@{screenshot.\-c}}
  16. \subsubsection[{S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots}]{\setlength{\rightskip}{0pt plus 5cm}int S\-D\-L\-Visual\-Test\-\_\-\-Verify\-Screenshots (
  17. \begin{DoxyParamCaption}
  18. \item[{char $\ast$}]{args, }
  19. \item[{char $\ast$}]{test\-\_\-dir, }
  20. \item[{char $\ast$}]{verify\-\_\-dir}
  21. \end{DoxyParamCaption}
  22. )}}\label{screenshot_8c_ac7b5335651144961676abc2116c38299}
  23. Compare a screenshot taken previously with S\-U\-T arguments {\ttfamily args} that is located in {\ttfamily test\-\_\-dir} with a verification image that is located in {\ttfamily verify\-\_\-dir}.
  24. \begin{DoxyReturn}{Returns}
  25. -\/1 on failure, 0 if the images were not equal, 1 if the images are equal and 2 if the verification image is not present.
  26. \end{DoxyReturn}