github.com/elliott5/community@v0.14.1-0.20160709191136-823126fb026a/sdk/api_test.go (about)

     1  // Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
     2  //
     3  // This software (Documize Community Edition) is licensed under 
     4  // GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
     5  //
     6  // You can operate outside the AGPL restrictions by purchasing
     7  // Documize Enterprise Edition and obtaining a commercial license
     8  // by contacting <sales@documize.com>. 
     9  //
    10  // https://documize.com
    11  
    12  package documize_test
    13  /* TODO(Elliott)
    14  import "testing"
    15  import "github.com/documize/community/sdk/exttest"
    16  
    17  func TestAPItest(t *testing.T) {
    18  	exttest.APItest(t)
    19  }
    20  
    21  func BenchmarkAPIbench(b *testing.B) {
    22  	for n := 0; n < b.N; n++ {
    23  		err := exttest.APIbenchmark()
    24  		if err != nil {
    25  			b.Error(err)
    26  			b.Fail()
    27  		}
    28  	}
    29  }
    30  */