openmw/vfs/tests/physfs_server_test.cpp

22 lines
327 B
C++
Raw Normal View History

2010-06-03 20:13:27 +02:00
#include "../servers/physfs_vfs.hpp"
2009-12-26 13:35:34 +01:00
#include "server_common.cpp"
#include <physfs.h>
int main()
{
// Set up the library and paths
PHYSFS_init("blah");
PHYSFS_addToSearchPath("test.zip", 1);
PHYSFS_addToSearchPath("./", 1);
// Create our interface
PhysVFS vfs;
// Run the test
testAll(vfs);
return 0;
}