commit | f55cb363bbb651d3edbf2a7aa17ca0afc6528c18 | [log] [tgz] |
---|---|---|
author | Bogdan Caprita <caprita@google.com> | Wed Jun 03 11:21:01 2015 -0700 |
committer | Bogdan Caprita <caprita@google.com> | Wed Jun 03 11:21:04 2015 -0700 |
tree | 68db1ea516979fc2214bb021339c5c5b0a51a7e2 | |
parent | 2ae4c7c88ff938f1ab49039a72d95f5273bc5b43 [diff] |
services/device/device: introduce test for glob functionality glob_test.go tests the glob logic directly, instead of relying on the behavior of various subcommand tests. To make testing the glob internal library easy, exported a bunch of identifiers in glob.go (since it's all part of the main package, there are no practical implications to exporting the identifiers). While at it, made GlobResults be passed by pointer inside the library for efficiency. For now, the only test case verifies that all results appear as expected, and in the expected order. I'll add more test cases in future cls. Change-Id: Iea22ddde3db17be3a6e0a6840ef55d54591a9ff7
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.