/*
* Unit tests for dir utils.
*
* Author:
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2015 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <glib.h>
#include "dir-util.h"
namespace {
{
{"\\foo\\bar", "\\foo", "bar"},
{"\\foo\\barney", "\\foo\\bar", "\\foo\\barney"},
{"\\foo\\bar\\baz", "\\foo\\", "bar\\baz"},
{"\\foo\\bar\\baz", "\\", "foo\\bar\\baz"},
{"\\foo\\bar\\baz", "\\foo\\qux", "\\foo\\bar\\baz"},
#else
#endif
};
{
{
}
}
}
}
} // namespace
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :