| 1828 | } |
| 1829 | |
| 1830 | func (btc *BlipTesterClient) UseHLV() bool { |
| 1831 | for _, protocol := range btc.supportedSubprotocols { |
| 1832 | subProtocol, err := db.ParseSubprotocolString(protocol) |
| 1833 | require.NoError(btc.rt.TB(), err) |
| 1834 | if subProtocol >= db.CBMobileReplicationV4 { |
| 1835 | return true |
| 1836 | } |
| 1837 | } |
| 1838 | return false |
| 1839 | } |
| 1840 | |
| 1841 | func (btc *BlipTesterClient) AssertOnBlipHistory(t *testing.T, msg *blip.Message, docVersion DocVersion) { |
| 1842 | subProtocol, err := db.ParseSubprotocolString(btc.supportedSubprotocols[0]) |