Logo
Explore Help
Sign In
oldunreal/libxmp
0
0
Fork 0
You've already forked libxmp
mirror of https://github.com/OldUnreal/libxmp.git synced 2026-04-02 21:37:43 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
master
libxmp/test-dev/test_api_create_context.c

17 lines
295 B
C
Raw Permalink Normal View History

[test] Add more tests Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2012-02-23 17:24:45 -02:00
#include "test.h"
[test] Rename API tests Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2012-03-07 17:59:06 -03:00
TEST(test_api_create_context)
[test] Add more tests Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2012-02-23 17:24:45 -02:00
{
xmp_context ctx;
[test] Improve test coverage Add state checks and extra player parameters setting and retrieval. Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2013-06-15 10:27:49 -03:00
int state;
[test] Add more tests Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2012-02-23 17:24:45 -02:00
ctx = xmp_create_context();
fail_unless(ctx != 0, "returned NULL");
[test] Improve test coverage Add state checks and extra player parameters setting and retrieval. Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2013-06-15 10:27:49 -03:00
state = xmp_get_player(ctx, XMP_PLAYER_STATE);
fail_unless(state == XMP_STATE_UNLOADED, "state error");
Fix test-dev sample, depack, prowizard, and api leaks.
2020-11-07 17:03:00 -07:00
xmp_free_context(ctx);
[test] Add more tests Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
2012-02-23 17:24:45 -02:00
}
END_TEST
Reference in New Issue Copy Permalink
Powered by Gitea Page: 272ms Template: 5ms
English
English
Licenses API