/openjdk7/jdk/test/java/io/File/ |
H A D | SymLinks.java | 67 assertTrue(dir.mkdir()); 118 assertTrue(attrs.isSymbolicLink()); 140 static void assertTrue(boolean v) { method in class:SymLinks 145 assertTrue(!v); 160 assertTrue(file.isFile()); 161 assertTrue(isSymLink(link2file)); 162 assertTrue(isSymLink(link2link2file)); 163 assertTrue(dir.isDirectory()); 164 assertTrue(isSymLink(link2dir)); 165 assertTrue(isSymLin [all...] |
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | Misc.java | 62 assertTrue(exists(subdir)); 67 assertTrue(exists(subdir)); 85 assertTrue(!isHidden(tmpdir)); 93 assertTrue(isHidden(file)); 101 assertTrue(isHidden(file)); 115 assertTrue(isSameFile(thisFile, thisFile)); 152 assertTrue(!isSameFile(thisFile, thatFile)); 153 assertTrue(!isSameFile(thatFile, thisFile)); 164 assertTrue(isSameFile(thisFile, thatFile)); 165 assertTrue(isSameFil 352 static void assertTrue(boolean okay) { method in class:Misc [all...] |
/openjdk7/langtools/test/tools/javac/enum/7160084/ |
H A D | T7160084a.java | 33 static void assertTrue(boolean cond) { method in class:T7160084a 56 assertTrue(MyEnumA.values().length == 1); 57 assertTrue(Intf.MyEnumA.values().length == 2); 58 assertTrue(assertionCount == 2);
|
H A D | T7160084b.java | 33 static void assertTrue(boolean cond) { method in class:T7160084b 59 assertTrue(Component.values().length == 1); 66 assertTrue(assertionCount == 1);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftSynthesizer/ |
H A D | GetPropertyInfo.java | 44 private static void assertTrue(boolean value) throws Exception { method in class:GetPropertyInfo 46 throw new RuntimeException("assertTrue fails!"); 59 assertTrue(Math.abs((Float) ap[i].value - 125.0) < 0.001); 61 assertTrue((Boolean) ap[i].value == false); 63 assertTrue((Boolean) ap[i].value == false); 66 assertTrue(format.getChannels() == 1); 67 assertTrue(format.getSampleSizeInBits() == 24); 68 assertTrue(format.isBigEndian()); 69 assertTrue(Math.abs(format.getSampleRate() - 8000) < 0.001); 70 assertTrue(forma [all...] |
H A D | GetChannels.java | 46 private static void assertTrue(boolean value) throws Exception method in class:GetChannels 49 throw new RuntimeException("assertTrue fails!"); 55 assertTrue(synth.getChannels() != null); 56 assertTrue(synth.getChannels().length == 16); 59 assertTrue(channels[i] != null);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelStandardTransform/ |
H A D | TransformConcave.java | 59 private static void assertTrue(boolean value) throws Exception method in class:TransformConcave 62 throw new RuntimeException("assertTrue fails!"); 68 assertTrue(checkLinearity(transform)); 72 assertTrue(Math.abs(transform.transform(0.0f) - 0.0f) < 0.0001f); 73 assertTrue(transform.transform(0.5f) < 0.5f); 74 assertTrue(Math.abs(transform.transform(1.0f) - 1.0f) < 0.0001f); 78 assertTrue(Math.abs(transform.transform(1.0f) - 0.0f) < 0.0001f); 79 assertTrue(transform.transform(0.5f) < 0.5f); 80 assertTrue(Math.abs(transform.transform(0.0f) - 1.0f) < 0.0001f); 84 assertTrue(Mat [all...] |
H A D | TransformConvex.java | 59 private static void assertTrue(boolean value) throws Exception method in class:TransformConvex 62 throw new RuntimeException("assertTrue fails!"); 68 assertTrue(checkLinearity(transform)); 72 assertTrue(Math.abs(transform.transform(0.0f) - 0.0f) < 0.0001f); 73 assertTrue(transform.transform(0.5f) > 0.5f); 74 assertTrue(Math.abs(transform.transform(1.0f) - 1.0f) < 0.0001f); 78 assertTrue(Math.abs(transform.transform(1.0f) - 0.0f) < 0.0001f); 79 assertTrue(transform.transform(0.5f) > 0.5f); 80 assertTrue(Math.abs(transform.transform(0.0f) - 1.0f) < 0.0001f); 84 assertTrue(Mat [all...] |
H A D | TransformSwitch.java | 33 private static void assertTrue(boolean value) throws Exception method in class:TransformSwitch 36 throw new RuntimeException("assertTrue fails!"); 45 assertTrue(Math.abs(transform.transform(0.2f) - 0.0f) < 0.0001f); 46 assertTrue(Math.abs(transform.transform(0.8f) - 1.0f) < 0.0001f); 50 assertTrue(Math.abs(transform.transform(0.2f) - 1.0f) < 0.0001f); 51 assertTrue(Math.abs(transform.transform(0.8f) - 0.0f) < 0.0001f); 55 assertTrue(Math.abs(transform.transform(0.2f) + 1.0f) < 0.0001f); 56 assertTrue(Math.abs(transform.transform(0.8f) - 1.0f) < 0.0001f); 60 assertTrue(Math.abs(transform.transform(0.2f) - 1.0f) < 0.0001f); 61 assertTrue(Mat [all...] |
H A D | TransformLinear.java | 59 private static void assertTrue(boolean value) throws Exception method in class:TransformLinear 62 throw new RuntimeException("assertTrue fails!"); 68 assertTrue(checkLinearity(transform)); 72 assertTrue(Math.abs(transform.transform(0.2f) - 0.2f) < 0.0001f); 73 assertTrue(Math.abs(transform.transform(0.8f) - 0.8f) < 0.0001f); 77 assertTrue(Math.abs(transform.transform(0.2f) - 0.8f) < 0.0001f); 78 assertTrue(Math.abs(transform.transform(0.8f) - 0.2f) < 0.0001f); 82 assertTrue(Math.abs(transform.transform(0.2f) - (-0.6f)) < 0.0001f); 83 assertTrue(Math.abs(transform.transform(0.8f) - (0.6f)) < 0.0001f); 87 assertTrue(Mat [all...] |
/openjdk7/jdk/test/javax/sound/midi/Gervill/DLSSoundbankReader/ |
H A D | TestGetSoundbankFile.java | 38 private static void assertTrue(boolean value) throws Exception method in class:TestGetSoundbankFile 41 throw new RuntimeException("assertTrue fails!"); 47 assertTrue(dls.getInstruments().length == 1); 49 assertTrue(patch.getProgram() == 0); 50 assertTrue(patch.getBank() == 0);
|
H A D | TestGetSoundbankInputStream.java | 40 private static void assertTrue(boolean value) throws Exception method in class:TestGetSoundbankInputStream 43 throw new RuntimeException("assertTrue fails!"); 53 assertTrue(dls.getInstruments().length == 1); 55 assertTrue(patch.getProgram() == 0); 56 assertTrue(patch.getBank() == 0);
|
H A D | TestGetSoundbankUrl.java | 39 private static void assertTrue(boolean value) throws Exception method in class:TestGetSoundbankUrl 42 throw new RuntimeException("assertTrue fails!"); 49 assertTrue(dls.getInstruments().length == 1); 51 assertTrue(patch.getProgram() == 0); 52 assertTrue(patch.getBank() == 0);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SF2SoundbankReader/ |
H A D | TestGetSoundbankFile.java | 38 private static void assertTrue(boolean value) throws Exception method in class:TestGetSoundbankFile 41 throw new RuntimeException("assertTrue fails!"); 47 assertTrue(sf2.getInstruments().length == 1); 49 assertTrue(patch.getProgram() == 0); 50 assertTrue(patch.getBank() == 0);
|
H A D | TestGetSoundbankInputStream.java | 40 private static void assertTrue(boolean value) throws Exception method in class:TestGetSoundbankInputStream 43 throw new RuntimeException("assertTrue fails!"); 53 assertTrue(sf2.getInstruments().length == 1); 55 assertTrue(patch.getProgram() == 0); 56 assertTrue(patch.getBank() == 0);
|
H A D | TestGetSoundbankUrl.java | 39 private static void assertTrue(boolean value) throws Exception method in class:TestGetSoundbankUrl 42 throw new RuntimeException("assertTrue fails!"); 49 assertTrue(sf2.getInstruments().length == 1); 51 assertTrue(patch.getProgram() == 0); 52 assertTrue(patch.getBank() == 0);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftProvider/ |
H A D | GetDevice.java | 45 private static void assertTrue(boolean value) throws Exception method in class:GetDevice 48 throw new RuntimeException("assertTrue fails!"); 61 assertTrue(infos.length > 0); 63 assertTrue(infos[i] != null); 65 assertTrue(d instanceof SoftSynthesizer); 67 assertTrue(provider.getDevice(new FakeInfo()) == null);
|
/openjdk7/jdk/test/java/nio/file/Path/ |
H A D | Misc.java | 66 assertTrue(thisFile.equals(thisFile)); 67 assertTrue(!thisFile.equals(thatFile)); 69 assertTrue(!thisFile.equals(null)); 70 assertTrue(!thisFile.equals(new Object())); 75 assertTrue(thisFile.equals(likeThis)); 76 assertTrue(thisFile.hashCode() == likeThis.hashCode()); 79 assertTrue(!thisFile.equals(likeThis)); 88 assertTrue(d.toString().equals(dir.toString())); 89 assertTrue(d.toPath().equals(dir)); 102 assertTrue(File 165 static void assertTrue(boolean okay) { method in class:Misc [all...] |
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftReceiver/ |
H A D | Send_NoteOn_Multiple.java | 42 private static void assertTrue(boolean value) throws Exception method in class:Send_NoteOn_Multiple 45 throw new RuntimeException("assertTrue fails!"); 61 assertTrue(soft.findVoice(0,60) != null); 62 assertTrue(soft.findVoice(0,61) != null); 63 assertTrue(soft.findVoice(0,62) != null); 70 assertTrue(soft.findVoice(0,60) == null); 71 assertTrue(soft.findVoice(0,61) == null); 72 assertTrue(soft.findVoice(0,62) != null);
|
H A D | Send_NoteOn_Delayed.java | 42 private static void assertTrue(boolean value) throws Exception method in class:Send_NoteOn_Delayed 45 throw new RuntimeException("assertTrue fails!"); 57 assertTrue(soft.findVoice(0,60) == null); 59 assertTrue(soft.findVoice(0,60) != null); 63 assertTrue(soft.findVoice(0,60) == null);
|
/openjdk7/jdk/test/javax/swing/Security/6938813/ |
H A D | bug6938813.java | 58 assertTrue(DTD.getDTD(DTD_KEY).getName().equals(DTD_KEY), "DTD.getDTD() mixed AppContexts"); 65 assertTrue(DTD.getDTD(DTD_KEY) == invalidDtd, "Something wrong with DTD.getDTD()"); 69 assertTrue(appContext.get(dtdKey) == null, "ParserDelegator mixed AppContexts"); 76 assertTrue(dtdValue != null, "ParserDelegator.defaultDTD isn't initialized"); 81 assertTrue(dtdValue == appContext.get(dtdKey), "ParserDelegator.defaultDTD created a duplicate"); 89 assertTrue(styleSheet != null, "htmlEditorKit.getStyleSheet() returns null"); 90 assertTrue(htmlEditorKit.getStyleSheet() == styleSheet, "Something wrong with htmlEditorKit.getStyleSheet()"); 92 assertTrue(htmlEditorKit.getStyleSheet() != styleSheet, "HtmlEditorKit.getStyleSheet() mixed AppContexts"); 96 private static void assertTrue(boolean b, String msg) { method in class:bug6938813
|
/openjdk7/jdk/test/java/nio/file/FileStore/ |
H A D | Basic.java | 49 static void assertTrue(boolean okay) { method in class:Basic 64 assertTrue(!Files.getFileStore(dir).isReadOnly()); 73 assertTrue(store1.equals(store2)); 74 assertTrue(store2.equals(store1)); 75 assertTrue(store1.hashCode() == store2.hashCode()); 80 assertTrue(store1.supportsFileAttributeView("basic")); 81 assertTrue(store1.supportsFileAttributeView(BasicFileAttributeView.class)); 82 assertTrue(store1.supportsFileAttributeView("posix") == 84 assertTrue(store1.supportsFileAttributeView("dos") == 86 assertTrue(store [all...] |
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftAudioBuffer/ |
H A D | Clear.java | 42 private static void assertTrue(boolean value) throws Exception method in class:Clear 45 throw new RuntimeException("assertTrue fails!"); 52 assertTrue(!buff.isSilent()); 54 assertTrue(buff.isSilent());
|
/openjdk7/jdk/test/java/util/Collections/ |
H A D | EqualsTest.java | 46 assertTrue(test); 53 assertTrue(test); 58 assertTrue(test); 62 private static void assertTrue(boolean b) { method in class:EqualsTest
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftAudioSynthesizer/ |
H A D | GetFormat.java | 43 private static void assertTrue(boolean value) throws Exception method in class:GetFormat 46 throw new RuntimeException("assertTrue fails!"); 52 assertTrue(defformat != null); 54 assertTrue(synth.getFormat().toString().equals(defformat.toString())); 58 assertTrue(synth.getFormat().toString().equals(custformat.toString()));
|