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

vs2005_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: 771164352a28f84da66ee01ff40b44976b317747 (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   vs2005_config_tests.cpp
 * \brief  Automated tests for VS2005 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 Fx2005Config : FxAction
{
	Fx2005Config()
	{
		session_set_action(sess, "vs2005");
	}
};


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