//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void testLetterUnicode() throws Exception public virtual void testLetterUnicode() { Random random = random(); Analyzer left = new MockAnalyzer(random(), jvmLetter, false); Analyzer right = new AnalyzerAnonymousInnerClassHelper5(this); for (int i = 0; i < 1000; i++) { string s = TestUtil.randomUnicodeString(random); assertEquals(s, left.tokenStream("foo", newStringReader(s)), right.tokenStream("foo", newStringReader(s))); } }
public virtual void testVersion36() { Analyzer a = new AnalyzerAnonymousInnerClassHelper5(this); assertAnalyzesTo(a, "this is just a t\u08E6st [email protected]", new string[] { "this", "is", "just", "a", "t", "st", "*****@*****.**" }); // new combining mark in 6.1 };
public virtual void testVersion36() { Analyzer a = new AnalyzerAnonymousInnerClassHelper5(this); assertAnalyzesTo(a, "this is just a t\u08E6st [email protected]", new string[] {"this", "is", "just", "a", "t", "st", "*****@*****.**"}); // new combining mark in 6.1 };