Welcome to mirror list, hosted at ThFree Co, Russian Federation.

vs2002_config_tests.cpp « tests « vs200x « action « src - github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e3fe0d1f2cc3e01186e944c1303173064a9fda25 (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   vs2002_config_tests.cpp
 * \brief  Automated tests for VS2002 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 Fx2002Config : FxAction
{
	Fx2002Config()
	{
		session_set_action(sess, "vs2002");
	}
};


SUITE(action)
{
	TEST_FIXTURE(Fx2002Config, CharacterSet_Default)
	{
		vs200x_config_character_set(sess, strm);
		CHECK_EQUAL("\n\t\t\tCharacterSet=\"2\"", buffer);
	}
}