Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
vite
Commits
fa8bdb1d
Commit
fa8bdb1d
authored
Jan 21, 2009
by
Olivier Lagrasse
Browse files
debut programmation tests + doxygen
parent
c46050be
Changes
2
Hide whitespace changes
Inline
Side-by-side
vite/interface/test/Makefile
View file @
fa8bdb1d
all
:
@
echo
"Tests makefile"
\ No newline at end of file
$(CC)
-c
tests_window/test_window_creation.cpp
-o
tests_window/test_window_creation.o
\ No newline at end of file
vite/interface/test/tests_window/test_window_creation.cpp
View file @
fa8bdb1d
/*!
*\file test_window_creation.cpp
*\brief This test simply launch a window directly (without use the terminal interface). User have to close it manually.
*/
#include
<stdlib.h>
#include
<iostream>
using
namespace
std
;
/*!
*\brief The main function which launches the test.
*/
int
main
(
int
argc
,
char
**
argv
){
cout
<<
"Time to display the window (expected result : immediatly)"
<<
endl
;
cout
<<
"Position of the window inside the screen (expected result : center on X and Y)"
<<
endl
;
cout
<<
"Size of the window (expected result : all the width, and just 600px (around) on the height)"
<<
endl
;
cout
<<
"Icon of the window (expected result : the ViTE logo)"
<<
endl
;
cout
<<
"Title of the window (expected result : 'ViTE')"
<<
endl
;
cout
<<
"The application size in the computer memory (expected result : ********)"
;
//Interface_window window1;
return
EXIT_SUCCESS
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment