OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:hw1
(Results
1 - 2
of
2
) sorted by null
/libcore/luni/src/test/java/libcore/java/lang/
OldStringTest.java
27
String
hw1
= "HelloWorld";
field in class:OldStringTest
41
assertTrue("Incorrect character returned",
hw1
.charAt(5) == 'W'
42
&& (
hw1
.charAt(1) != 'Z'));
68
assertFalse("Doesn't return false value.",
hw1
.endsWith("ld "));
69
assertFalse("Doesn't return false value.",
hw1
.endsWith(" "));
70
assertTrue("Returned incorrect value for empty string.",
hw1
.endsWith(""));
72
hw1
.endsWith(null);
80
assertTrue("String not equal",
hw1
.equals(hw2) && !(
hw1
.equals(comp11)));
137
assertFalse("Returned true for negative offset.",
hw1
.regionMatches(-1
[
all
...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
String2Test.java
25
String
hw1
= "HelloWorld";
field in class:String2Test
58
assertTrue("Failed to create string", new String(
hw1
.getBytes())
59
.equals(
hw1
));
79
assertTrue("Failed to create string", new String(
hw1
.getBytes(), 0,
hw1
80
.getBytes().length).equals(
hw1
));
140
assertTrue("Incorrect string created",
hw1
.equals(s));
188
assertTrue("Incorrect character returned",
hw1
.charAt(5) == 'W'
189
&& (
hw1
.charAt(1) != 'Z'));
260
.concat(world1).equals(
hw1
));
[
all
...]
Completed in 230 milliseconds