コード例 #1
0
    public void TestListAssets()
    {
        // Run the sample code.
        var result = _sample.ListAssets(_fixture.ProjectId);

        Assert.NotEmpty(result);
    }
コード例 #2
0
    public void TestListAssets()
    {
        // Run the sample code.
        var result = _sample.ListAssets(_fixture.ProjectId);

        string assetName = String.Format("//storage.googleapis.com/{0}", _fixture.BucketName);

        Assert.Contains(result, asset => asset.Name == assetName);
    }