-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an override_platforms config field
See #391
- Loading branch information
Showing
11 changed files
with
477 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | ||
// for details. All rights reserved. Use of this source code is governed by a | ||
// BSD-style license that can be found in the LICENSE file. | ||
|
||
import 'package:source_span/source_span.dart'; | ||
import 'package:yaml/yaml.dart'; | ||
|
||
import '../plugin/customizable_platform.dart'; | ||
|
||
/// User-defined settings for a built-in test platform. | ||
class PlatformSettings { | ||
/// The identifier used to look up the platform being overridden. | ||
final String identifier; | ||
|
||
/// The location that [identifier] was defined in the configuration file. | ||
final SourceSpan identifierSpan; | ||
|
||
/// The user's settings for this platform. | ||
/// | ||
/// This is a list of settings, from most global to most specific, that will | ||
/// eventually be merged using [CustomizablePlatform.mergePlatformSettings]. | ||
final List<YamlMap> settings; | ||
|
||
PlatformSettings(this.identifier, this.identifierSpan, List<YamlMap> settings) | ||
: settings = new List.unmodifiable(settings); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: test | ||
version: 0.12.24+8 | ||
version: 0.12.25-dev | ||
author: Dart Team <[email protected]> | ||
description: A library for writing dart unit tests. | ||
homepage: https://github.com/dart-lang/test | ||
|
Oops, something went wrong.