You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: android-resource-collector/src/main/java/com/likethesalad/tools/resource/collector/android/data/AndroidXmlResDocument.kt
+18-20
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,6 @@ import org.w3c.dom.NodeList
8
8
importorg.xml.sax.InputSource
9
9
importjava.io.File
10
10
importjava.io.StringReader
11
-
importjavax.inject.Inject
12
-
importjavax.inject.Singleton
13
11
importjavax.xml.parsers.DocumentBuilderFactory
14
12
importjavax.xml.transform.OutputKeys
15
13
importjavax.xml.transform.TransformerFactory
@@ -20,6 +18,24 @@ class AndroidXmlResDocument(private val document: Document) {
Copy file name to clipboardexpand all lines: android-resource-collector/src/main/java/com/likethesalad/tools/resource/collector/android/data/resdir/ResDirFinder.kt
Copy file name to clipboardexpand all lines: android-resource-collector/src/main/java/com/likethesalad/tools/resource/collector/android/data/valuedir/ValueDirFinder.kt
Copy file name to clipboardexpand all lines: android-resource-collector/src/main/java/com/likethesalad/tools/resource/collector/android/data/xml/XmlFileFinder.kt
Copy file name to clipboardexpand all lines: android-resource-collector/src/main/java/com/likethesalad/tools/resource/collector/android/di/CollectorComponent.kt
Copy file name to clipboardexpand all lines: android-resource-collector/src/main/java/com/likethesalad/tools/resource/collector/android/di/CollectorModule.kt
Copy file name to clipboardexpand all lines: android-resource-collector/src/main/java/com/likethesalad/tools/resource/collector/android/source/AndroidXmlResourceSource.kt
Copy file name to clipboardexpand all lines: android-resource-collector/src/main/java/com/likethesalad/tools/resource/collector/android/source/providers/ResDirResourceSourceProvider.kt
Copy file name to clipboardexpand all lines: android-resource-collector/src/main/java/com/likethesalad/tools/resource/collector/android/source/providers/VariantTreeResourceSourceProvider.kt
Copy file name to clipboardexpand all lines: android-resource-collector/src/test/java/com/likethesalad/tools/resource/collector/android/data/resdir/ResDirFinderTest.kt
Copy file name to clipboardexpand all lines: android-resource-collector/src/test/java/com/likethesalad/tools/resource/collector/android/data/valuedir/ValueDirFinderTest.kt
Copy file name to clipboardexpand all lines: android-resource-collector/src/test/java/com/likethesalad/tools/resource/collector/android/data/xml/XmlFileFinderTest.kt
+1-3
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,6 @@ import java.io.File
11
11
12
12
classXmlFileFinderTest {
13
13
14
-
privateval xmlFileFinder =XmlFileFinder()
15
-
16
14
@Test
17
15
fun`Find xml files`() {
18
16
val files = findXmlFilesFromFolder(getResourceFile("res/values"))
@@ -41,6 +39,6 @@ class XmlFileFinderTest {
41
39
val resDir = mockk<ResDir>()
42
40
val valuesDir =ValueDir(resDir, folder, Language.Default)
0 commit comments