Skip to content

Commit fefd7a9

Browse files
committed
removed no longer needed tests
1 parent 25565ef commit fefd7a9

File tree

1 file changed

+0
-106
lines changed

1 file changed

+0
-106
lines changed

quickfixj-base/src/test/java/quickfix/DataDictionaryTest.java

Lines changed: 0 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -205,59 +205,6 @@ public void testHeaderTrailerRequired() throws Exception {
205205
assertFalse("Unknown trailer field shows up as required", dd.isRequiredTrailerField(666));
206206
}
207207

208-
@Test
209-
public void testMessageWithNoChildren40() throws Exception {
210-
String data = "";
211-
data += "<fix major=\"4\" minor=\"0\">";
212-
data += " <header>";
213-
data += " <field name=\"BeginString\" required=\"Y\"/>";
214-
data += " </header>";
215-
data += " <trailer>";
216-
data += " <field name=\"CheckSum\" required=\"Y\"/>";
217-
data += " </trailer>";
218-
data += " <fields>";
219-
data += " <field number=\"1\" name=\"Account\" type=\"STRING\"/>";
220-
data += " <field number=\"8\" name=\"BeginString\" type=\"STRING\"/>";
221-
data += " <field number=\"10\" name=\"CheckSum\" type=\"STRING\"/>";
222-
data += " </fields>";
223-
data += " <messages>";
224-
data += " <message name=\"MessageWithNoChildren\" msgtype=\"msg\" msgcat=\"custom\"/>";
225-
data += " </messages>";
226-
data += "</fix>";
227-
228-
expectedException.expect(ConfigError.class);
229-
expectedException.expectMessage("No fields found: msgType=msg");
230-
231-
new DataDictionary(new ByteArrayInputStream(data.getBytes()));
232-
}
233-
234-
@Test
235-
public void testMessageWithTextElement40() throws Exception {
236-
String data = "";
237-
data += "<fix major=\"4\" minor=\"0\">";
238-
data += " <header>";
239-
data += " <field name=\"BeginString\" required=\"Y\"/>";
240-
data += " </header>";
241-
data += " <trailer>";
242-
data += " <field name=\"CheckSum\" required=\"Y\"/>";
243-
data += " </trailer>";
244-
data += " <fields>";
245-
data += " <field number=\"1\" name=\"Account\" type=\"STRING\"/>";
246-
data += " <field number=\"8\" name=\"BeginString\" type=\"STRING\"/>";
247-
data += " <field number=\"10\" name=\"CheckSum\" type=\"STRING\"/>";
248-
data += " </fields>";
249-
data += " <messages>";
250-
data += " <message name=\"MessageWithNoChildren\" msgtype=\"msg\" msgcat=\"custom\">";
251-
data += " </message>";
252-
data += " </messages>";
253-
data += "</fix>";
254-
255-
expectedException.expect(ConfigError.class);
256-
expectedException.expectMessage("No fields found: msgType=msg");
257-
258-
new DataDictionary(new ByteArrayInputStream(data.getBytes()));
259-
}
260-
261208
@Test
262209
public void testMessagesWithNoChildren40() throws Exception {
263210
String data = "";
@@ -462,59 +409,6 @@ public void testFieldsWithTextElement40() throws Exception {
462409
new DataDictionary(new ByteArrayInputStream(data.getBytes()));
463410
}
464411

465-
@Test
466-
public void testMessageWithNoChildren50() throws Exception {
467-
String data = "";
468-
data += "<fix major=\"5\" minor=\"0\">";
469-
data += " <header>";
470-
data += " <field name=\"BeginString\" required=\"Y\"/>";
471-
data += " </header>";
472-
data += " <trailer>";
473-
data += " <field name=\"CheckSum\" required=\"Y\"/>";
474-
data += " </trailer>";
475-
data += " <fields>";
476-
data += " <field number=\"1\" name=\"Account\" type=\"STRING\"/>";
477-
data += " <field number=\"8\" name=\"BeginString\" type=\"STRING\"/>";
478-
data += " <field number=\"10\" name=\"CheckSum\" type=\"STRING\"/>";
479-
data += " </fields>";
480-
data += " <messages>";
481-
data += " <message name=\"MessageWithNoChildren\" msgtype=\"msg\" msgcat=\"custom\"/>";
482-
data += " </messages>";
483-
data += "</fix>";
484-
485-
expectedException.expect(ConfigError.class);
486-
expectedException.expectMessage("No fields found: msgType=msg");
487-
488-
new DataDictionary(new ByteArrayInputStream(data.getBytes()));
489-
}
490-
491-
@Test
492-
public void testMessageWithTextElement50() throws Exception {
493-
String data = "";
494-
data += "<fix major=\"5\" minor=\"0\">";
495-
data += " <header>";
496-
data += " <field name=\"BeginString\" required=\"Y\"/>";
497-
data += " </header>";
498-
data += " <trailer>";
499-
data += " <field name=\"CheckSum\" required=\"Y\"/>";
500-
data += " </trailer>";
501-
data += " <fields>";
502-
data += " <field number=\"1\" name=\"Account\" type=\"STRING\"/>";
503-
data += " <field number=\"8\" name=\"BeginString\" type=\"STRING\"/>";
504-
data += " <field number=\"10\" name=\"CheckSum\" type=\"STRING\"/>";
505-
data += " </fields>";
506-
data += " <messages>";
507-
data += " <message name=\"MessageWithNoChildren\" msgtype=\"msg\" msgcat=\"custom\">";
508-
data += " </message>";
509-
data += " </messages>";
510-
data += "</fix>";
511-
512-
expectedException.expect(ConfigError.class);
513-
expectedException.expectMessage("No fields found: msgType=msg");
514-
515-
new DataDictionary(new ByteArrayInputStream(data.getBytes()));
516-
}
517-
518412
@Test
519413
public void testMessagesWithNoChildren50() throws Exception {
520414
String data = "";

0 commit comments

Comments
 (0)