Flutter Engine
The Flutter Engine
shell
platform
windows
testing
windows_test.cc
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#include "flutter/shell/platform/windows/testing/windows_test.h"
6
7
#include <string>
8
9
#include "flutter/shell/platform/windows/testing/windows_test_context.h"
10
#include "flutter/testing/testing.h"
11
12
namespace
flutter
{
13
namespace
testing {
14
15
WindowsTest::WindowsTest
() : context_(GetFixturesDirectory()) {}
16
17
std::string
WindowsTest::GetFixturesDirectory
()
const
{
18
return
GetFixturesPath
();
19
}
20
21
WindowsTestContext
&
WindowsTest::GetContext
() {
22
return
context_;
23
}
24
25
}
// namespace testing
26
}
// namespace flutter
flutter::testing::WindowsTestContext
Definition:
windows_test_context.h:24
flutter::testing::WindowsTest::GetFixturesDirectory
std::string GetFixturesDirectory() const
Definition:
windows_test.cc:17
flutter::testing::WindowsTest::GetContext
WindowsTestContext & GetContext()
Definition:
windows_test.cc:21
flutter::testing::WindowsTest::WindowsTest
WindowsTest()
Definition:
windows_test.cc:15
flutter::testing::GetFixturesPath
const char * GetFixturesPath()
Returns the directory containing the test fixture for the target if this target has fixtures configur...
flutter
Definition:
asset_manager.cc:10
Generated on Sun Jun 23 2024 21:55:18 for Flutter Engine by
1.9.4