Home
last modified time | relevance | path

Searched refs:getLineNumber (Results 1 – 25 of 32) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DLineNumberReaderTest.java40 assertEquals("Failed to create reader", 0, lnr.getLineNumber()); in test_ConstructorLjava_io_Reader()
48 assertEquals("Failed to create reader", 0, lnr.getLineNumber()); in test_ConstructorLjava_io_ReaderI()
57 .getLineNumber()); in test_getLineNumber()
63 + lnr.getLineNumber(), lnr.getLineNumber() == 2); in test_getLineNumber()
91 assertEquals("Read failed to inc lineNumber", 1, lnr.getLineNumber()); in test_read()
103 assertEquals("Read failed to inc lineNumber", 2, lnr.getLineNumber()); in test_read$CII()
111 assertEquals("Returned incorrect line number", 0, lnr.getLineNumber()); in test_readLine()
117 assertTrue("Returned incorrect line number :" + lnr.getLineNumber(), in test_readLine()
118 lnr.getLineNumber() == 2); in test_readLine()
137 assertEquals("Returned incorrect line number", 0, lnr.getLineNumber()); in test_reset()
[all …]
DLineNumberInputStreamTest.java58 .getLineNumber()); in test_getLineNumber()
64 lnis.getLineNumber()); in test_getLineNumber()
68 lnis.getLineNumber()); in test_getLineNumber()
78 assertEquals("Failed to mark", 0, lnis.getLineNumber()); in test_markI()
116 assertEquals("Failed to reset", 0, lnis.getLineNumber()); in test_reset()
137 assertEquals("Failed to set line number", 89, lnis.getLineNumber()); in test_setLineNumberI()
146 .getLineNumber()); in test_skipJ()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/
DSAXParseExceptionTest.java54 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_Locator_Exception()
65 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_Locator_Exception()
76 assertEquals(-1, e.getLineNumber()); in testSAXParseException_String_Locator_Exception()
87 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_Locator_Exception()
106 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_Locator()
117 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_Locator()
128 assertEquals(-1, e.getLineNumber()); in testSAXParseException_String_Locator()
144 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_String_String_int_int_Exception()
155 assertEquals(ROW, e.getLineNumber()); in testSAXParseException_String_String_String_int_int_Exception()
166 assertEquals(-1, e.getLineNumber()); in testSAXParseException_String_String_String_int_int_Exception()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldStackTraceElementTest.java55 ste1.getLineNumber()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
63 ste1.getLineNumber(), ste2.getLineNumber()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
70 ste2.getLineNumber()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
79 ste2.getLineNumber()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
88 ste2.getLineNumber()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
104 ste1.getLineNumber()); in test_equalsLjava_lang_Object()
143 26, e.getStackTrace()[0].getLineNumber()); in test_getLineNumber()
171 ste1.getLineNumber()); in test_hashCode()
/libcore/luni/src/test/java/libcore/java/io/
DOldLineNumberReaderTest.java63 1, lnr.getLineNumber()); in test_read()
84 2, lnr.getLineNumber()); in test_read$CII()
123 assertEquals("Returned incorrect line number", 0, lnr.getLineNumber()); in test_readLine()
128 assertTrue("Test 2: Returned incorrect line number:" + lnr.getLineNumber(), in test_readLine()
129 lnr.getLineNumber() == 2); in test_readLine()
143 0, lnr.getLineNumber()); in test_reset()
DOldLineNumberInputStreamTest.java115 assertEquals("Test 1: Failed to reset", 0, lnis.getLineNumber()); in test_reset()
141 42, lnis.getLineNumber()); in test_setLineNumberI()
146 89, lnis.getLineNumber()); in test_setLineNumberI()
154 2, lnis.getLineNumber()); in test_skipJ()
DOldAndroidLineNumberReaderTest.java42 assertEquals(0, a.getLineNumber()); in testLineNumberReader()
44 assertEquals(1, a.getLineNumber()); in testLineNumberReader()
46 assertEquals(5, a.getLineNumber()); in testLineNumberReader()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DLocatorImplTest.java39 assertEquals(0, l.getLineNumber()); in testLocatorImpl()
56 assertEquals(ROW, outer.getLineNumber()); in testLocatorImplLocator()
92 assertEquals(ROW, l.getLineNumber()); in testSetLineNumberGetLineNumber()
95 assertEquals(0, l.getLineNumber()); in testSetLineNumberGetLineNumber()
/libcore/luni/src/main/java/org/xml/sax/
DSAXParseException.java63 locator.getLineNumber(), locator.getColumnNumber()); in SAXParseException()
90 locator.getLineNumber(), locator.getColumnNumber()); in SAXParseException()
217 public int getLineNumber () in getLineNumber() method in SAXParseException
DLocator.java105 public abstract int getLineNumber (); in getLineNumber() method
/libcore/dom/src/test/java/org/w3c/domts/
DDOMLocatorImpl.java31 this.lineNumber = src.getLineNumber(); in DOMLocatorImpl()
43 public int getLineNumber() { in getLineNumber() method in DOMLocatorImpl
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParserException.java42 this.row = parser.getLineNumber(); in XmlPullParserException()
50 public int getLineNumber() { return row; } in getLineNumber() method in XmlPullParserException
DXmlPullParser.java661 int getLineNumber(); in getLineNumber() method
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/
DLocator2ImplTest.java44 assertEquals(0, l.getLineNumber()); in testLocatorImpl()
67 assertEquals(ROW, outer.getLineNumber()); in testLocatorImplLocator()
78 assertEquals(ROW, outer.getLineNumber()); in testLocatorImplLocator()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DLocatorImpl.java83 setLineNumber(locator.getLineNumber()); in LocatorImpl()
129 public int getLineNumber () in getLineNumber() method in LocatorImpl
/libcore/luni/src/main/java/javax/xml/transform/
DSourceLocator.java72 public int getLineNumber(); in getLineNumber() method
DTransformerException.java218 int line = locator.getLineNumber(); in getMessageAndLocation()
251 int line = locator.getLineNumber(); in getLocationAsString()
/libcore/luni/src/main/java/org/w3c/dom/
DDOMLocator.java26 public int getLineNumber(); in getLineNumber() method
/libcore/luni/src/test/java/libcore/xml/
DPullParserTest.java488 assertEquals("1,1", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns()
490 assertEquals("2,3", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns()
492 assertEquals("2,8", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns()
494 assertEquals("3,11", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns()
496 assertEquals("4,2", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns()
498 assertEquals("6,4", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns()
500 assertEquals("6,10", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns()
502 assertEquals("6,10", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns()
504 assertEquals("7,1", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns()
506 assertEquals("7,7", parser.getLineNumber() + "," + parser.getColumnNumber()); in testLinesAndColumns()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDOMErrorImpl.java25 public int getLineNumber() {
/libcore/ojluni/annotations/hiddenapi/java/lang/
DStackTraceElement.java45 public int getLineNumber() { in getLineNumber() method in StackTraceElement
/libcore/ojluni/src/main/java/java/util/logging/
DXMLFormatter.java211 if (frame.getLineNumber() >= 0) { in format()
213 sb.append(frame.getLineNumber()); in format()
/libcore/ojluni/src/main/java/java/io/
DLineNumberInputStream.java217 public int getLineNumber() { in getLineNumber() method in LineNumberInputStream
DLineNumberReader.java108 public int getLineNumber() { in getLineNumber() method in LineNumberReader
/libcore/ojluni/src/main/java/java/lang/
DStackTraceElement.java104 public int getLineNumber() { in getLineNumber() method in StackTraceElement

12