aboutsummaryrefslogtreecommitdiffstats
path: root/autofill-parser/src/test/kotlin/mozilla/components/lib/publicsuffixlist/PublicSuffixListLoaderTest.kt
blob: f4ff423f36a49889ee78f32df30815fddf5c238c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright © 2014-2024 The Android Password Store Authors. All Rights Reserved.
 * SPDX-License-Identifier: GPL-3.0-only
 */

package mozilla.components.lib.publicsuffixlist

import kotlin.test.Test

class PublicSuffixListLoaderTest {
  @Test
  fun testLoadingBundledPublicSuffixList() {
    requireNotNull(javaClass.classLoader) { "Null classloader????" }
      .getResourceAsStream("publicsuffixes")
      .buffered()
      .use { stream -> PublicSuffixListLoader.load(stream) }
  }
}