17651766176717681769177017711772177317741775
fld2.name = "another"; fld2.type = "String"; builder.addExpectedAddFieldValues(fld2); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
17981799180018011802180318041805180618071808
fld.type = "List"; builder.addExpectedAddFieldValues(fld); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
18331834183518361837183818391840184118421843
18671868186918701871187218731874187518761877
method.name = "doStuff"; method.returns = "void"; builder.addExpectedAddMethodValues(method); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
19081909191019111912191319141915191619171918
ClassDef cls3 = new ClassDef(); cls3.name = "AnotherClass"; builder.addExpectedBeginClassValues(cls3); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
19301931193219331934193519361937193819391940
setupLex(0); // expectations // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
19601961196219631964196519661967196819691970
fld.dimensions = 0; builder.addExpectedAddFieldValues(fld); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
19921993199419951996199719981999200020012002
fld.dimensions = 1; builder.addExpectedAddFieldValues(fld); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
20262027202820292030203120322033203420352036
fld.dimensions = 2; builder.addExpectedAddFieldValues(fld); // execute Parser parser = new Parser(lexer, builder); parser.parse(); // verify builder.verify(); }
20582059206020612062206320642065206620672068