| 1 | // Code generated by gen_tests.py and process_polyglot.py. |
| 2 | // Do not edit this file directly. |
| 3 | // The template for this file is located at: |
| 4 | // ../template.go.tpl |
| 5 | package reql_testsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ |
| 6 | |
| 7 | import ( |
| 8 | "testingscip-go gomod github.com/golang/go/src go1.14 testing/" |
| 9 | "timescip-go gomod github.com/golang/go/src go1.14 time/" |
| 10 | |
| 11 | "github.com/stretchr/testify/suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/" |
| 12 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ "gopkg.in/rethinkdb/rethinkdb-go.v6scip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/" |
| 13 | "gopkg.in/rethinkdb/rethinkdb-go.v6/internal/comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/" |
| 14 | ) |
| 15 | |
| 16 | // Test `include_states` |
| 17 | func TestChangefeedsIncludeStatesSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TestChangefeedsIncludeStatesSuite().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) { |
| 18 | suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/.Runscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Run().(t, new(ChangefeedsIncludeStatesSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#)) |
| 19 | } |
| 20 | |
| 21 | type ChangefeedsIncludeStatesSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite# struct { |
| 22 | suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite. |
| 23 | |
| 24 | sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session. *rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Session# |
| 25 | } |
| 26 | |
| 27 | func (suite *ChangefeedsIncludeStatesSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#) SetupTestscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#SetupTest().() { |
| 28 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Setting up ChangefeedsIncludeStatesSuite") |
| 29 | // Use imports to prevent errors |
| 30 | _ = timescip-go gomod github.com/golang/go/src go1.14 time/.Timescip-go gomod github.com/golang/go/src go1.14 time/Time#{} |
| 31 | _ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.AnythingIsFinescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/AnythingIsFine. |
| 32 | |
| 33 | session, err := rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Connectscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Connect().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ConnectOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ConnectOpts#{ |
| 34 | Addressscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ConnectOpts#Address.: urlscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/url., |
| 35 | }) |
| 36 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err, "Error returned when connecting to server") |
| 37 | suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session. = session |
| 38 | |
| 39 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBDrop().("db_feed_include").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session.) |
| 40 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBCreatescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBCreate().("db_feed_include").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session.) |
| 41 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 42 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_feed_include").Waitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Wait().().Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session.) |
| 43 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 44 | |
| 45 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_feed_include").TableDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#TableDrop().("table_test_changefeed_include").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session.) |
| 46 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_feed_include").TableCreatescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#TableCreate().("table_test_changefeed_include").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session.) |
| 47 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 48 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_feed_include").Tablescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Table().("table_test_changefeed_include").Waitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Wait().().Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session.) |
| 49 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 50 | } |
| 51 | |
| 52 | func (suite *ChangefeedsIncludeStatesSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#) TearDownSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#TearDownSuite().() { |
| 53 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Tearing down ChangefeedsIncludeStatesSuite") |
| 54 | |
| 55 | if suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session. != nil { |
| 56 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("rethinkdb").Tablescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Table().("_debug_scratch").Deletescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Delete().().Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session.) |
| 57 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_feed_include").TableDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#TableDrop().("table_test_changefeed_include").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session.) |
| 58 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBDrop().("db_feed_include").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session.) |
| 59 | |
| 60 | suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session..Closescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Session#Close().() |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | func (suite *ChangefeedsIncludeStatesSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#) TestCasesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#TestCases().() { |
| 65 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Running ChangefeedsIncludeStatesSuite: Test `include_states`") |
| 66 | |
| 67 | table_test_changefeed_include := rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_feed_include").Tablescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Table().("table_test_changefeed_include") |
| 68 | _ = table_test_changefeed_include // Prevent any noused variable errors |
| 69 | |
| 70 | { |
| 71 | // changefeeds/include_states.yaml line #4 |
| 72 | /* [{'state':'ready'}] */ |
| 73 | var expected_ []interface{} = []interface{}{map[interface{}]interface{}{"state": "ready"}} |
| 74 | /* table_test_changefeed_include.changes(squash=true, include_states=true).limit(1) */ |
| 75 | |
| 76 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #4: table_test_changefeed_include.Changes().OptArgs(r.ChangesOpts{Squash: true, IncludeStates: true, }).Limit(1)") |
| 77 | |
| 78 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, table_test_changefeed_include.Changesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Changes().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ChangesOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#{Squashscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#Squash.: true, IncludeStatesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeStates.: true}).Limitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Limit().(1), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 79 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 80 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 81 | }) |
| 82 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #4") |
| 83 | } |
| 84 | |
| 85 | { |
| 86 | // changefeeds/include_states.yaml line #9 |
| 87 | /* [{'state':'initializing'}, {'new_val':null}, {'state':'ready'}] */ |
| 88 | var expected_ []interface{} = []interface{}{map[interface{}]interface{}{"state": "initializing"}, map[interface{}]interface{}{"new_val": nil}, map[interface{}]interface{}{"state": "ready"}} |
| 89 | /* table_test_changefeed_include.get(0).changes(squash=true, include_states=true, include_initial=true).limit(3) */ |
| 90 | |
| 91 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #9: table_test_changefeed_include.Get(0).Changes().OptArgs(r.ChangesOpts{Squash: true, IncludeStates: true, IncludeInitial: true, }).Limit(3)") |
| 92 | |
| 93 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, table_test_changefeed_include.Getscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Get().(0).Changesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Changes().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ChangesOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#{Squashscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#Squash.: true, IncludeStatesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeStates.: true, IncludeInitialscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeInitial.: true}).Limitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Limit().(3), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 94 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 95 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 96 | }) |
| 97 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #9") |
| 98 | } |
| 99 | |
| 100 | { |
| 101 | // changefeeds/include_states.yaml line #14 |
| 102 | /* [{'state':'initializing'}, {'state':'ready'}] */ |
| 103 | var expected_ []interface{} = []interface{}{map[interface{}]interface{}{"state": "initializing"}, map[interface{}]interface{}{"state": "ready"}} |
| 104 | /* table_test_changefeed_include.order_by(index='id').limit(10).changes(squash=true, include_states=true, include_initial=true).limit(2) */ |
| 105 | |
| 106 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #14: table_test_changefeed_include.OrderBy().OptArgs(r.OrderByOpts{Index: 'id', }).Limit(10).Changes().OptArgs(r.ChangesOpts{Squash: true, IncludeStates: true, IncludeInitial: true, }).Limit(2)") |
| 107 | |
| 108 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, table_test_changefeed_include.OrderByscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OrderBy().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.OrderByOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/OrderByOpts#{Indexscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/OrderByOpts#Index.: "id"}).Limitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Limit().(10).Changesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Changes().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ChangesOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#{Squashscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#Squash.: true, IncludeStatesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeStates.: true, IncludeInitialscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeInitial.: true}).Limitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Limit().(2), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 109 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 110 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 111 | }) |
| 112 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #14") |
| 113 | } |
| 114 | |
| 115 | { |
| 116 | // changefeeds/include_states.yaml line #19 |
| 117 | /* AnythingIsFine */ |
| 118 | var expected_ string = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.AnythingIsFinescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/AnythingIsFine. |
| 119 | /* table_test_changefeed_include.insert({'id':1}) */ |
| 120 | |
| 121 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #19: table_test_changefeed_include.Insert(map[interface{}]interface{}{'id': 1, })") |
| 122 | |
| 123 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, table_test_changefeed_include.Insertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Insert().(map[interface{}]interface{}{"id": 1}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 124 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 125 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 126 | }) |
| 127 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #19") |
| 128 | } |
| 129 | |
| 130 | { |
| 131 | // changefeeds/include_states.yaml line #21 |
| 132 | /* [{'state':'initializing'}, {'new_val':{'id':1}}, {'state':'ready'}] */ |
| 133 | var expected_ []interface{} = []interface{}{map[interface{}]interface{}{"state": "initializing"}, map[interface{}]interface{}{"new_val": map[interface{}]interface{}{"id": 1}}, map[interface{}]interface{}{"state": "ready"}} |
| 134 | /* table_test_changefeed_include.order_by(index='id').limit(10).changes(squash=true, include_states=true, include_initial=true).limit(3) */ |
| 135 | |
| 136 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #21: table_test_changefeed_include.OrderBy().OptArgs(r.OrderByOpts{Index: 'id', }).Limit(10).Changes().OptArgs(r.ChangesOpts{Squash: true, IncludeStates: true, IncludeInitial: true, }).Limit(3)") |
| 137 | |
| 138 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, table_test_changefeed_include.OrderByscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OrderBy().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.OrderByOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/OrderByOpts#{Indexscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/OrderByOpts#Index.: "id"}).Limitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Limit().(10).Changesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Changes().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ChangesOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#{Squashscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#Squash.: true, IncludeStatesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeStates.: true, IncludeInitialscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeInitial.: true}).Limitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Limit().(3), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 139 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 140 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 141 | }) |
| 142 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #21") |
| 143 | } |
| 144 | |
| 145 | // changefeeds/include_states.yaml line #26 |
| 146 | // table_test_changefeed_includechanges = table_test_changefeed_include.changes(squash=true, include_states=true) |
| 147 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Possibly executing: var table_test_changefeed_includechanges r.Term = table_test_changefeed_include.Changes().OptArgs(r.ChangesOpts{Squash: true, IncludeStates: true, })") |
| 148 | |
| 149 | table_test_changefeed_includechanges := maybeRunscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/maybeRun().(table_test_changefeed_include.Changesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Changes().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ChangesOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#{Squashscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#Squash.: true, IncludeStatesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeStates.: true}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{}) |
| 150 | _ = table_test_changefeed_includechanges // Prevent any noused variable errors |
| 151 | |
| 152 | { |
| 153 | // changefeeds/include_states.yaml line #30 |
| 154 | /* AnythingIsFine */ |
| 155 | var expected_ string = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.AnythingIsFinescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/AnythingIsFine. |
| 156 | /* table_test_changefeed_include.insert({'id':2}) */ |
| 157 | |
| 158 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #30: table_test_changefeed_include.Insert(map[interface{}]interface{}{'id': 2, })") |
| 159 | |
| 160 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, table_test_changefeed_include.Insertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Insert().(map[interface{}]interface{}{"id": 2}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 161 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 162 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 163 | }) |
| 164 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #30") |
| 165 | } |
| 166 | |
| 167 | { |
| 168 | // changefeeds/include_states.yaml line #32 |
| 169 | /* [{'state':'ready'},{'new_val':{'id':2},'old_val':null}] */ |
| 170 | var expected_ []interface{} = []interface{}{map[interface{}]interface{}{"state": "ready"}, map[interface{}]interface{}{"new_val": map[interface{}]interface{}{"id": 2}, "old_val": nil}} |
| 171 | /* fetch(table_test_changefeed_includechanges, 2) */ |
| 172 | |
| 173 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #32: fetch(table_test_changefeed_includechanges, 2)") |
| 174 | |
| 175 | fetchAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/fetchAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, table_test_changefeed_includechanges, 2) |
| 176 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #32") |
| 177 | } |
| 178 | |
| 179 | // changefeeds/include_states.yaml line #35 |
| 180 | // getchanges = table_test_changefeed_include.get(2).changes(include_states=true, include_initial=true) |
| 181 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Possibly executing: var getchanges r.Term = table_test_changefeed_include.Get(2).Changes().OptArgs(r.ChangesOpts{IncludeStates: true, IncludeInitial: true, })") |
| 182 | |
| 183 | getchanges := maybeRunscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/maybeRun().(table_test_changefeed_include.Getscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Get().(2).Changesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Changes().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ChangesOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#{IncludeStatesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeStates.: true, IncludeInitialscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeInitial.: true}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{}) |
| 184 | _ = getchanges // Prevent any noused variable errors |
| 185 | |
| 186 | { |
| 187 | // changefeeds/include_states.yaml line #39 |
| 188 | /* AnythingIsFine */ |
| 189 | var expected_ string = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.AnythingIsFinescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/AnythingIsFine. |
| 190 | /* table_test_changefeed_include.get(2).update({'a':1}) */ |
| 191 | |
| 192 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #39: table_test_changefeed_include.Get(2).Update(map[interface{}]interface{}{'a': 1, })") |
| 193 | |
| 194 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, table_test_changefeed_include.Getscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Get().(2).Updatescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Update().(map[interface{}]interface{}{"a": 1}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 195 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 196 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 197 | }) |
| 198 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #39") |
| 199 | } |
| 200 | |
| 201 | { |
| 202 | // changefeeds/include_states.yaml line #41 |
| 203 | /* [{'state':'initializing'}, {'new_val':{'id':2}}, {'state':'ready'}, {'old_val':{'id':2},'new_val':{'id':2,'a':1}}] */ |
| 204 | var expected_ []interface{} = []interface{}{map[interface{}]interface{}{"state": "initializing"}, map[interface{}]interface{}{"new_val": map[interface{}]interface{}{"id": 2}}, map[interface{}]interface{}{"state": "ready"}, map[interface{}]interface{}{"old_val": map[interface{}]interface{}{"id": 2}, "new_val": map[interface{}]interface{}{"id": 2, "a": 1}}} |
| 205 | /* fetch(getchanges, 4) */ |
| 206 | |
| 207 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #41: fetch(getchanges, 4)") |
| 208 | |
| 209 | fetchAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/fetchAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, getchanges, 4) |
| 210 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #41") |
| 211 | } |
| 212 | |
| 213 | // changefeeds/include_states.yaml line #44 |
| 214 | // limitchanges = table_test_changefeed_include.order_by(index='id').limit(10).changes(include_states=true, include_initial=true) |
| 215 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Possibly executing: var limitchanges r.Term = table_test_changefeed_include.OrderBy().OptArgs(r.OrderByOpts{Index: 'id', }).Limit(10).Changes().OptArgs(r.ChangesOpts{IncludeStates: true, IncludeInitial: true, })") |
| 216 | |
| 217 | limitchanges := maybeRunscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/maybeRun().(table_test_changefeed_include.OrderByscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OrderBy().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.OrderByOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/OrderByOpts#{Indexscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/OrderByOpts#Index.: "id"}).Limitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Limit().(10).Changesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Changes().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ChangesOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#{IncludeStatesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeStates.: true, IncludeInitialscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeInitial.: true}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{}) |
| 218 | _ = limitchanges // Prevent any noused variable errors |
| 219 | |
| 220 | // changefeeds/include_states.yaml line #48 |
| 221 | // limitchangesdesc = table_test_changefeed_include.order_by(index=r.desc('id')).limit(10).changes(include_states=true, include_initial=true) |
| 222 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Possibly executing: var limitchangesdesc r.Term = table_test_changefeed_include.OrderBy().OptArgs(r.OrderByOpts{Index: r.Desc('id'), }).Limit(10).Changes().OptArgs(r.ChangesOpts{IncludeStates: true, IncludeInitial: true, })") |
| 223 | |
| 224 | limitchangesdesc := maybeRunscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/maybeRun().(table_test_changefeed_include.OrderByscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OrderBy().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.OrderByOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/OrderByOpts#{Indexscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/OrderByOpts#Index.: rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Descscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Desc().("id")}).Limitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Limit().(10).Changesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Changes().().OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ChangesOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#{IncludeStatesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeStates.: true, IncludeInitialscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ChangesOpts#IncludeInitial.: true}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{}) |
| 225 | _ = limitchangesdesc // Prevent any noused variable errors |
| 226 | |
| 227 | { |
| 228 | // changefeeds/include_states.yaml line #52 |
| 229 | /* AnythingIsFine */ |
| 230 | var expected_ string = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.AnythingIsFinescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/AnythingIsFine. |
| 231 | /* table_test_changefeed_include.insert({'id':3}) */ |
| 232 | |
| 233 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #52: table_test_changefeed_include.Insert(map[interface{}]interface{}{'id': 3, })") |
| 234 | |
| 235 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, table_test_changefeed_include.Insertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Insert().(map[interface{}]interface{}{"id": 3}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 236 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 237 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 238 | }) |
| 239 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #52") |
| 240 | } |
| 241 | |
| 242 | { |
| 243 | // changefeeds/include_states.yaml line #54 |
| 244 | /* [{'state':'initializing'}, {'new_val':{'id':1}}, {'new_val':{'a':1, 'id':2}}, {'state':'ready'}, {'old_val':null, 'new_val':{'id':3}}] */ |
| 245 | var expected_ []interface{} = []interface{}{map[interface{}]interface{}{"state": "initializing"}, map[interface{}]interface{}{"new_val": map[interface{}]interface{}{"id": 1}}, map[interface{}]interface{}{"new_val": map[interface{}]interface{}{"a": 1, "id": 2}}, map[interface{}]interface{}{"state": "ready"}, map[interface{}]interface{}{"old_val": nil, "new_val": map[interface{}]interface{}{"id": 3}}} |
| 246 | /* fetch(limitchanges, 5) */ |
| 247 | |
| 248 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #54: fetch(limitchanges, 5)") |
| 249 | |
| 250 | fetchAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/fetchAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, limitchanges, 5) |
| 251 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #54") |
| 252 | } |
| 253 | |
| 254 | { |
| 255 | // changefeeds/include_states.yaml line #57 |
| 256 | /* [{'state':'initializing'}, {'new_val':{'a':1, 'id':2}}, {'new_val':{'id':1}}, {'state':'ready'}, {'old_val':null, 'new_val':{'id':3}}] */ |
| 257 | var expected_ []interface{} = []interface{}{map[interface{}]interface{}{"state": "initializing"}, map[interface{}]interface{}{"new_val": map[interface{}]interface{}{"a": 1, "id": 2}}, map[interface{}]interface{}{"new_val": map[interface{}]interface{}{"id": 1}}, map[interface{}]interface{}{"state": "ready"}, map[interface{}]interface{}{"old_val": nil, "new_val": map[interface{}]interface{}{"id": 3}}} |
| 258 | /* fetch(limitchangesdesc, 5) */ |
| 259 | |
| 260 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #57: fetch(limitchangesdesc, 5)") |
| 261 | |
| 262 | fetchAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/fetchAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ChangefeedsIncludeStatesSuite#Suite., expected_, limitchangesdesc, 5) |
| 263 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #57") |
| 264 | } |
| 265 | } |