Searched refs:equals (Results 76 - 100 of 5404) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/io/Serializable/PutField/
H A DRead2.java44 if (!(foo.s1.equals("qwerty") && foo.s2.equals("asdfg"))) {
/openjdk7/jdk/test/java/io/Serializable/skipWriteObject/
H A DRead.java43 if (! (array[0].equals("before") && array[2].equals("after"))) {
/openjdk7/jdk/test/java/net/InetSocketAddress/
H A DB6469803.java36 if (!s.equals("192.168.1.1"))
40 if (!s.equals("localhost"))
/openjdk7/jdk/test/java/net/URL/
H A DTestRFC2732.java39 if (!u.toString().equals("http://[10:100::1234]:99/index") ||
40 !u.toExternalForm().equals("http://[10:100::1234]:99/index")) {
/openjdk7/jdk/test/java/net/URLClassLoader/sealing/
H A DCheckSealed.java36 if ("1".equals(argv[0])) {
39 } else if ("2".equals(argv[0])) {
/openjdk7/jdk/test/java/nio/ByteOrder/
H A DNativeOrder.java37 if (((arch.equals("i386") && (bo != ByteOrder.LITTLE_ENDIAN))) ||
38 ((arch.equals("sparc") && (bo != ByteOrder.BIG_ENDIAN)))) {
/openjdk7/langtools/test/tools/javac/BadOptimization/
H A DSwitch1.java43 if (ret.equals("Error"))
48 if (ret.equals("Error"))
/openjdk7/jdk/src/share/classes/sun/security/jgss/spi/
H A DGSSNameSpi.java53 public boolean equals(GSSNameSpi name) throws GSSException; method in interface:GSSNameSpi
58 * the same as in {@link #equals(GSSNameSpi) equals} except that
64 * @see #equals(GSSNameSpi)
66 public boolean equals(Object another); method in interface:GSSNameSpi
/openjdk7/jdk/test/javax/security/auth/PrivateCredentialPermission/
H A DCanonError.java37 // test regular equals and implies
42 if (!pcp1.equals(pcp2) || !pcp2.equals(pcp1))
47 // test equals/implies failure
50 if (pcp1.equals(pcp3) || pcp3.equals(pcp1))
60 if (pcp_4.equals(pcp__4) || pcp__4.equals(pcp_4))
68 if (!principals[0][1].equals("pcp 4"))
80 if (!principals[0][1].equals("pc
[all...]
/openjdk7/jdk/test/sun/security/krb5/
H A DConfigWithQuotations.java41 if (!config.getDefaultRealm().equals("MAC.LOCAL")) {
44 if (!config.getKDCList("MAC.LOCAL").equals("kdc.mac.local:88")) {
/openjdk7/jdk/test/sun/security/krb5/config/
H A DDNS.java33 if (!kdcs.equals("a.com.:88 b.com.:99") &&
34 !kdcs.equals("a.com. b.com.:99")) {
/openjdk7/jdk/make/tools/src/build/tools/generatebreakiteratordata/
H A DGenerateBreakIteratorData.java98 if (key.equals("CharacterData")) {
127 if (builder.equals("RuleBasedBreakIterator")) {
129 } else if (builder.equals("DictionaryBasedBreakIterator")) {
144 if (arg.equals("-o")) {
146 } else if (arg.equals("-spec")) {
148 } else if (arg.equals("-language")) {
150 } else if (arg.equals("-country")) {
152 } else if (arg.equals("-valiant")) {
167 if (language.equals("")) {
168 if (!country.equals("") || !valian
[all...]
/openjdk7/jdk/test/sun/nio/cs/
H A DTestSJIS0213.java86 if (!winStr.equals(new String(winStr.getBytes("MS932"), "MS932_0213")))
89 if (!(Arrays.equals(compStr.getBytes("MS932_0213"), compBytes)) ||
90 !compStr.equals(new String(compBytes, "MS932_0213")))
93 if (!(Arrays.equals(mixedStr.getBytes("MS932_0213"), mixedBytes)) ||
94 !mixedStr.equals(new String(mixedBytes, "MS932_0213")))
97 if (!sjisStr.equals(new String(sjisStr.getBytes("SJIS"), "SJIS_0213")))
100 if (!(Arrays.equals(compStr.getBytes("SJIS_0213"), compBytes)) ||
101 !compStr.equals(new String(compBytes, "SJIS_0213")))
104 if (!(Arrays.equals(mixedStr.getBytes("SJIS_0213"), mixedBytes)) ||
105 !mixedStr.equals(ne
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/util/
H A DUtil.java56 public static boolean equals(Locator lhs, Locator rhs) { method in class:Util
59 && equals(lhs.getSystemId(),rhs.getSystemId())
60 && equals(lhs.getPublicId(),rhs.getPublicId());
63 private static boolean equals(String lhs, String rhs) { method in class:Util
66 return lhs.equals(rhs);
/openjdk7/jdk/test/sun/util/resources/TimeZone/
H A DBug6317929.java52 if (!Coral_Harbour.getDisplayName(false, TimeZone.LONG, tzLocale).equals
59 if (!Coral_Harbour.getDisplayName(false, TimeZone.LONG, tzLocale).equals
66 if (!Coral_Harbour.getDisplayName(false, TimeZone.LONG, tzLocale).equals
73 if (!Coral_Harbour.getDisplayName(false, TimeZone.LONG, tzLocale).equals
80 if (!Coral_Harbour.getDisplayName(false, TimeZone.LONG, tzLocale).equals
87 if (!Coral_Harbour.getDisplayName(false, TimeZone.LONG, tzLocale).equals
94 if (!Coral_Harbour.getDisplayName(false, TimeZone.LONG, tzLocale).equals
101 if (!Coral_Harbour.getDisplayName(false, TimeZone.LONG, tzLocale).equals
108 if (!Coral_Harbour.getDisplayName(false, TimeZone.LONG, tzLocale).equals
115 if (!Coral_Harbour.getDisplayName(false, TimeZone.LONG, tzLocale).equals
[all...]
/openjdk7/jdk/test/java/security/BasicPermission/
H A DExitVMEquals.java49 // Test against equals spec
50 if (bp1.getName().equals(bp2.getName())) {
51 if (!bp1.equals(bp2)) {
52 sb.append("BP breaks equals spec\n");
55 if (!bp1.getName().equals(bp2.getName())) {
56 if (bp1.equals(bp2)) {
57 sb.append("BP breaks equals spec in another way\n");
61 // Tests against common knowledge: If equals, then hashCode should be same
62 if (bp1.equals(bp2)) {
/openjdk7/langtools/test/tools/javac/generics/
H A DT6869075.java42 equals(foo.x += "foo", start + "foo");
47 equals((foo.x += "foo"), (start + "foo"));
52 equals(((foo.x += "foo")), ((start + "foo")));
61 static void equals(String found, String req) { method in class:T6869075
62 if (!found.equals(req)) {
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DResourceBundleTest.java83 if (!bundle.getClass().getName().equals("TestResource_fr"))
88 if (!test1.equals("Time keeps on slipping..."))
92 if (!test1.equals("Four score and seven years ago..."))
98 else if (!test2[0].equals("'Twas brillig, and the slithy toves") ||
99 !test2[1].equals("Did gyre and gimble in the wabe.") ||
100 !test2[2].equals("All mimsy were the borogoves,") ||
101 !test2[3].equals("And the mome raths outgrabe."))
114 else if (!test2[0].equals("1") ||
115 !test2[1].equals("2") ||
116 !test2[2].equals("
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/
H A DConfiguration.java301 if (option.equals("-author") ||
302 option.equals("-docfilessubdirs") ||
303 option.equals("-keywords") ||
304 option.equals("-linksource") ||
305 option.equals("-nocomment") ||
306 option.equals("-nodeprecated") ||
307 option.equals("-nosince") ||
308 option.equals("-notimestamp") ||
309 option.equals("-quiet") ||
310 option.equals("
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFWritableStreamMetadata.java64 if (formatName.equals(nativeMetadataFormatName)) {
69 } else if (formatName.equals
95 if (!node.getNodeName().equals(nativeMetadataFormatName)) {
103 if (name.equals("Version")) {
106 } else if (name.equals("LogicalScreenDescriptor")) {
134 } else if (name.equals("GlobalColorTable")) {
171 .equals(IIOMetadataFormatImpl.standardMetadataFormatName)) {
180 if (name.equals("Chroma")) {
184 if (childName.equals("Palette")) {
189 } else if (childName.equals("BackgroundInde
[all...]
/openjdk7/jdk/test/javax/management/proxy/
H A DProxyObjectMethodsTest.java80 if (!simple0.equals(simple1) ||
81 simple0.equals(simple) ||
82 simple0.equals(simple3)) {
83 throw new RuntimeException("The method equals does not work correctly.");
91 if (!simple0.toString().equals(simple1.toString()) ||
92 simple.toString().equals(simple0.toString())) {
96 /* Sorry about this. This is the equals(String) method,
98 if (!simple0.equals("foo").equals("foo"))
99 throw new RuntimeException("The method equals(Strin
160 public String equals(String x); method in interface:ProxyObjectMethodsTest.SimpleMBean
164 public String equals(String x) { method in class:ProxyObjectMethodsTest.Simple
170 public boolean equals(Object o); method in interface:ProxyObjectMethodsTest.TestMBean
178 public boolean equals(Object o) { method in class:ProxyObjectMethodsTest.Test
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DScreenMenuPropertyListener.java48 if ("enabled".equals(propertyName)) {
53 if (AccessibleContext.ACCESSIBLE_STATE_PROPERTY.equals(propertyName)) {
65 if ("accelerator".equals(propertyName)) {
70 if (AbstractButton.TEXT_CHANGED_PROPERTY.equals(propertyName)) {
75 if (AbstractButton.ICON_CHANGED_PROPERTY.equals(propertyName)) {
80 if (JComponent.TOOL_TIP_TEXT_KEY.equals(propertyName)) {
85 if (AquaMenuItemUI.IndeterminateListener.CLIENT_PROPERTY_KEY.equals(propertyName)) {
/openjdk7/jdk/test/java/security/UnresolvedPermission/
H A DAccessorMethods.java64 if (!up.getUnresolvedType().equals("type") ||
65 !up.getUnresolvedName().equals("name") ||
66 !up.getUnresolvedActions().equals("actions")) {
77 if (certs[0].equals(signer1) || certs[1].equals(signer1)) {
80 if (certs[0].equals(signer2) || certs[1].equals(signer2)) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/
H A DidentityConstraint.java83 if($localName.equals("key"))
86 if($localName.equals("keyref"))
89 if($localName.equals("unique"))
101 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("field"))) {
112 if((($ai = $runtime.getAttributeIndex("","name"))>=0 && (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("selector"))))) {
156 if(($__uri.equals("htt
[all...]
/openjdk7/jdk/test/java/lang/
H A DToString.java40 if (!B.toString().equals(Boolean.toString(b)))
44 if (!B.toString().equals(Boolean.toString(b)))
51 if (!C.toString().equals(Character.toString(c)))
59 if (!Y.toString().equals(Byte.toString(y)))
67 if (!S.toString().equals(Short.toString(s)))
75 if (!I.toString().equals(Integer.toString(i)))
83 if (!L.toString().equals(Long.toString(l)))
91 if (!F.toString().equals(Float.toString(f)))
99 if (!D.toString().equals(Double.toString(d)))

Completed in 143 milliseconds

1234567891011>>