| // Copyright 2020 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| package platform |
| |
| import ( |
| "context" |
| |
| "chromiumos/tast/local/bundles/cros/platform/crosdisks" |
| "chromiumos/tast/testing" |
| ) |
| |
| func init() { |
| testing.AddTest(&testing.Test{ |
| Func: CrosDisksArchive, |
| Desc: "Verifies CrosDisks mounts various archive types", |
| Contacts: []string{ |
| "chromeos-files-syd@google.com", |
| "fdegros@chromium.org", |
| "jboulic@chromium.org", |
| }, |
| Attr: []string{"group:mainline"}, |
| Data: crosdisks.PreparedArchives, |
| }) |
| } |
| |
| func CrosDisksArchive(ctx context.Context, s *testing.State) { |
| crosdisks.RunArchiveTests(ctx, s) |
| } |