Searched refs:assertTrue (Results 1 - 25 of 158) sorted by relevance

1234567

/openjdk7/jdk/test/java/io/File/
H A DSymLinks.java67 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 DMisc.java62 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 DT7160084a.java33 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 DT7160084b.java33 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 DGetPropertyInfo.java44 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 DGetChannels.java46 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 DTransformConcave.java59 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 DTransformConvex.java59 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 DTransformSwitch.java33 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 DTransformLinear.java59 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 DTestGetSoundbankFile.java38 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 DTestGetSoundbankInputStream.java40 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 DTestGetSoundbankUrl.java39 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 DTestGetSoundbankFile.java38 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 DTestGetSoundbankInputStream.java40 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 DTestGetSoundbankUrl.java39 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 DGetDevice.java45 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 DMisc.java66 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 DSend_NoteOn_Multiple.java42 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 DSend_NoteOn_Delayed.java42 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 Dbug6938813.java58 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 DBasic.java49 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 DClear.java42 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 DEqualsTest.java46 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 DGetFormat.java43 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()));

Completed in 2638 milliseconds

1234567