MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / QuoteSupport

Class QuoteSupport

java/tests/complex_idl/QuoteSupport.java:16–101  ·  view source on GitHub ↗

@author Steven Stallion

Source from the content-addressed store, hash-verified

14 * @author Steven Stallion
15 */
16public class QuoteSupport {
17 protected static final List<Quote> quotes =
18 new ArrayList<Quote>();
19
20 static {
21 Quote quote;
22
23 //
24
25 quote = createQuote();
26
27 quote.episode_name = "Full Frontal Nudity (1969)";
28 quote.skit_name = "Dead Parrot";
29
30 quote.cast_member =
31 createCastMember("John Cleese", "Mr. Praline");
32
33 quote.line = "'E's not pinin'! 'E's passed on! This parrot is no more! "
34 + "He has ceased to be! 'E's expired and gone to meet 'is maker! "
35 + "'E's a stiff! Bereft of life, 'e rests in peace! "
36 + "If you hadn't nailed 'im to the perch 'e'd be pushing up the daisies! "
37 + "'Is metabolic processes are now 'istory! 'E's off the twig! "
38 + "'E's kicked the bucket, 'e's shuffled off 'is mortal coil, run down "
39 + "the curtain and joined the bleedin' choir invisible! THIS IS AN EX-PARROT!";
40
41 //
42
43 quote = createQuote();
44
45 quote.episode_name = "The Spanish Inquisition (1970)";
46 quote.skit_name = "The Spanish Inquisition";
47
48 quote.cast_member =
49 createCastMember("Michael Palin", "Ximinez");
50
51 quote.line = "Nobody expects the Spanish Inquisition! Our chief weapon is surprise... "
52 + "surprise and fear...fear and surprise.... our two weapons are fear and surprise... "
53 + "and ruthless efficiency.... Our three weapons are fear, surprise, and ruthless efficiency... "
54 + "and an almost fanatical devotion to the Pope.... Our four...no... amongst our weapons.... "
55 + "amongst our weaponry...are such elements as fear, surprise.... I'll come in again.";
56
57 //
58
59 quote = createQuote();
60
61 quote.episode_name = "Mr. and Mrs. Brian Norris' Ford Popular (1972)";
62 quote.skit_name = "Vicar/salesman";
63
64 quote.cast_member =
65 createCastMember("Terry Jones", "Mrs. S");
66
67 quote.line = "It's funny, isn't it? How your best friend can just blow up like that? "
68 + "I mean, you wouldn't think it was medically possible, would you?";
69 }
70
71 protected static void printQuote(Quote quote) {
72 System.out.printf("[%s]\n", quote);
73

Callers

nothing calls this directly

Calls 2

createQuoteMethod · 0.95
createCastMemberMethod · 0.95

Tested by

no test coverage detected