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

vs2008_solution_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: aefb249c4a1323acb48cac08642a0b38a3559ebb (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
30
/**
 * \file   vs2008_solution_tests.cpp
 * \brief  Automated tests for VS2008 solution 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_solution.h"
}


SUITE(action)
{
	/**********************************************************************
	 * Signature tests
	 **********************************************************************/

	TEST_FIXTURE(FxAction, Vs2008_Signature_IsCorrect)
	{
		vs2008_solution_signature(sess, sln, strm);
		CHECK_EQUAL(
			"\357\273\277\r\n"
			"Microsoft Visual Studio Solution File, Format Version 10.00\r\n"
			"# Visual Studio 2008\r\n",
			buffer);
	}

}