Searched refs:assertEquals (Results 1 - 25 of 185) sorted by relevance

12345678

/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftChannel/
H A DResetAllControllers.java81 private static void assertEquals(Object a, Object b) throws Exception method in class:ResetAllControllers
84 throw new RuntimeException("assertEquals fails!");
109 assertEquals(channel.getPolyPressure(i), 0);
110 assertEquals(channel.getChannelPressure(), 0);
111 assertEquals(channel.getPitchBend(),8192);
114 assertEquals(channel.getController(i), 0);
115 assertEquals(channel.getController(71), 64); // Filter Resonance
116 assertEquals(channel.getController(72), 64); // Release Time
117 assertEquals(channel.getController(73), 64); // Attack Time
118 assertEquals(channe
[all...]
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftReceiver/
H A DSend_ResetAllControllers.java81 private static void assertEquals(Object a, Object b) throws Exception method in class:Send_ResetAllControllers
84 throw new RuntimeException("assertEquals fails!");
113 assertEquals(channel.getPolyPressure(i), 0);
114 assertEquals(channel.getChannelPressure(), 0);
115 assertEquals(channel.getPitchBend(),8192);
118 assertEquals(channel.getController(i), 0);
119 assertEquals(channel.getController(71), 64); // Filter Resonance
120 assertEquals(channel.getController(72), 64); // Release Time
121 assertEquals(channel.getController(73), 64); // Attack Time
122 assertEquals(channe
[all...]
/openjdk7/langtools/test/tools/javac/6979683/
H A DTestCast6979683_GOOD.java47 static void assertEquals(Object x, Object y) { method in class:TestCast6979683_GOOD
49 throw new RuntimeException("assertEquals: "+x+" != "+y);
66 assertEquals(x, zconv1(x));
67 assertEquals(x, zconv2(x));
68 assertEquals(x, zconv3(x));
78 assertEquals(x, iconv1(x));
79 assertEquals(x, iconv2(x));
80 assertEquals(x, iconv3(x));
81 assertEquals(x, iconv4(x));
82 assertEquals(
[all...]
/openjdk7/jdk/test/javax/sound/midi/Gervill/SimpleInstrument/
H A DAddModelPerformerArrayIntInt.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelPerformerArrayIntInt
38 throw new RuntimeException("assertEquals fails!");
72 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
73 assertEquals(performers[i].getExclusiveClass(), performers2[i].getExclusiveClass());
75 assertEquals(18, performers2[i].getKeyFrom());
77 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
79 assertEquals(40, performers2[i].getKeyTo());
81 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
82 assertEquals(performers[i].getVelFrom(), performers2[i].getVelFrom());
83 assertEquals(performer
[all...]
H A DAddModelPerformerIntInt.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelPerformerIntInt
38 throw new RuntimeException("assertEquals fails!");
72 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
73 assertEquals(performers[i].getExclusiveClass(), performers2[i].getExclusiveClass());
75 assertEquals(18, performers2[i].getKeyFrom());
77 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
79 assertEquals(40, performers2[i].getKeyTo());
81 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
82 assertEquals(performers[i].getVelFrom(), performers2[i].getVelFrom());
83 assertEquals(performer
[all...]
H A DAddModelInstrumentIntIntIntInt.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelInstrumentIntIntIntInt
38 throw new RuntimeException("assertEquals fails!");
74 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
75 assertEquals(performers[i].getExclusiveClass(), performers2[i].getExclusiveClass());
77 assertEquals(18, performers2[i].getKeyFrom());
79 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
81 assertEquals(40, performers2[i].getKeyTo());
83 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
85 assertEquals(20, performers2[i].getVelFrom());
87 assertEquals(performer
[all...]
H A DAddModelInstrumentIntIntIntIntInt.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelInstrumentIntIntIntIntInt
38 throw new RuntimeException("assertEquals fails!");
74 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
75 assertEquals(12, performers2[i].getExclusiveClass());
77 assertEquals(18, performers2[i].getKeyFrom());
79 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
81 assertEquals(40, performers2[i].getKeyTo());
83 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
85 assertEquals(20, performers2[i].getVelFrom());
87 assertEquals(performer
[all...]
H A DAddModelPerformerArrayIntIntIntInt.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelPerformerArrayIntIntIntInt
38 throw new RuntimeException("assertEquals fails!");
72 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
73 assertEquals(performers[i].getExclusiveClass(), performers2[i].getExclusiveClass());
75 assertEquals(18, performers2[i].getKeyFrom());
77 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
79 assertEquals(40, performers2[i].getKeyTo());
81 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
83 assertEquals(20, performers2[i].getVelFrom());
85 assertEquals(performer
[all...]
H A DAddModelPerformerArrayIntIntIntIntInt.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelPerformerArrayIntIntIntIntInt
38 throw new RuntimeException("assertEquals fails!");
72 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
73 assertEquals(12, performers2[i].getExclusiveClass());
75 assertEquals(18, performers2[i].getKeyFrom());
77 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
79 assertEquals(40, performers2[i].getKeyTo());
81 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
83 assertEquals(20, performers2[i].getVelFrom());
85 assertEquals(performer
[all...]
H A DAddModelPerformerIntIntIntInt.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelPerformerIntIntIntInt
38 throw new RuntimeException("assertEquals fails!");
72 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
73 assertEquals(performers[i].getExclusiveClass(), performers2[i].getExclusiveClass());
75 assertEquals(18, performers2[i].getKeyFrom());
77 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
79 assertEquals(40, performers2[i].getKeyTo());
81 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
83 assertEquals(20, performers2[i].getVelFrom());
85 assertEquals(performer
[all...]
H A DAddModelPerformerIntIntIntIntInt.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelPerformerIntIntIntIntInt
38 throw new RuntimeException("assertEquals fails!");
72 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
73 assertEquals(12, performers2[i].getExclusiveClass());
75 assertEquals(18, performers2[i].getKeyFrom());
77 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
79 assertEquals(40, performers2[i].getKeyTo());
81 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
83 assertEquals(20, performers2[i].getVelFrom());
85 assertEquals(performer
[all...]
H A DAddModelInstrument.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelInstrument
38 throw new RuntimeException("assertEquals fails!");
75 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
76 assertEquals(performers[i].getExclusiveClass(), performers2[i].getExclusiveClass());
77 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
78 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
79 assertEquals(performers[i].getVelFrom(), performers2[i].getVelFrom());
80 assertEquals(performers[i].getVelTo(), performers2[i].getVelTo());
81 assertEquals(performers[i].getOscillators(), performers2[i].getOscillators());
82 assertEquals(performer
[all...]
H A DAddModelPerformer.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelPerformer
38 throw new RuntimeException("assertEquals fails!");
72 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
73 assertEquals(performers[i].getExclusiveClass(), performers2[i].getExclusiveClass());
74 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
75 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
76 assertEquals(performers[i].getVelFrom(), performers2[i].getVelFrom());
77 assertEquals(performers[i].getVelTo(), performers2[i].getVelTo());
78 assertEquals(performers[i].getOscillators(), performers2[i].getOscillators());
79 assertEquals(performer
[all...]
H A DAddModelPerformerArray.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelPerformerArray
38 throw new RuntimeException("assertEquals fails!");
72 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
73 assertEquals(performers[i].getExclusiveClass(), performers2[i].getExclusiveClass());
74 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
75 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
76 assertEquals(performers[i].getVelFrom(), performers2[i].getVelFrom());
77 assertEquals(performers[i].getVelTo(), performers2[i].getVelTo());
78 assertEquals(performers[i].getOscillators(), performers2[i].getOscillators());
79 assertEquals(performer
[all...]
H A DAddModelInstrumentIntInt.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:AddModelInstrumentIntInt
38 throw new RuntimeException("assertEquals fails!");
74 assertEquals(performers[i].getConnectionBlocks(), performers2[i].getConnectionBlocks());
75 assertEquals(performers[i].getExclusiveClass(), performers2[i].getExclusiveClass());
77 assertEquals(18, performers2[i].getKeyFrom());
79 assertEquals(performers[i].getKeyFrom(), performers2[i].getKeyFrom());
81 assertEquals(40, performers2[i].getKeyTo());
83 assertEquals(performers[i].getKeyTo(), performers2[i].getKeyTo());
84 assertEquals(performers[i].getVelFrom(), performers2[i].getVelFrom());
85 assertEquals(performer
[all...]
/openjdk7/jdk/test/java/lang/invoke/
H A DClassValueTest.java73 assertEquals(nameForCV1(c), CV1.get(c));
75 assertEquals(CLASSES.length, countForCV1);
77 assertEquals(nameForCV1(c), CV1.get(c));
79 assertEquals(CLASSES.length, countForCV1);
92 assertEquals(0, countForCV1); // no change
94 assertEquals(nameForCV1(c), CV1.get(c));
96 assertEquals(REMCOUNT, countForCV1);
126 assertEquals(0, countForCVN);
127 assertEquals(nameForCVN(c, n), cvns[n].get(c));
133 assertEquals(
[all...]
/openjdk7/jdk/test/javax/sound/midi/Gervill/SimpleSoundbank/
H A DSetDescription.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:SetDescription
38 throw new RuntimeException("assertEquals fails!");
44 assertEquals(soundbank.getDescription(), "hello");
H A DSetName.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:SetName
38 throw new RuntimeException("assertEquals fails!");
44 assertEquals(soundbank.getName(), "hello");
H A DSetVendor.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:SetVendor
38 throw new RuntimeException("assertEquals fails!");
44 assertEquals(soundbank.getVendor(), "hello");
H A DSetVersion.java35 private static void assertEquals(Object a, Object b) throws Exception method in class:SetVersion
38 throw new RuntimeException("assertEquals fails!");
44 assertEquals(soundbank.getVersion(), "hello");
H A DAddInstrument.java36 private static void assertEquals(Object a, Object b) throws Exception method in class:AddInstrument
39 throw new RuntimeException("assertEquals fails!");
47 assertEquals(soundbank.getInstruments().length, 1);
48 assertEquals(soundbank.getInstruments()[0], ins);
/openjdk7/jdk/test/java/lang/invoke/7157574/
H A DTest7157574.java68 assertEquals(Sub.class, m1.type().parameterType(0));
69 assertEquals(Sub.class, m2.type().parameterType(0));
70 assertEquals(Sub.class, f2.type().parameterType(0));
71 assertEquals(Sub.class, f2s.type().parameterType(0));
72 assertEquals(Sub.class, chc.type().parameterType(0));
73 assertEquals(Intf.class, ihc.type().parameterType(0));
94 assertEquals(-1, s.f2);
96 assertEquals(-2, s.f2);
98 assertEquals(2, (int) f2.invokeExact(s));
100 assertEquals(
105 private static void assertEquals(Object expect, Object observe) { method in class:Test7157574
[all...]
/openjdk7/jdk/test/java/util/Locale/
H A DLocaleEnhanceTest.java125 assertEquals(msg + "language", idl, l.getLanguage());
126 assertEquals(msg + "script", ids, l.getScript());
127 assertEquals(msg + "country", idc, l.getCountry());
128 assertEquals(msg + "variant", idv, l.getVariant());
129 assertEquals(msg + "tag", tag, l.toLanguageTag());
130 assertEquals(msg + "id", id, l.toString());
181 assertEquals(msg + " language", idl, l.getLanguage());
182 assertEquals(msg + " script", ids, l.getScript());
183 assertEquals(msg + " country", idc, l.getCountry());
184 assertEquals(ms
1326 private void assertEquals(String msg, Object e, Object v) { method in class:LocaleEnhanceTest
[all...]
/openjdk7/jdk/test/java/lang/instrument/
H A DATestCaseScaffold.java144 assertEquals(String message, Object expected, Object actual) { method in class:ATestCaseScaffold
158 assertEquals(Object expected, Object actual) { method in class:ATestCaseScaffold
159 assertEquals(null, expected, actual);
163 assertEquals(String message, int expected, int actual) { method in class:ATestCaseScaffold
164 assertEquals(message, new Integer(expected), new Integer(actual));
168 assertEquals(int expected, int actual) { method in class:ATestCaseScaffold
169 assertEquals("Expected equality", expected, actual);
/openjdk7/jdk/test/javax/sound/midi/Gervill/RiffReaderWriter/
H A DReadByteArrayIntInt.java38 private static void assertEquals(Object a, Object b) throws Exception method in class:ReadByteArrayIntInt
41 throw new RuntimeException("assertEquals fails!");
57 assertEquals(reader.getFormat(), "RIFF");
58 assertEquals(reader.getType(), "TEST");
60 assertEquals(readchunk.getFormat(), "TSCH");
61 assertEquals(readchunk.read(), 1);
62 assertEquals(readchunk.read(), 2);
63 assertEquals(readchunk.read(), 3);

Completed in 862 milliseconds

12345678