From 9c0be0283c265cff286cadb5f7ddc7caf826c251 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 12 May 2022 20:32:10 +0300 Subject: Added reworked how tests are built --- docs/html/index.html | 8 +++++++- docs/index.md | 10 ++++++++++ docs/latex/classList.pdf | 12 ++++++------ docs/latex/classOrderedList.pdf | 12 ++++++------ docs/latex/index.tex | 11 +++++++++-- docs/latex/refman.aux | 20 +++++++++++++++----- docs/latex/refman.log | 32 ++++++++++++++++---------------- docs/latex/refman.pdf | Bin 287272 -> 288245 bytes docs/latex/refman.toc | 9 +++++++-- 9 files changed, 76 insertions(+), 38 deletions(-) (limited to 'docs') diff --git a/docs/html/index.html b/docs/html/index.html index 249286d..ae068ae 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -95,6 +95,12 @@ Linux/BSD/MacOS Windows (PowerShell)
g++ (Get-ChildItem -Recurse *.cpp) -o TicketSystem.exe && ./TicketSystem.exe

+Running the tests

+

Instructions are all for gcc. All commands should be executed while in the tests folder.

+

+Linux/BSD/MacOS

+
g++ Tests_ALL.cpp ../src/*/*.cpp ../src/*/*/*.cpp -o Tests_ALL.out && ./Tests_ALL.out
+

Acknowledgements

Wikipedia
@@ -104,7 +110,7 @@ Acknowledgements
Way to clear the console in Toolbox.hpp
https://stackoverflow.com/a/52895729/12036073
-

+

Figures

Figure 1: Overview of the "FMI Ticket System" design

diff --git a/docs/index.md b/docs/index.md index b2b183c..c9e1134 100644 --- a/docs/index.md +++ b/docs/index.md @@ -39,6 +39,16 @@ g++ *.cpp */*.cpp */*/*.cpp -o TicketSystem.out && ./TicketSystem.out g++ (Get-ChildItem -Recurse *.cpp) -o TicketSystem.exe && ./TicketSystem.exe ``` +## Running the tests + +Instructions are all for `gcc`. All commands should be executed while in the `tests` folder. + +### Linux/BSD/MacOS + +```bash +g++ Tests_ALL.cpp ../src/*/*.cpp ../src/*/*/*.cpp -o Tests_ALL.out && ./Tests_ALL.out +``` + ## Acknowledgements
diff --git a/docs/latex/classList.pdf b/docs/latex/classList.pdf index d0ee570..072935e 100644 --- a/docs/latex/classList.pdf +++ b/docs/latex/classList.pdf @@ -74,10 +74,10 @@ endobj -2022-05-12T20:19:17+03:00 -2022-05-12T20:19:17+03:00 +2022-05-12T20:31:17+03:00 +2022-05-12T20:31:17+03:00 Doxygen - + ClassName @@ -88,8 +88,8 @@ endstream endobj 2 0 obj <>endobj @@ -109,7 +109,7 @@ xref 0000002748 00000 n trailer << /Size 12 /Root 1 0 R /Info 2 0 R -/ID [<0EF19F22F689AC8E3058E6CE4329811B><0EF19F22F689AC8E3058E6CE4329811B>] +/ID [<2C91EE083BFA5F7C036C26C82C94FBC4><2C91EE083BFA5F7C036C26C82C94FBC4>] >> startxref 4229 diff --git a/docs/latex/classOrderedList.pdf b/docs/latex/classOrderedList.pdf index cf2fb6d..b49d530 100644 --- a/docs/latex/classOrderedList.pdf +++ b/docs/latex/classOrderedList.pdf @@ -75,10 +75,10 @@ endobj -2022-05-12T20:19:17+03:00 -2022-05-12T20:19:17+03:00 +2022-05-12T20:31:17+03:00 +2022-05-12T20:31:17+03:00 Doxygen - + ClassName @@ -89,8 +89,8 @@ endstream endobj 2 0 obj <>endobj @@ -110,7 +110,7 @@ xref 0000002752 00000 n trailer << /Size 12 /Root 1 0 R /Info 2 0 R -/ID [<390CF1C4862214E16A53E7299A120F60><390CF1C4862214E16A53E7299A120F60>] +/ID [<497BA3445BC612F34C75267FB1F523CD><497BA3445BC612F34C75267FB1F523CD>] >> startxref 4233 diff --git a/docs/latex/index.tex b/docs/latex/index.tex index a85f5b5..7552a6f 100644 --- a/docs/latex/index.tex +++ b/docs/latex/index.tex @@ -35,14 +35,21 @@ Instructions are all for {\ttfamily gcc}. All commands should be executed while \DoxyCodeLine{g++ (Get-\/ChildItem -\/Recurse *.cpp) -\/o TicketSystem.exe \&\& ./TicketSystem.exe} \end{DoxyCode} -\hypertarget{index_autotoc_md5}{}\doxysection{Acknowledgements}\label{index_autotoc_md5} +\hypertarget{index_autotoc_md5}{}\doxysection{Running the tests}\label{index_autotoc_md5} +Instructions are all for {\ttfamily gcc}. All commands should be executed while in the {\ttfamily tests} folder.\hypertarget{index_autotoc_md6}{}\doxysubsection{Linux/\+BSD/\+Mac\+OS}\label{index_autotoc_md6} + +\begin{DoxyCode}{0} +\DoxyCodeLine{g++ Tests\_ALL.cpp ../src/*/*.cpp ../src/*/*/*.cpp -\/o Tests\_ALL.out \&\& ./Tests\_ALL.out} + +\end{DoxyCode} +\hypertarget{index_autotoc_md7}{}\doxysection{Acknowledgements}\label{index_autotoc_md7} \begin{DoxyDescription} \item[Wikipedia ]Leap year calculation for \mbox{\hyperlink{classDate}{Date}} ~\newline \href{https://en.wikipedia.org/wiki/Leap_year\#Gregorian_calendar}{\texttt{ https\+://en.\+wikipedia.\+org/wiki/\+Leap\+\_\+year\#\+Gregorian\+\_\+calendar}} \item[Stack\+Overflow ]Way to clear the console in \mbox{\hyperlink{Toolbox_8hpp}{Toolbox.\+hpp}} ~\newline \href{https://stackoverflow.com/a/52895729/12036073}{\texttt{ https\+://stackoverflow.\+com/a/52895729/12036073}} -\end{DoxyDescription}\hypertarget{index_autotoc_md6}{}\doxysection{Figures}\label{index_autotoc_md6} +\end{DoxyDescription}\hypertarget{index_autotoc_md8}{}\doxysection{Figures}\label{index_autotoc_md8} \label{index_fig1}% \Hypertarget{index_fig1}% {\bfseries{Figure 1\+:}} Overview of the \char`\"{}\+FMI Ticket System\char`\"{} design diff --git a/docs/latex/refman.aux b/docs/latex/refman.aux index 860d0a1..f22f225 100644 --- a/docs/latex/refman.aux +++ b/docs/latex/refman.aux @@ -27,11 +27,21 @@ \newlabel{index_autotoc_md0}{{1.1}{1}{About}{section.1.1}{}} \@writefile{toc}{\contentsline {section}{\numberline {1.2}Structure overview}{1}{section.1.2}\protected@file@percent } \newlabel{index_autotoc_md1}{{1.2}{1}{Structure overview}{section.1.2}{}} -\@writefile{toc}{\contentsline {section}{\numberline {1.3}Acknowledgements}{2}{section.1.3}\protected@file@percent } -\newlabel{index_autotoc_md2}{{1.3}{2}{Acknowledgements}{section.1.3}{}} -\@writefile{toc}{\contentsline {section}{\numberline {1.4}Figures}{2}{section.1.4}\protected@file@percent } -\newlabel{index_autotoc_md3}{{1.4}{2}{Figures}{section.1.4}{}} -\newlabel{index_fig1}{{1.4}{2}{Figures}{section.1.4}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.3}Building the project}{2}{section.1.3}\protected@file@percent } +\newlabel{index_autotoc_md2}{{1.3}{2}{Building the project}{section.1.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.1}Linux/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}BSD/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Mac\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}OS}{2}{subsection.1.3.1}\protected@file@percent } +\newlabel{index_autotoc_md3}{{1.3.1}{2}{Linux/\+BSD/\+Mac\+OS}{subsection.1.3.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3.2}Windows (\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Power\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Shell)}{2}{subsection.1.3.2}\protected@file@percent } +\newlabel{index_autotoc_md4}{{1.3.2}{2}{Windows (\+Power\+Shell)}{subsection.1.3.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.4}Running the tests}{2}{section.1.4}\protected@file@percent } +\newlabel{index_autotoc_md5}{{1.4}{2}{Running the tests}{section.1.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {1.4.1}Linux/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}BSD/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Mac\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}OS}{2}{subsection.1.4.1}\protected@file@percent } +\newlabel{index_autotoc_md6}{{1.4.1}{2}{Linux/\+BSD/\+Mac\+OS}{subsection.1.4.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.5}Acknowledgements}{2}{section.1.5}\protected@file@percent } +\newlabel{index_autotoc_md7}{{1.5}{2}{Acknowledgements}{section.1.5}{}} +\@writefile{toc}{\contentsline {section}{\numberline {1.6}Figures}{2}{section.1.6}\protected@file@percent } +\newlabel{index_autotoc_md8}{{1.6}{2}{Figures}{section.1.6}{}} +\newlabel{index_fig1}{{1.6}{2}{Figures}{section.1.6}{}} \@writefile{lof}{\contentsline {figure}{\numberline {1.1}{\ignorespaces Not available in La\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Te\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}X!}}{2}{figure.caption.1}\protected@file@percent } \@writefile{toc}{\contentsline {chapter}{\numberline {2}Hierarchical Index}{3}{chapter.2}\protected@file@percent } \@writefile{lof}{\addvspace {10\p@ }} diff --git a/docs/latex/refman.log b/docs/latex/refman.log index 0c9cb4b..a61a76e 100644 --- a/docs/latex/refman.log +++ b/docs/latex/refman.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020 Funtoo Linux) (preloaded format=pdflatex 2022.4.8) 12 MAY 2022 20:14 +This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020 Funtoo Linux) (preloaded format=pdflatex 2022.4.8) 12 MAY 2022 20:31 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -1019,7 +1019,9 @@ LaTeX Warning: Font shape declaration has incorrect series value `mc'. LaTeX Font Info: Font shape `TS1/phv/m/n' will be (Font) scaled to size 8.99994pt on input line 19. LaTeX Font Info: Font shape `T1/phv/b/n' will be -(Font) scaled to size 6.29996pt on input line 30. +(Font) scaled to size 10.79993pt on input line 26. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 6.29996pt on input line 26. [1 @@ -1031,7 +1033,7 @@ See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... -l.39 ...rue]{FMI-OOP-P1_TicketSystem Overview.svg} +l.59 ...rue]{FMI-OOP-P1_TicketSystem Overview.svg} ? ) [2] @@ -1218,8 +1220,6 @@ nput line 18. ] Chapter 5. (./classCommand.tex -LaTeX Font Info: Font shape `T1/phv/b/n' will be -(Font) scaled to size 10.79993pt on input line 12. LaTeX Font Info: Font shape `T1/phv/m/n' will be (Font) scaled to size 8.09995pt on input line 17. LaTeX Font Info: Font shape `T1/phv/m/it' in size <9> not available @@ -1477,7 +1477,7 @@ Underfull \hbox (badness 10000) detected at line 60 [] ) (./classList.tex <./classList.pdf> - + File: classList.pdf Graphic file (type pdf) Package pdftex.def Info: classList.pdf used on input line 15. @@ -1590,7 +1590,7 @@ Package longtable Warning: Column widths have changed (longtable) in table 5.17 on input line 148. ) (./classOrderedList.tex <./classOrderedList.pdf> - + File: classOrderedList.pdf Graphic file (type pdf) Package pdftex.def Info: classOrderedList.pdf used on input line 15. @@ -2080,7 +2080,7 @@ Package rerunfilecheck Warning: File `refman.out' has changed. Package rerunfilecheck Info: Checksums for `refman.out': (rerunfilecheck) Before: -(rerunfilecheck) After: 3440AC0C41982DE2B7FFE393A388B650;41850. +(rerunfilecheck) After: B8054B7EE97E48507319E9C6C798020D;42752. LaTeX Warning: There were undefined references. @@ -2089,10 +2089,10 @@ LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ) Here is how much of TeX's memory you used: - 17924 strings out of 482368 - 269195 string characters out of 5952188 - 530503 words of memory out of 5000000 - 32188 multiletter control sequences out of 15000+600000 + 17939 strings out of 482368 + 269445 string characters out of 5952188 + 529503 words of memory out of 5000000 + 32193 multiletter control sequences out of 15000+600000 598871 words of font info for 113 fonts, out of 8000000 for 9000 452 hyphenation exceptions out of 8191 55i,16n,96p,891b,634s stack positions out of 5000i,500n,10000p,200000b,80000s @@ -2107,10 +2107,10 @@ fb> -Output written on refman.pdf (78 pages, 287272 bytes). +Output written on refman.pdf (78 pages, 288245 bytes). PDF statistics: - 2004 PDF objects out of 2073 (max. 8388607) - 1876 compressed objects within 19 object streams - 596 named destinations out of 1000 (max. 500000) + 2015 PDF objects out of 2073 (max. 8388607) + 1887 compressed objects within 19 object streams + 606 named destinations out of 1000 (max. 500000) 11 words of extra memory for PDF output out of 10000 (max. 10000000) diff --git a/docs/latex/refman.pdf b/docs/latex/refman.pdf index 6a4170b..86078ce 100644 Binary files a/docs/latex/refman.pdf and b/docs/latex/refman.pdf differ diff --git a/docs/latex/refman.toc b/docs/latex/refman.toc index 48ee10f..bdfe232 100644 --- a/docs/latex/refman.toc +++ b/docs/latex/refman.toc @@ -2,8 +2,13 @@ \contentsline {chapter}{\numberline {1}FMI Tickets System}{1}{chapter.1}% \contentsline {section}{\numberline {1.1}About}{1}{section.1.1}% \contentsline {section}{\numberline {1.2}Structure overview}{1}{section.1.2}% -\contentsline {section}{\numberline {1.3}Acknowledgements}{2}{section.1.3}% -\contentsline {section}{\numberline {1.4}Figures}{2}{section.1.4}% +\contentsline {section}{\numberline {1.3}Building the project}{2}{section.1.3}% +\contentsline {subsection}{\numberline {1.3.1}Linux/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}BSD/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Mac\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}OS}{2}{subsection.1.3.1}% +\contentsline {subsection}{\numberline {1.3.2}Windows (\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Power\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Shell)}{2}{subsection.1.3.2}% +\contentsline {section}{\numberline {1.4}Running the tests}{2}{section.1.4}% +\contentsline {subsection}{\numberline {1.4.1}Linux/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}BSD/\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}Mac\discretionary {\mbox {\scriptsize $\hookleftarrow $}}{}{}OS}{2}{subsection.1.4.1}% +\contentsline {section}{\numberline {1.5}Acknowledgements}{2}{section.1.5}% +\contentsline {section}{\numberline {1.6}Figures}{2}{section.1.6}% \contentsline {chapter}{\numberline {2}Hierarchical Index}{3}{chapter.2}% \contentsline {section}{\numberline {2.1}Class Hierarchy}{3}{section.2.1}% \contentsline {chapter}{\numberline {3}Class Index}{5}{chapter.3}% -- cgit v1.3.1-26-gb76a