Searched refs:expectedTokens (Results 1 – 1 of 1) sorted by relevance
360 private static void AssertTokens(string json, params JsonToken[] expectedTokens) in AssertTokens() argument362 AssertTokensNoReplacement(json.Replace('\'', '"'), expectedTokens); in AssertTokens()372 … private static void AssertTokensNoReplacement(string json, params JsonToken[] expectedTokens) in AssertTokensNoReplacement() argument376 for (int i = 0; i < expectedTokens.Length; i++) in AssertTokensNoReplacement()381 Assert.Fail("Expected {0} but reached end of token stream", expectedTokens[i]); in AssertTokensNoReplacement()383 Assert.AreEqual(expectedTokens[i], actualToken); in AssertTokensNoReplacement()392 private static void AssertThrowsAfter(string json, params JsonToken[] expectedTokens) in AssertThrowsAfter() argument396 for (int i = 0; i < expectedTokens.Length; i++) in AssertThrowsAfter()401 Assert.Fail("Expected {0} but reached end of document", expectedTokens[i]); in AssertThrowsAfter()403 Assert.AreEqual(expectedTokens[i], actualToken); in AssertThrowsAfter()