Searched defs:check (Results 26 - 50 of 496) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/sun/security/krb5/
H A DDnsFallback.java38 check("true", "true", true);
39 check("false", "true", false);
40 check("true", "false", true);
41 check("false", "false", false);
42 check("true", null, true);
43 check("false", null, false);
44 check(null, "true", true);
45 check(null, "false", false);
48 check(null, null, true);
51 static void check(Strin method in class:DnsFallback
[all...]
/openjdk7/jdk/test/sun/security/krb5/tools/
H A DKtabZero.java45 check(true);
50 check(false);
63 check(false);
67 static void check(boolean showBeMissing) throws Exception { method in class:KtabZero
/openjdk7/jdk/test/sun/security/pkcs11/MessageDigest/
H A DReinitDigest.java57 check(d1, d2);
59 check(d1, d3);
64 check(d1, d4);
68 private static void check(byte[] d1, byte[] d2) throws Exception { method in class:ReinitDigest
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/dir/
H A DAttrFilter.java40 public boolean check(Attributes targetAttrs) throws NamingException; method in interface:AttrFilter
/openjdk7/jdk/test/com/sun/jdi/
H A DListenAddress.java61 * Start listening with the specified Connector and check that the
65 private static void check(ListeningConnector connector, InetAddress addr) method in class:ListenAddress
88 // check wildcard address
89 check(connector, (InetAddress)null);
91 // iterate over all IPv4 addresses and check that binding to
105 check(connector, addr);
/openjdk7/jdk/test/java/io/File/
H A DGetParent.java34 static void check(String path, String[] parents) throws Exception { method in class:GetParent
55 check("foo", new String[] { });
56 check("./foo", new String[] { "." });
57 check("foo/bar/baz", new String[] { "foo/bar", "foo" });
58 check("../../foo", new String[] { "../..", ".." });
59 check("foo//bar", new String[] { "foo" });
60 check("/foo/bar/baz.gorp",
66 check("foo", new String[] { });
67 check(".\\foo", new String[] { "." });
68 check("fo
[all...]
/openjdk7/jdk/test/java/io/PrintWriter/
H A DOpsAfterClose.java27 * @summary Test if PrintWriter methods check if the stream
35 WRITE_BUF { boolean check(PrintWriter w) {
41 WRITE_BUF_OFF { boolean check(PrintWriter w) {
47 WRITE_INT { boolean check(PrintWriter w) {
51 WRITE_STR { boolean check(PrintWriter w) {
56 WRITE_STR_OFF { boolean check(PrintWriter w) {
62 abstract boolean check(PrintWriter w); method in class:OpsAfterClose
77 result = op.check(pw);
/openjdk7/jdk/test/java/lang/Byte/
H A DDecode.java48 private static void check(String val, byte expected) { method in class:Decode
63 check(new String(""+Byte.MIN_VALUE), Byte.MIN_VALUE);
64 check(new String(""+Byte.MAX_VALUE), Byte.MAX_VALUE);
66 check("10", (byte)10);
67 check("0x10", (byte)16);
68 check("0X10", (byte)16);
69 check("010", (byte)8);
70 check("#10", (byte)16);
72 check("+10", (byte)10);
73 check("
[all...]
/openjdk7/jdk/test/java/lang/Integer/
H A DDecode.java47 private static void check(String val, int expected) { method in class:Decode
62 check(new String(""+Integer.MIN_VALUE), Integer.MIN_VALUE);
63 check(new String(""+Integer.MAX_VALUE), Integer.MAX_VALUE);
65 check("10", 10);
66 check("0x10", 16);
67 check("0X10", 16);
68 check("010", 8);
69 check("#10", 16);
71 check("+10", 10);
72 check("
[all...]
/openjdk7/jdk/test/java/lang/Long/
H A DDecode.java49 private static void check(String val, long expected) { method in class:Decode
64 check(new String(""+Long.MIN_VALUE), Long.MIN_VALUE);
65 check(new String(""+Long.MAX_VALUE), Long.MAX_VALUE);
67 check("10", 10L);
68 check("0x10", 16L);
69 check("0X10", 16L);
70 check("010", 8L);
71 check("#10", 16L);
73 check("+10", 10L);
74 check("
[all...]
/openjdk7/jdk/test/java/lang/Short/
H A DDecode.java48 private static void check(String ashort, short expected) { method in class:Decode
63 check(new String(""+Short.MIN_VALUE), Short.MIN_VALUE);
64 check(new String(""+Short.MAX_VALUE), Short.MAX_VALUE);
66 check("10", (short)10);
67 check("0x10", (short)16);
68 check("0X10", (short)16);
69 check("010", (short)8);
70 check("#10", (short)16);
72 check("+10", (short)10);
73 check("
[all...]
/openjdk7/jdk/test/java/lang/management/BufferPoolMXBean/
H A DBasic.java49 // check counters
50 static void check(List<BufferPoolMXBean> pools, method in class:Basic
95 check(pools, bufferCount, totalCapacity);
107 check(pools, bufferCount, totalCapacity);
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DClose.java42 static void check(SelectionKey sk) throws IOException { method in class:Close
54 check(sk);
61 check(sk);
H A DUnboundSocketTests.java36 static void check(String msg, Object actual, Object expected) { method in class:UnboundSocketTests
61 check("getLocalPort()", sc.socket().getLocalPort(), -1);
64 check("getLocalSocketAddress()", sc.socket().getLocalSocketAddress(), null);
66 check("getPort()", sc.socket().getPort(), 0);
67 check("getInetAddress()", sc.socket().getInetAddress(), null);
68 check("getRemoteSocketAddress()", sc.socket().getRemoteSocketAddress(), null);
77 check("getLocalPort()", ssc.socket().getLocalPort(), -1);
78 check("getInetAddress()", ssc.socket().getInetAddress(), null);
79 check("getLocalSocketAddress()", ssc.socket().getLocalSocketAddress(), null);
89 check("getLocalPor
[all...]
/openjdk7/jdk/test/java/nio/channels/etc/
H A DShadow.java59 private static void check(Socket s) { method in class:Shadow
130 check(socket);
135 check(acceptedSocket);
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DStateTestService.java51 static void check(boolean okay) { method in class:StateTestService
86 check( sc.isBlocking() );
87 check( sc.socket().isBound() );
88 check( sc.socket().isConnected() );
93 check( ssc.isBlocking() );
94 check( ssc.socket().isBound() );
99 check( dc.isBlocking() );
100 check( dc.socket().isBound() );
/openjdk7/jdk/test/java/nio/file/FileSystem/
H A DBasic.java39 static void check(boolean okay, String msg) { method in class:Basic
46 check(fs.supportedFileAttributeViews().contains(view),
59 check(fs.isOpen(), "should be open");
61 check(!fs.isReadOnly(), "should provide read-write access");
63 check(fs.provider().getScheme().equals("file"),
66 // santity check method - need to re-visit this in future as I/O errors
72 // sanity check supportedFileAttributeViews
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/
H A DSkipSiblings.java38 // check if this path's directory has been skipped
39 static void check(Path path) { method in class:SkipSiblings
60 check(dir);
67 check(file);
76 check(dir);
/openjdk7/jdk/test/java/rmi/RemoteException/chaining/
H A DChaining.java35 static void check(Throwable t, String msg, Throwable cause) method in class:Chaining
58 check(t, msg, cause);
61 check(pair[0], msg, pair[1]);
/openjdk7/jdk/test/sun/security/tools/keytool/
H A DCloseFile.java63 static void remove(String filename, boolean check) { argument
65 if (check && new File(filename).exists()) {
/openjdk7/jdk/test/sun/security/util/HostnameMatcher/
H A DTestHostnameChecker.java195 check(checker, "foo1.com", cert1, true);
196 check(checker, "foo2.com", cert1, false);
197 check(checker, "1.2.3.4", cert2, false);
198 check(checker, "foo1.com", cert3, false);
199 check(checker, "foo2.com", cert3, false);
200 check(checker, "altfoo1.com", cert3, true);
201 check(checker, "altfoo2.com", cert3, true);
202 check(checker, "5.6.7.8", cert3, true);
203 check(checker, "foo.bar.com", cert4, true);
204 check(checke
222 private static void check(HostnameChecker checker, String name, method in class:TestHostnameChecker
[all...]
/openjdk7/langtools/test/tools/javac/6402516/
H A DCheckIsAccessible.java45 chk.check("TestIsAccessible.java", "A.java");
49 protected boolean check(Scope s, String ref) { method in class:CheckIsAccessible
/openjdk7/jdk/test/java/security/Provider/
H A DTurkish.java55 check(s1, null);
56 check(s1, p1.getService("Signature", "md5withrsa"));
57 check(s1, p1.getService("Signature", "MD5WITHRSA"));
58 check(s1, p1.getService("Signature", "MD5RSA"));
59 check(s1, p1.getService("Signature", "md5rsa"));
60 check(s1, p1.getService("Signature", "MD5rsa"));
63 check(s1, null);
64 check(s1, p1.getService("Signature", "shawithrsa"));
65 check(s1, p1.getService("Signature", "SHAWITHRSA"));
66 check(s
98 private static void check(Service s1, Service s2) throws Exception { method in class:Turkish
[all...]
/openjdk7/jdk/test/java/security/SecureRandom/
H A DGetAlgorithm.java48 check("SHA1PRNG", sr);
58 check("unknown", sr);
64 check("unknown", sr);
70 check("SHA1PRNG", sr);
75 private static void check(String s1, SecureRandom sr) throws Exception { method in class:GetAlgorithm
/openjdk7/jdk/test/java/util/Currency/
H A DCheckDataVersion.java41 static void check() { method in class:CheckDataVersion

Completed in 154 milliseconds

1234567891011>>