| 1 |
// Copyright (c) 2020, Maxime Soulé |
| 2 |
// All rights reserved. |
| 3 |
// |
| 4 |
// This source code is licensed under the BSD-style license found in the |
| 5 |
// LICENSE file in the root directory of this source tree. |
| 6 |
|
| 7 |
package testdeep |
| 8 |
|
| 9 |
import ( |
| 10 |
"github.com/maxatome/go-testdeep/td" |
| 11 |
) |
| 12 |
|
| 13 |
// TestingT is a deprecated alias of [td.TestingT]. |
| 14 |
type TestingT = td.TestingT |
| 15 |
|
| 16 |
// TestingFT is a deprecated alias of [td.TestingFT], which is itself |
| 17 |
// a deprecated alias of [testing.TB]. |
| 18 |
type TestingFT = td.TestingFT |
| 19 |
|
| 20 |
// TestDeep is a deprecated alias of [td.TestDeep]. |
| 21 |
type TestDeep = td.TestDeep |
| 22 |
|
| 23 |
// ContextConfig is a deprecated alias of [td.ContextConfig]. |
| 24 |
type ContextConfig = td.ContextConfig |
| 25 |
|
| 26 |
// T is a deprecated alias of [td.T]. |
| 27 |
type T = td.T |
| 28 |
|
| 29 |
// ArrayEntries is a deprecated alias of [td.ArrayEntries]. |
| 30 |
type ArrayEntries = td.ArrayEntries |
| 31 |
|
| 32 |
// BoundsKind is a deprecated alias of [td.BoundsKind]. |
| 33 |
type BoundsKind = td.BoundsKind |
| 34 |
|
| 35 |
// MapEntries is a deprecated alias of [td.MapEntries]. |
| 36 |
type MapEntries = td.MapEntries |
| 37 |
|
| 38 |
// SmuggledGot is a deprecated alias of [td.SmuggledGot]. |
| 39 |
type SmuggledGot = td.SmuggledGot |
| 40 |
|
| 41 |
// StructFields is a deprecated alias of [td.StructFields]. |
| 42 |
type StructFields = td.StructFields |
| 43 |
|
| 44 |
// Incompatible change: testdeep.DefaultContextConfig must be replaced |
| 45 |
// by td.DefaultContextConfig. Commented here to raise an error if used. |
| 46 |
// var DefaultContextConfig = td.DefaultContextConfig |
| 47 |
|
| 48 |
// Cmp is a deprecated alias of [td.Cmp]. |
| 49 |
var Cmp = td.Cmp |
| 50 |
|
| 51 |
// CmpDeeply is a deprecated alias of [td.CmpDeeply]. |
| 52 |
var CmpDeeply = td.CmpDeeply |
| 53 |
|
| 54 |
// CmpTrue is a deprecated alias of [td.CmpTrue]. |
| 55 |
var CmpTrue = td.CmpTrue |
| 56 |
|
| 57 |
// CmpFalse is a deprecated alias of [td.CmpFalse]. |
| 58 |
var CmpFalse = td.CmpFalse |
| 59 |
|
| 60 |
// CmpError is a deprecated alias of [td.CmpError]. |
| 61 |
var CmpError = td.CmpError |
| 62 |
|
| 63 |
// CmpNoError is a deprecated alias of [td.CmpNoError]. |
| 64 |
var CmpNoError = td.CmpNoError |
| 65 |
|
| 66 |
// CmpPanic is a deprecated alias of [td.CmpPanic]. |
| 67 |
var CmpPanic = td.CmpPanic |
| 68 |
|
| 69 |
// CmpNotPanic is a deprecated alias of [td.CmpNotPanic]. |
| 70 |
var CmpNotPanic = td.CmpNotPanic |
| 71 |
|
| 72 |
// EqDeeply is a deprecated alias of [td.EqDeeply]. |
| 73 |
var EqDeeply = td.EqDeeply |
| 74 |
|
| 75 |
// EqDeeplyError is a deprecated alias of [td.EqDeeplyError]. |
| 76 |
var EqDeeplyError = td.EqDeeplyError |
| 77 |
|
| 78 |
// AddAnchorableStructType is a deprecated alias of [td.AddAnchorableStructType]. |
| 79 |
var AddAnchorableStructType = td.AddAnchorableStructType |
| 80 |
|
| 81 |
// NewT is a deprecated alias of [td.NewT]. |
| 82 |
var NewT = td.NewT |
| 83 |
|
| 84 |
// Assert is a deprecated alias of [td.Assert]. |
| 85 |
var Assert = td.Assert |
| 86 |
|
| 87 |
// Require is a deprecated alias of [td.Require]. |
| 88 |
var Require = td.Require |
| 89 |
|
| 90 |
// AssertRequire is a deprecated alias of [td.AssertRequire]. |
| 91 |
var AssertRequire = td.AssertRequire |
| 92 |
|
| 93 |
// CmpAll is a deprecated alias of [td.CmpAll]. |
| 94 |
var CmpAll = td.CmpAll |
| 95 |
|
| 96 |
// CmpAny is a deprecated alias of [td.CmpAny]. |
| 97 |
var CmpAny = td.CmpAny |
| 98 |
|
| 99 |
// CmpArray is a deprecated alias of [td.CmpArray]. |
| 100 |
var CmpArray = td.CmpArray |
| 101 |
|
| 102 |
// CmpArrayEach is a deprecated alias of [td.CmpArrayEach]. |
| 103 |
var CmpArrayEach = td.CmpArrayEach |
| 104 |
|
| 105 |
// CmpBag is a deprecated alias of [td.CmpBag]. |
| 106 |
var CmpBag = td.CmpBag |
| 107 |
|
| 108 |
// CmpBetween is a deprecated alias of [td.CmpBetween]. |
| 109 |
var CmpBetween = td.CmpBetween |
| 110 |
|
| 111 |
// CmpCap is a deprecated alias of [td.CmpCap]. |
| 112 |
var CmpCap = td.CmpCap |
| 113 |
|
| 114 |
// CmpCode is a deprecated alias of [td.CmpCode]. |
| 115 |
var CmpCode = td.CmpCode |
| 116 |
|
| 117 |
// CmpContains is a deprecated alias of [td.CmpContains]. |
| 118 |
var CmpContains = td.CmpContains |
| 119 |
|
| 120 |
// CmpContainsKey is a deprecated alias of [td.CmpContainsKey]. |
| 121 |
var CmpContainsKey = td.CmpContainsKey |
| 122 |
|
| 123 |
// CmpEmpty is a deprecated alias of [td.CmpEmpty]. |
| 124 |
var CmpEmpty = td.CmpEmpty |
| 125 |
|
| 126 |
// CmpGt is a deprecated alias of [td.CmpGt]. |
| 127 |
var CmpGt = td.CmpGt |
| 128 |
|
| 129 |
// CmpGte is a deprecated alias of [td.CmpGte]. |
| 130 |
var CmpGte = td.CmpGte |
| 131 |
|
| 132 |
// CmpHasPrefix is a deprecated alias of [td.CmpHasPrefix]. |
| 133 |
var CmpHasPrefix = td.CmpHasPrefix |
| 134 |
|
| 135 |
// CmpHasSuffix is a deprecated alias of [td.CmpHasSuffix]. |
| 136 |
var CmpHasSuffix = td.CmpHasSuffix |
| 137 |
|
| 138 |
// CmpIsa is a deprecated alias of [td.CmpIsa]. |
| 139 |
var CmpIsa = td.CmpIsa |
| 140 |
|
| 141 |
// CmpJSON is a deprecated alias of [td.CmpJSON]. |
| 142 |
var CmpJSON = td.CmpJSON |
| 143 |
|
| 144 |
// CmpKeys is a deprecated alias of [td.CmpKeys]. |
| 145 |
var CmpKeys = td.CmpKeys |
| 146 |
|
| 147 |
// CmpLax is a deprecated alias of [td.CmpLax]. |
| 148 |
var CmpLax = td.CmpLax |
| 149 |
|
| 150 |
// CmpLen is a deprecated alias of [td.CmpLen]. |
| 151 |
var CmpLen = td.CmpLen |
| 152 |
|
| 153 |
// CmpLt is a deprecated alias of [td.CmpLt]. |
| 154 |
var CmpLt = td.CmpLt |
| 155 |
|
| 156 |
// CmpLte is a deprecated alias of [td.CmpLte]. |
| 157 |
var CmpLte = td.CmpLte |
| 158 |
|
| 159 |
// CmpMap is a deprecated alias of [td.CmpMap]. |
| 160 |
var CmpMap = td.CmpMap |
| 161 |
|
| 162 |
// CmpMapEach is a deprecated alias of [td.CmpMapEach]. |
| 163 |
var CmpMapEach = td.CmpMapEach |
| 164 |
|
| 165 |
// CmpN is a deprecated alias of [td.CmpN]. |
| 166 |
var CmpN = td.CmpN |
| 167 |
|
| 168 |
// CmpNaN is a deprecated alias of [td.CmpNaN]. |
| 169 |
var CmpNaN = td.CmpNaN |
| 170 |
|
| 171 |
// CmpNil is a deprecated alias of [td.CmpNil]. |
| 172 |
var CmpNil = td.CmpNil |
| 173 |
|
| 174 |
// CmpNone is a deprecated alias of [td.CmpNone]. |
| 175 |
var CmpNone = td.CmpNone |
| 176 |
|
| 177 |
// CmpNot is a deprecated alias of [td.CmpNot]. |
| 178 |
var CmpNot = td.CmpNot |
| 179 |
|
| 180 |
// CmpNotAny is a deprecated alias of [td.CmpNotAny]. |
| 181 |
var CmpNotAny = td.CmpNotAny |
| 182 |
|
| 183 |
// CmpNotEmpty is a deprecated alias of [td.CmpNotEmpty]. |
| 184 |
var CmpNotEmpty = td.CmpNotEmpty |
| 185 |
|
| 186 |
// CmpNotNaN is a deprecated alias of [td.CmpNotNaN]. |
| 187 |
var CmpNotNaN = td.CmpNotNaN |
| 188 |
|
| 189 |
// CmpNotNil is a deprecated alias of [td.CmpNotNil]. |
| 190 |
var CmpNotNil = td.CmpNotNil |
| 191 |
|
| 192 |
// CmpNotZero is a deprecated alias of [td.CmpNotZero]. |
| 193 |
var CmpNotZero = td.CmpNotZero |
| 194 |
|
| 195 |
// CmpPPtr is a deprecated alias of [td.CmpPPtr]. |
| 196 |
var CmpPPtr = td.CmpPPtr |
| 197 |
|
| 198 |
// CmpPtr is a deprecated alias of [td.CmpPtr]. |
| 199 |
var CmpPtr = td.CmpPtr |
| 200 |
|
| 201 |
// CmpRe is a deprecated alias of [td.CmpRe]. |
| 202 |
var CmpRe = td.CmpRe |
| 203 |
|
| 204 |
// CmpReAll is a deprecated alias of [td.CmpReAll]. |
| 205 |
var CmpReAll = td.CmpReAll |
| 206 |
|
| 207 |
// CmpSet is a deprecated alias of [td.CmpSet]. |
| 208 |
var CmpSet = td.CmpSet |
| 209 |
|
| 210 |
// CmpShallow is a deprecated alias of [td.CmpShallow]. |
| 211 |
var CmpShallow = td.CmpShallow |
| 212 |
|
| 213 |
// CmpSlice is a deprecated alias of [td.CmpSlice]. |
| 214 |
var CmpSlice = td.CmpSlice |
| 215 |
|
| 216 |
// CmpSmuggle is a deprecated alias of [td.CmpSmuggle]. |
| 217 |
var CmpSmuggle = td.CmpSmuggle |
| 218 |
|
| 219 |
// CmpSStruct is a deprecated alias of [td.CmpSStruct]. |
| 220 |
var CmpSStruct = td.CmpSStruct |
| 221 |
|
| 222 |
// CmpString is a deprecated alias of [td.CmpString]. |
| 223 |
var CmpString = td.CmpString |
| 224 |
|
| 225 |
// CmpStruct is a deprecated alias of [td.CmpStruct]. |
| 226 |
var CmpStruct = td.CmpStruct |
| 227 |
|
| 228 |
// CmpSubBagOf is a deprecated alias of [td.CmpSubBagOf]. |
| 229 |
var CmpSubBagOf = td.CmpSubBagOf |
| 230 |
|
| 231 |
// CmpSubJSONOf is a deprecated alias of [td.CmpSubJSONOf]. |
| 232 |
var CmpSubJSONOf = td.CmpSubJSONOf |
| 233 |
|
| 234 |
// CmpSubMapOf is a deprecated alias of [td.CmpSubMapOf]. |
| 235 |
var CmpSubMapOf = td.CmpSubMapOf |
| 236 |
|
| 237 |
// CmpSubSetOf is a deprecated alias of [td.CmpSubSetOf]. |
| 238 |
var CmpSubSetOf = td.CmpSubSetOf |
| 239 |
|
| 240 |
// CmpSuperBagOf is a deprecated alias of [td.CmpSuperBagOf]. |
| 241 |
var CmpSuperBagOf = td.CmpSuperBagOf |
| 242 |
|
| 243 |
// CmpSuperJSONOf is a deprecated alias of [td.CmpSuperJSONOf]. |
| 244 |
var CmpSuperJSONOf = td.CmpSuperJSONOf |
| 245 |
|
| 246 |
// CmpSuperMapOf is a deprecated alias of [td.CmpSuperMapOf]. |
| 247 |
var CmpSuperMapOf = td.CmpSuperMapOf |
| 248 |
|
| 249 |
// CmpSuperSetOf is a deprecated alias of [td.CmpSuperSetOf]. |
| 250 |
var CmpSuperSetOf = td.CmpSuperSetOf |
| 251 |
|
| 252 |
// CmpTruncTime is a deprecated alias of [td.CmpTruncTime]. |
| 253 |
var CmpTruncTime = td.CmpTruncTime |
| 254 |
|
| 255 |
// CmpValues is a deprecated alias of [td.CmpValues]. |
| 256 |
var CmpValues = td.CmpValues |
| 257 |
|
| 258 |
// CmpZero is a deprecated alias of [td.CmpZero]. |
| 259 |
var CmpZero = td.CmpZero |
| 260 |
|
| 261 |
// All is a deprecated alias of [td.All]. |
| 262 |
var All = td.All |
| 263 |
|
| 264 |
// Any is a deprecated alias of [td.Any]. |
| 265 |
var Any = td.Any |
| 266 |
|
| 267 |
// Array is a deprecated alias of [td.Array]. |
| 268 |
var Array = td.Array |
| 269 |
|
| 270 |
// ArrayEach is a deprecated alias of [td.ArrayEach]. |
| 271 |
var ArrayEach = td.ArrayEach |
| 272 |
|
| 273 |
// Bag is a deprecated alias of [td.Bag]. |
| 274 |
var Bag = td.Bag |
| 275 |
|
| 276 |
// Between is a deprecated alias of [td.Between]. |
| 277 |
var Between = td.Between |
| 278 |
|
| 279 |
// Cap is a deprecated alias of [td.Cap]. |
| 280 |
var Cap = td.Cap |
| 281 |
|
| 282 |
// Catch is a deprecated alias of [td.Catch]. |
| 283 |
var Catch = td.Catch |
| 284 |
|
| 285 |
// Code is a deprecated alias of [td.Code]. |
| 286 |
var Code = td.Code |
| 287 |
|
| 288 |
// Contains is a deprecated alias of [td.Contains]. |
| 289 |
var Contains = td.Contains |
| 290 |
|
| 291 |
// ContainsKey is a deprecated alias of [td.ContainsKey]. |
| 292 |
var ContainsKey = td.ContainsKey |
| 293 |
|
| 294 |
// Delay is a deprecated alias of [td.ContainsKey]. |
| 295 |
var Delay = td.Delay |
| 296 |
|
| 297 |
// Empty is a deprecated alias of [td.Empty]. |
| 298 |
var Empty = td.Empty |
| 299 |
|
| 300 |
// Gt is a deprecated alias of [td.Gt]. |
| 301 |
var Gt = td.Gt |
| 302 |
|
| 303 |
// Gte is a deprecated alias of [td.Gte]. |
| 304 |
var Gte = td.Gte |
| 305 |
|
| 306 |
// HasPrefix is a deprecated alias of [td.HasPrefix]. |
| 307 |
var HasPrefix = td.HasPrefix |
| 308 |
|
| 309 |
// HasSuffix is a deprecated alias of [td.HasSuffix]. |
| 310 |
var HasSuffix = td.HasSuffix |
| 311 |
|
| 312 |
// Ignore is a deprecated alias of [td.Ignore]. |
| 313 |
var Ignore = td.Ignore |
| 314 |
|
| 315 |
// Isa is a deprecated alias of [td.Isa]. |
| 316 |
var Isa = td.Isa |
| 317 |
|
| 318 |
// JSON is a deprecated alias of [td.JSON]. |
| 319 |
var JSON = td.JSON |
| 320 |
|
| 321 |
// Keys is a deprecated alias of [td.Keys]. |
| 322 |
var Keys = td.Keys |
| 323 |
|
| 324 |
// Lax is a deprecated alias of [td.Lax]. |
| 325 |
var Lax = td.Lax |
| 326 |
|
| 327 |
// Len is a deprecated alias of [td.Len]. |
| 328 |
var Len = td.Len |
| 329 |
|
| 330 |
// Lt is a deprecated alias of [td.Lt]. |
| 331 |
var Lt = td.Lt |
| 332 |
|
| 333 |
// Lte is a deprecated alias of [td.Lte]. |
| 334 |
var Lte = td.Lte |
| 335 |
|
| 336 |
// Map is a deprecated alias of [td.Map]. |
| 337 |
var Map = td.Map |
| 338 |
|
| 339 |
// MapEach is a deprecated alias of [td.MapEach]. |
| 340 |
var MapEach = td.MapEach |
| 341 |
|
| 342 |
// N is a deprecated alias of [td.N]. |
| 343 |
var N = td.N |
| 344 |
|
| 345 |
// NaN is a deprecated alias of [td.NaN]. |
| 346 |
var NaN = td.NaN |
| 347 |
|
| 348 |
// Nil is a deprecated alias of [td.Nil]. |
| 349 |
var Nil = td.Nil |
| 350 |
|
| 351 |
// None is a deprecated alias of [td.None]. |
| 352 |
var None = td.None |
| 353 |
|
| 354 |
// Not is a deprecated alias of [td.Not]. |
| 355 |
var Not = td.Not |
| 356 |
|
| 357 |
// NotAny is a deprecated alias of [td.NotAny]. |
| 358 |
var NotAny = td.NotAny |
| 359 |
|
| 360 |
// NotEmpty is a deprecated alias of [td.NotEmpty]. |
| 361 |
var NotEmpty = td.NotEmpty |
| 362 |
|
| 363 |
// NotNaN is a deprecated alias of [td.NotNaN]. |
| 364 |
var NotNaN = td.NotNaN |
| 365 |
|
| 366 |
// NotNil is a deprecated alias of [td.NotNil]. |
| 367 |
var NotNil = td.NotNil |
| 368 |
|
| 369 |
// NotZero is a deprecated alias of [td.NotZero]. |
| 370 |
var NotZero = td.NotZero |
| 371 |
|
| 372 |
// Ptr is a deprecated alias of [td.Ptr]. |
| 373 |
var Ptr = td.Ptr |
| 374 |
|
| 375 |
// PPtr is a deprecated alias of [td.PPtr]. |
| 376 |
var PPtr = td.PPtr |
| 377 |
|
| 378 |
// Re is a deprecated alias of [td.Re]. |
| 379 |
var Re = td.Re |
| 380 |
|
| 381 |
// ReAll is a deprecated alias of [td.ReAll]. |
| 382 |
var ReAll = td.ReAll |
| 383 |
|
| 384 |
// Set is a deprecated alias of [td.Set]. |
| 385 |
var Set = td.Set |
| 386 |
|
| 387 |
// Shallow is a deprecated alias of [td.Shallow]. |
| 388 |
var Shallow = td.Shallow |
| 389 |
|
| 390 |
// Slice is a deprecated alias of [td.Slice]. |
| 391 |
var Slice = td.Slice |
| 392 |
|
| 393 |
// Smuggle is a deprecated alias of [td.Smuggle]. |
| 394 |
var Smuggle = td.Smuggle |
| 395 |
|
| 396 |
// String is a deprecated alias of [td.String]. |
| 397 |
var String = td.String |
| 398 |
|
| 399 |
// SStruct is a deprecated alias of [td.SStruct]. |
| 400 |
var SStruct = td.SStruct |
| 401 |
|
| 402 |
// Struct is a deprecated alias of [td.Struct]. |
| 403 |
var Struct = td.Struct |
| 404 |
|
| 405 |
// SubBagOf is a deprecated alias of [td.SubBagOf]. |
| 406 |
var SubBagOf = td.SubBagOf |
| 407 |
|
| 408 |
// SubJSONOf is a deprecated alias of [td.SubJSONOf]. |
| 409 |
var SubJSONOf = td.SubJSONOf |
| 410 |
|
| 411 |
// SubMapOf is a deprecated alias of [td.SubMapOf]. |
| 412 |
var SubMapOf = td.SubMapOf |
| 413 |
|
| 414 |
// SubSetOf is a deprecated alias of [td.SubSetOf]. |
| 415 |
var SubSetOf = td.SubSetOf |
| 416 |
|
| 417 |
// SuperBagOf is a deprecated alias of [td.SuperBagOf]. |
| 418 |
var SuperBagOf = td.SuperBagOf |
| 419 |
|
| 420 |
// SuperJSONOf is a deprecated alias of [td.SuperJSONOf]. |
| 421 |
var SuperJSONOf = td.SuperJSONOf |
| 422 |
|
| 423 |
// SuperMapOf is a deprecated alias of [td.SuperMapOf]. |
| 424 |
var SuperMapOf = td.SuperMapOf |
| 425 |
|
| 426 |
// SuperSetOf is a deprecated alias of [td.SuperSetOf]. |
| 427 |
var SuperSetOf = td.SuperSetOf |
| 428 |
|
| 429 |
// Tag is a deprecated alias of [td.Tag]. |
| 430 |
var Tag = td.Tag |
| 431 |
|
| 432 |
// TruncTime is a deprecated alias of [td.TruncTime]. |
| 433 |
var TruncTime = td.TruncTime |
| 434 |
|
| 435 |
// Values is a deprecated alias of [td.Values]. |
| 436 |
var Values = td.Values |
| 437 |
|
| 438 |
// Zero is a deprecated alias of [td.Zero]. |
| 439 |
var Zero = td.Zero |
| 440 |
|
| 441 |
// BoundsInIn is a deprecated alias of [td.BoundsInIn]. |
| 442 |
const BoundsInIn = td.BoundsInIn |
| 443 |
|
| 444 |
// BoundsInOut is a deprecated alias of [td.BoundsInOut]. |
| 445 |
const BoundsInOut = td.BoundsInOut |
| 446 |
|
| 447 |
// BoundsOutIn is a deprecated alias of [td.BoundsOutIn]. |
| 448 |
const BoundsOutIn = td.BoundsOutIn |
| 449 |
|
| 450 |
// BoundsOutOut is a deprecated alias of [td.BoundsOutOut]. |
| 451 |
const BoundsOutOut = td.BoundsOutOut |