Searched defs:ts (Results 1 - 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
H A DOldTreeSetTest.java31 TreeSet ts; field in class:OldTreeSetTest
74 ts.add(new Integer(-8));
75 assertTrue("Failed to add Object", ts.contains(new Integer(-8)));
76 ts.add(objArray[0]);
77 assertTrue("Added existing element", ts.size() == objArray.length + 1);
84 ts.add("Wrong element");
95 s.addAll(ts);
96 assertTrue("Incorrect size after add", s.size() == ts.size());
97 Iterator i = ts.iterator();
123 ts
[all...]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DCodeSignerTest.java41 private Timestamp ts = new Timestamp(now, cpath); field in class:CodeSignerTest
48 new CodeSigner(null, ts);
72 CodeSigner cs = new CodeSigner(cpath, ts);
84 CodeSigner one = new CodeSigner(cpath, ts);
85 CodeSigner two = new CodeSigner(cpath, ts);
116 assertSame(new CodeSigner(cpath, ts).getTimestamp(), ts);
124 assertTrue(new CodeSigner(cpath, ts).toString().contains(""));
127 assertTrue(new CodeSigner(cpath, ts).toString().contains(ts
[all...]
/libcore/ojluni/src/main/java/java/sql/
H A DTimestamp.java395 * @param ts the <code>Timestamp</code> value to compare with
400 public boolean equals(Timestamp ts) { argument
401 if (super.equals(ts)) {
402 if (nanos == ts.nanos) {
424 * @param ts the <code>Object</code> value to compare with
430 public boolean equals(java.lang.Object ts) { argument
431 if (ts instanceof Timestamp) {
432 return this.equals((Timestamp)ts);
442 * @param ts the <code>Timestamp</code> value to compare with
446 public boolean before(Timestamp ts) { argument
458 after(Timestamp ts) argument
475 compareTo(Timestamp ts) argument
[all...]
/libcore/ojluni/src/test/java/nio/file/attribute/
H A DFileTimeTest.java181 ts(1L, DAYS, "1970-01-02T00:00:00Z");
182 ts(1L, HOURS, "1970-01-01T01:00:00Z");
183 ts(1L, MINUTES, "1970-01-01T00:01:00Z");
184 ts(1L, SECONDS, "1970-01-01T00:00:01Z");
185 ts(1L, MILLISECONDS, "1970-01-01T00:00:00.001Z");
186 ts(1L, MICROSECONDS, "1970-01-01T00:00:00.000001Z");
187 ts(1L, NANOSECONDS, "1970-01-01T00:00:00.000000001Z");
188 ts(999999999L, NANOSECONDS, "1970-01-01T00:00:00.999999999Z");
189 ts(9999999999L, NANOSECONDS, "1970-01-01T00:00:09.999999999Z");
191 ts(
333 static void ts(long v, TimeUnit unit, String expected) { method in class:FileTimeTest
343 static void ts(Instant instant, String expected) { method in class:FileTimeTest
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DTreeSetTest.java46 TreeSet ts; field in class:TreeSetTest
114 ts.add(new Integer(-8));
115 assertTrue("Failed to add Object", ts.contains(new Integer(-8)));
116 ts.add(objArray[0]);
117 assertTrue("Added existing element", ts.size() == objArray.length + 1);
128 s.addAll(ts);
129 assertTrue("Incorrect size after add", s.size() == ts.size());
130 Iterator i = ts.iterator();
141 ts.clear();
142 assertEquals("Returned non-zero size after clear", 0, ts
[all...]
/libcore/ojluni/src/main/java/java/lang/invoke/
H A DMethodTypeForm.java362 static Class<?>[] canonicalizeAll(Class<?>[] ts, int how) { argument
364 for (int imax = ts.length, i = 0; i < imax; i++) {
365 Class<?> c = canonicalize(ts[i], how);
370 cs = ts.clone();
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...

Completed in 1659 milliseconds