• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

snowplow / snowplow-android-tracker / #1055

pending completion
#1055

push

github-actions

mscwilson
Merge branch 'release/5.0.0-beta.1' into next

214 of 214 new or added lines in 18 files covered. (100.0%)

3599 of 4680 relevant lines covered (76.9%)

0.77 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

54.55
/snowplow-tracker/src/main/java/com/snowplowanalytics/core/tracker/PluginsControllerImpl.kt
1
/*
2
 * Copyright (c) 2015-2023 Snowplow Analytics Ltd. All rights reserved.
3
 *
4
 * This program is licensed to you under the Apache License Version 2.0,
5
 * and you may not use this file except in compliance with the Apache License Version 2.0.
6
 * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
7
 *
8
 * Unless required by applicable law or agreed to in writing,
9
 * software distributed under the Apache License Version 2.0 is distributed on an
10
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
 * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
12
 */
13
package com.snowplowanalytics.core.tracker
14

15
import com.snowplowanalytics.core.Controller
16
import com.snowplowanalytics.snowplow.configuration.PluginConfigurationInterface
17
import com.snowplowanalytics.snowplow.controller.PluginsController
18

19
class PluginsControllerImpl
1✔
20
    (serviceProvider: ServiceProvider) : Controller(serviceProvider), PluginsController {
1✔
21

22
    override val identifiers: List<String>
23
        get() {
24
            return serviceProvider.pluginConfigurations.map { it.identifier }
×
25
        }
26

27
    override fun addPlugin(plugin: PluginConfigurationInterface) {
28
        serviceProvider.addPlugin(plugin)
1✔
29
    }
1✔
30

31
    override fun removePlugin(identifier: String) {
32
        serviceProvider.removePlugin(identifier)
1✔
33
    }
1✔
34
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc