This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new test suites testvideo, testsyswm and testclipboard.
- Loading branch information
Showing
10 changed files
with
123 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
lib_LTLIBRARIES = libtestclipboard.la | ||
libtestclipboard_la_SOURCES = testclipboard.c | ||
libtestclipboard_la_CLAGS = -fPIC -g | ||
libtestclipboard_la_LDFLAGS = `sdl-config --libs` -I ../../src/libSDLtest/.libs/libSDLtest.la |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#include <stdio.h> | ||
|
||
#include <SDL/SDL.h> | ||
|
||
#include "../../include/SDL_test.h" | ||
|
||
|
||
|
||
/*! | ||
* Note: Add test for clipboard here | ||
* | ||
*/ | ||
|
||
/* Test cases */ | ||
static const TestCaseReference test1 = | ||
(TestCaseReference){ "clipboard_test", "description", TEST_DISABLED, 0, 0 }; | ||
|
||
/* Test suite */ | ||
extern const TestCaseReference *testSuite[] = { | ||
&test1, NULL | ||
}; | ||
|
||
TestCaseReference **QueryTestSuite() { | ||
return (TestCaseReference **)testSuite; | ||
} | ||
|
||
/** | ||
* @brief Document test case here | ||
*/ | ||
int | ||
clipboard_test(void *arg) | ||
{ | ||
AssertPass(""); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
lib_LTLIBRARIES = libtestsyswm.la | ||
libtestsyswm_la_SOURCES = testsyswm.c | ||
libtestsyswm_la_CLAGS = -fPIC -g | ||
libtestsyswm_la_LDFLAGS = `sdl-config --libs` -I ../../src/libSDLtest/.libs/libSDLtest.la |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#include <stdio.h> | ||
|
||
#include <SDL/SDL.h> | ||
|
||
#include "../../include/SDL_test.h" | ||
|
||
|
||
|
||
/*! | ||
* Note: Add test for syswm here | ||
* | ||
*/ | ||
|
||
/* Test cases */ | ||
static const TestCaseReference test1 = | ||
(TestCaseReference){ "syswm_test", "description", TEST_DISABLED, 0, 0 }; | ||
|
||
/* Test suite */ | ||
extern const TestCaseReference *testSuite[] = { | ||
&test1, NULL | ||
}; | ||
|
||
TestCaseReference **QueryTestSuite() { | ||
return (TestCaseReference **)testSuite; | ||
} | ||
|
||
/** | ||
* @brief Document test case here | ||
*/ | ||
int | ||
syswm_test(void *arg) | ||
{ | ||
AssertPass(""); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
lib_LTLIBRARIES = libtestvideo.la | ||
libtestvideo_la_SOURCES = testvideo.c | ||
libtestvideo_la_CLAGS = -fPIC -g | ||
libtestvideo_la_LDFLAGS = `sdl-config --libs` -I ../../src/libSDLtest/.libs/libSDLtest.la |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#include <stdio.h> | ||
|
||
#include <SDL/SDL.h> | ||
|
||
#include "../../include/SDL_test.h" | ||
|
||
|
||
|
||
/*! | ||
* Note: Add test for video here | ||
* | ||
*/ | ||
|
||
/* Test cases */ | ||
static const TestCaseReference test1 = | ||
(TestCaseReference){ "video_test", "video stuff", TEST_DISABLED, 0, 0 }; | ||
|
||
/* Test suite */ | ||
extern const TestCaseReference *testSuite[] = { | ||
&test1, NULL | ||
}; | ||
|
||
TestCaseReference **QueryTestSuite() { | ||
return (TestCaseReference **)testSuite; | ||
} | ||
|
||
/** | ||
* @brief Document test case here | ||
*/ | ||
int | ||
video_test(void *arg) | ||
{ | ||
AssertPass(""); | ||
} |