Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: samples/sample_extension/test/sample_extension_test.dart

Issue 23717003: Reorganize tests for samples so the test is discoverable from the sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: samples/sample_extension/test/sample_extension_test.dart
diff --git a/samples/tests/samples/standalone/sample_extension_test.dart b/samples/sample_extension/test/sample_extension_test.dart
similarity index 96%
rename from samples/tests/samples/standalone/sample_extension_test.dart
rename to samples/sample_extension/test/sample_extension_test.dart
index 8b98e40db4444a85462a6d3e0265ddc082550a44..c5f99656a867a29a2b1b8a319233f61fce5efe24 100644
--- a/samples/tests/samples/standalone/sample_extension_test.dart
+++ b/samples/sample_extension/test/sample_extension_test.dart
@@ -43,8 +43,7 @@ void main() {
String buildDirectory = dirname(Platform.executable);
Directory tempDirectory = new Directory('').createTempSync();
String testDirectory = tempDirectory.path;
- String sourceDirectory =
- join(scriptDirectory, '..', '..', '..', 'sample_extension');
+ String sourceDirectory = join(scriptDirectory, '..');
// Copy sample_extension shared library, sample_extension dart files and
// sample_extension tests to the temporary test directory.
« no previous file with comments | « samples/hi/test/hi_test.dart ('k') | samples/samples.status » ('j') | samples/samples.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698