blob: e2c45a3fa586abb5afea4cba1eee2806aa38656d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/**
* \file vs2008_config_tests.cpp
* \brief Automated tests for VS2008 configuration processing.
* \author Copyright (c) 2008 Jason Perkins and the Premake project
*/
#include "premake.h"
#include "action/tests/action_tests.h"
extern "C" {
#include "action/vs200x/vs200x_config.h"
}
struct Fx2008Config : FxAction
{
Fx2008Config()
{
session_set_action(sess, "vs2008");
}
};
SUITE(action)
{
TEST_FIXTURE(Fx2008Config, CharacterSet_Default)
{
vs200x_config_character_set(sess, strm);
CHECK_EQUAL("\n\t\t\tCharacterSet=\"1\"", buffer);
}
}
|